Here's the .gm6 downoad link:
http://upload2.net/p..._trial.gm6.html
1) SOLVED: how do I keep the karts stationary? I have it set up as such: [EDIT: updated codes]
Right Key--Accelerate, Keyboard event
if hspeed<20 hspeed+=.5Left Key--Brake, Keyboard event
if hspeed>0 hspeed-=1 else if hspeed=0 speed=0No Key--slow down, Keyboard event
if hspeed>0 speed-=.5
this was solved by using this in the no key code:
if hspeed>0
speed-=.5
if self.hspeed<0{hspeed=0}2) How would I make it so that a track (room) can be looped? This is a side-scrolling track but I want to give the impression of being cirular, so I want the cars to, once they've crossed the finish line, jump back to the start and continue. (this'd make it easier to drop mines and bombs and stuff, a request from my friends)
Also where can I find a good tutorial on having the karts follow slopes/slowdown-speed up on slopes/rotate when going up-down slopes/shoot off a slope when going fast? for the life of me I cannot find a tutorial (would help if my browser would load some of the pages
I will most likely have more problems later on so I'll just edit this thread when issues arise. If it gets really underway I might ask it to be moved to WIP, I don't know. Right now I've just finished the main racing sprites so it's not fully underway.
EDIT: okay new problem (other than that i hate the three-day bumping limit):
I've tried to implement rotation for when the kart falls to a lower level of the track, but no matter what I do, the cart always flips vertically and gets stuck in the ground. All I'm doing is in the step event:
if vspeed>0 image_rotate=directionthat's all for now cuz all I'm doing is driving it over a small ledge to the track below. Where can I find a tutorial for slopes/rotations and stuff?
Edited by iceflame1019, 22 September 2007 - 05:52 PM.











