Hypersonic645 Posted September 9, 2009 Report Share Posted September 9, 2009 Hey everyone, I'm trying implement the Boost effect from Sonic Rush to the Unleashed Sonic Revival Engine(< dats GM7 people).Anyway, it was successful, the bad part was that whenever I go on a loop it just stays the same(I mean the Boost sprite is facing right and when I go on a loop the sprite stays right). Mind if anyone can help me on this? Note:Boost effect are objects(sprite_draw didn't help me), and they have events(alarms,variables,other shit that you can think of in GM). Link to comment Share on other sites More sharing options...
Password Posted September 9, 2009 Report Share Posted September 9, 2009 Not an experienced gml coder but you need to make the boost face sonic's direction and his angle. That'd be my guess. It's likely that ProjectShadowBlaze or Damizean or some other god at gml will save this topic Link to comment Share on other sites More sharing options...
Hypersonic645 Posted September 9, 2009 Author Report Share Posted September 9, 2009 I think you mean this code: sprite_angle=point_direction(x,y,objSonic,objSonic) I think that's how it goes lol instead it will just go to the other way. Link to comment Share on other sites More sharing options...
Realm0D Posted September 9, 2009 Report Share Posted September 9, 2009 Yeah, You could advance it up and make it like sonic rush This is were the dash sprite itself rotates depending on your gravity. Lets say your Xspeed and Yspeed. Link to comment Share on other sites More sharing options...
Hypersonic645 Posted September 9, 2009 Author Report Share Posted September 9, 2009 Are you saying that I should replace objSonic,objSonic to point_direction(x,y,xspeed,yspeed) lol i can't see your picture(or codebox shit) my schools' computers fail, badly you can't even do shit on it except this(there also pussies about viruses lol like anyone is going to download anything XD) Link to comment Share on other sites More sharing options...
Realm0D Posted September 9, 2009 Report Share Posted September 9, 2009 Don't you have a normal PC? Link to comment Share on other sites More sharing options...
Hypersonic645 Posted September 10, 2009 Author Report Share Posted September 10, 2009 I said I was using my school's computers, now I'm not. EDIT:I have a normal PC Link to comment Share on other sites More sharing options...
Sponick Posted September 10, 2009 Report Share Posted September 10, 2009 Just put in end step event of boost object "image_angle=objSonic.angle" 1 Link to comment Share on other sites More sharing options...
Hypersonic645 Posted September 10, 2009 Author Report Share Posted September 10, 2009 Just put in end step event of boost object "image_angle=objSonic.angle" (types on teh $00pah gay school computers) Yeah thanks I was looking that angle variable, here's the crappy code I used image_angle=point_direction(x,y,objSonic.x_speed,objSonic.y_speed) I'll try this out once I get home. (gawd i hope this is the last edit):It works thanks Sponick...REP UPZ!!! Link to comment Share on other sites More sharing options...
Silvershadic Posted December 2, 2009 Report Share Posted December 2, 2009 Hey, I'd like to know how you added the boost effect.>_> It confuses me. Link to comment Share on other sites More sharing options...
marvinvalentin Posted March 22, 2011 Report Share Posted March 22, 2011 (types on teh $00pah gay school computers) Yeah thanks I was looking that angle variable, here's the crappy code I used image_angle=point_directi on(x,y,objSonic.x_speed,o bjSonic.y_speed) I'll try this out once I get home. and image_angle=objSonic.ang le i put this in my game but it not go left Link to comment Share on other sites More sharing options...
luksamuk Posted March 22, 2011 Report Share Posted March 22, 2011 (types on teh $00pah gay school computers)Yeah thanks I was looking that angle variable, here's the crappy code I used image_angle=point_directi on(x,y,objSonic.x_speed,o bjSonic.y_speed) I'll try this out once I get home. and image_angle=objSonic.ang le i put this in my game but it not go left I see you're new here. Well you shall not bump old topics unless you have something useful to show, bro. Link to comment Share on other sites More sharing options...
Recommended Posts