Activity
Mon
Wed
Fri
Sun
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
What is this?
Less
More

Memberships

SpaceCat's Game Dev Heroes!

258 members • Free

1 contribution to SpaceCat's Game Dev Heroes!
having trouble with sprite animation
I'm having trouble with making my sprite be in standing frame when a running button is not pressed, I keep making the character stop in mid running sprite
0 likes • Nov 1
this is code I made function _init() sprite=1 stimer=0 ani_speed=5 standing_frame=1 first_frame=2 last_frame=5 end function _update() if btn(➡️) then if stimer<ani_speed then stimer+=1 else if sprite<last_frame then sprite+=1 else sprite=first_frame else if sprite=standing_frame end stimer=0 end end end function _draw() cls() spr(sprite,63,63) end
1-1 of 1
Anas Mustafa
1
5points to level up
@anas-mustafa-1060
I'm 18 years old and trying to find and experiment with game engines

Active 35d ago
Joined Oct 29, 2025