#Car Sprite
21 messages · Page 1 of 1 (latest)
(it would be slightly neater code-wise if you made the car rotate counter clockwise, essentially import the sprite will all the frames backwards, so we don't have to adjust anything via code)
but essentially you're doing something like
image_index = round(frame_number * (1 - direction/360))
with the current frame setup
image_speed = 0
don't touch image_angle
can you fix it in project and show me how this done
no i can't. it's a hassle to open yyz.
this is the idea of the code you need. if you want specific code help, post the relevant code either as screenshots or text
but i'm not gonna do it for you
right so
image_angle = 0
create event: image_speed = 0
and then
image_index = round(frame_number * (1 - steer_direction/360))
frame_number is however many frames, i think i saw 48?
ok and that goes in step
should i put this in create event frame_number =0 ?
Frame number is not 0 its 48
You can replace it with 48 in here too if you want