this is our game in the making and we know its got shity stuff help give us some tips and all itll get better aoh there is a problem with the parallax scrolling need fixing note any otjher problems thanks...
in your gravity 2 event you need to take out the every.12. and it seems you have way more events than you need.
i don't understand your events that well because i do things differently but make him jump slower without using 'every'
Yes, the " every " event is working over the complete time when the frame is playing , starting to count at start of frame .
Letīs say you have an event with every 2 seconds . Like : every 2 seconds + animation is playing --> do something. Then it could happen that you start this event when only 1 second is left until the next "every" becomes true . And so your "do something" action for the every 2 seconds + animation is playing condition starts to work after one second instead of the needed two . Or in the worst case even one loop instead of 100 loops to fulfill the 2 seconds .
Better way is to use an alterable value for counting such things . The mainloop of MMF cycles with 50 loops per second . So set the alt val to 1 when your action starts , increase the alt val with an always event when it is gerater zero. And when your needed time is reached (in your case i would say six : 12/100 seconds versus mainloop MMF of fifty ) , set alt val back to zero, and do your needed action .
Basically, never use timer based events in platform engines, because you'll get everything wrong, like jumping heights and how far your player will sink into the ground
n/a
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
31st October, 2004 at 17:53:38 -
Phizzy - An engine you created won't let the players sink into the ground?