progress

Jun. 26th, 2024 11:14 am
notsonormal: (Default)
[personal profile] notsonormal

random game



I've finally figured out how to make animations work in SDL(kinda). I did it by activating a specific src x and y every time a specific button is pressed. It works fine, but because it only activates a specific animation on a specific button when pressed, I don't know how to make it revert back to the idle animation. I jump and it's stuck on the jump sprite unless a different key is pressed. Weird. I tried doing a if touched ground, src.x = 0 and src.y 0 (meaning it goes back to idle) it worked, but now the left and right animations doesn't even work. This is frying my brain honestly. I'll get back to that, I'll add a goal to the game first. (currently it's just a flat platform with an enemy that is impossible to get away from lol).

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

notsonormal: (Default)
tan

March 2025

S M T W T F S
      1
2 345678
9101112131415
16171819202122
23242526272829
3031     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 9th, 2025 01:42 pm
Powered by Dreamwidth Studios