PeanutGuy Posted March 16, 2008 Report Share Posted March 16, 2008 I am having trouble when I want to change the position of Sonic at the start of the stage. Well, I am planning to add checkpoints into it but for some reason, I can't position player with a "start of frame" command. in fact, I try to change it to "when time=00.05" and i still cant move him. I tried to move "Player" and then "Sonic" but i still cant work it. Anyone help? Link to comment Share on other sites More sharing options...
Forever Posted March 16, 2008 Report Share Posted March 16, 2008 I suffered this type of problem a couple of months ago, it was frustrating because the community wanted me to add checkpoints because it had deathpit problems. I'm sure you can Solve this problem with a little Sin And Cos Values or reposition the active that positions the player in the first place? Apart from that i'm not really sure. Link to comment Share on other sites More sharing options...
PeanutGuy Posted March 16, 2008 Author Report Share Posted March 16, 2008 Where can I learn about Sin and Cos? I haven't learnt anything about that in school yet, and its a pain because I have seen some awesome outcomes using that, like the bridge in Sonic Worlds. Link to comment Share on other sites More sharing options...
Forever Posted March 16, 2008 Report Share Posted March 16, 2008 Ask Damizean. I only know MINOR parts of Sin and Cos, probably because I have a calculator that has Sin, Cos, Hyp and Tan on it. Link to comment Share on other sites More sharing options...
Damizean Posted March 16, 2008 Report Share Posted March 16, 2008 PeanutGuy, like any structured programming language, the order of the events IS important as they're performed in the secuence you make them. Make sure the start point object reposition is done before any other event in the engine. Link to comment Share on other sites More sharing options...
Israel Posted March 16, 2008 Report Share Posted March 16, 2008 I tried that and got some weird affects from that, started messing the counters up. They where changing from 3 to 1 to 200 to 352 all over the place. Link to comment Share on other sites More sharing options...
DimensionWarped Posted March 16, 2008 Report Share Posted March 16, 2008 Sin and cosine are generally used to find the unit vector multipliers for any given force or velocity based on angle. You put in a number between 0 and 360 degrees. Sin will give you the vertical component. Cosine will give you the horizontal component. It really isn't as complicated as you'd think. Link to comment Share on other sites More sharing options...
PeanutGuy Posted March 16, 2008 Author Report Share Posted March 16, 2008 Sin and cosine are generally used to find the unit vector multipliers for any given force or velocity based on angle. You put in a number between 0 and 360 degrees. Sin will give you the vertical component. Cosine will give you the horizontal component. It really isn't as complicated as you'd think. It sounds tricky...Any tutorials on how to learn it anywhere? @Damizean: I tried that, but it still didnt work. I will explain in more detail. Basically, I have a group that I called Checkpoint, and a Global Value name called Checkpoint. I created 2 objects, 1 is hidden (it goes where sonic should start) and the checkpoint. I put player ball in some random location so I can see if he does get positioned at the start box (but he dosen't) I put the events: If Checkpoint=0 Start of frame Position object "Player" at 0,0 Startbox If Checkpoint=1 Start of frame Change animation sequence "checkpoint" Walking Position object "Player" at 0,0 checkpoint If player collision with checkpoint [NEGATE] Animation Checkpoint WALKING is playing Set global value Checkpoint 1 Play sample MobDie Change animation sequence "checkpoint" Walking I play, and die, but dont appear at startbox I play, touch checkpoint and die, but dont appear at checkpoint. I just appear where Player was position in the frame editor. I tried to move all the checkpoint events to the top, but nothing different... I can touch the checkpoint and it plays a sound and the animation changes, but it wont position at the start of the level. Please help! Link to comment Share on other sites More sharing options...
Forever Posted March 16, 2008 Report Share Posted March 16, 2008 Doesn't Sonic Worlds Have *Sin and *Cos in it for 360 Movement for the Sensors? Link to comment Share on other sites More sharing options...
SAndman Posted March 16, 2008 Report Share Posted March 16, 2008 Porn Link to comment Share on other sites More sharing options...
Sockman Posted March 17, 2008 Report Share Posted March 17, 2008 -Start Of Level -Checkpoint* > 0 --Set FloatX to CheckpointX* --Set FloatY to CheckpointY* *Global Values Link to comment Share on other sites More sharing options...
DimensionWarped Posted March 24, 2008 Report Share Posted March 24, 2008 Don't waste your effort trying to set positions in Sonic Worlds. We use alteravble variables to control eeeeeverything. Link to comment Share on other sites More sharing options...
Streak Thunderstorm Posted March 30, 2008 Report Share Posted March 30, 2008 Move the ARROW thing where Sonic usually starts to where you want him to. Link to comment Share on other sites More sharing options...
Serephim Posted March 30, 2008 Report Share Posted March 30, 2008 why is everyone in this topic banned Link to comment Share on other sites More sharing options...
DimensionWarped Posted March 30, 2008 Report Share Posted March 30, 2008 Because everyone in this topic is Blazefire, yes, even you, even me, even Streak and Dami. Link to comment Share on other sites More sharing options...
TRD Posted March 30, 2008 Report Share Posted March 30, 2008 NO WHORES, I'M TEH REAL BLAZEFIYAH! caps But since we're on the subject, why are people still replying to a banned members topic? (That turned out to be "it"?) Link to comment Share on other sites More sharing options...
DimensionWarped Posted March 30, 2008 Report Share Posted March 30, 2008 Blame Steak. Link to comment Share on other sites More sharing options...
Recommended Posts