Hello there I'm just starting with GML so there are many things I don't know, but I suppose it should not be so hard if I already can make many things with DnD
This is are the things I want to know:
.How do reffer to the "key A"? I know that for left or right you use vk_left or right, but if I say vk_a it doesn't work
.Jumping animation with many frames, let's say I have an animation with 9 frames, how do I say "If vspeed is equal than 7 go to image_index 0 with image_speed 0" "If vspeed is equal than 6 go to image_index 1 with image_speed 0" and so on until I have every frame
.Turning animation before flipping the sprite. I have a problem with this one in DnD, when I flip the sprite it doesn't align the way I want, so I manually move it 9 pixels right or left every time it turns, and I feel that could mess up the collision detecting
.Landing animation where you can't move, I think I should make an universal Can't move variable and trigger it during the animation
.Starting to walk animation instead of just playing walk animation
.Not being able to flip the sprite in the air when jumping
If you want to see my code please go to Shaun Spalding platformer tutorial video part 2
Thanks you for your time, and please help
This is are the things I want to know:
.How do reffer to the "key A"? I know that for left or right you use vk_left or right, but if I say vk_a it doesn't work
.Jumping animation with many frames, let's say I have an animation with 9 frames, how do I say "If vspeed is equal than 7 go to image_index 0 with image_speed 0" "If vspeed is equal than 6 go to image_index 1 with image_speed 0" and so on until I have every frame
.Turning animation before flipping the sprite. I have a problem with this one in DnD, when I flip the sprite it doesn't align the way I want, so I manually move it 9 pixels right or left every time it turns, and I feel that could mess up the collision detecting
.Landing animation where you can't move, I think I should make an universal Can't move variable and trigger it during the animation
.Starting to walk animation instead of just playing walk animation
.Not being able to flip the sprite in the air when jumping
If you want to see my code please go to Shaun Spalding platformer tutorial video part 2
Thanks you for your time, and please help