Help with attack script (GM: Studio 1) - Printable Version +- The VG Resource (https://www.vg-resource.com) +-- Forum: Creativity (https://www.vg-resource.com/forum-126.html) +--- Forum: Game Development (https://www.vg-resource.com/forum-129.html) +--- Thread: Help with attack script (GM: Studio 1) (/thread-35837.html) |
Help with attack script (GM: Studio 1) - MagicFool64 - 07-23-2019 I'm making an Action Platform Game (but I 'm working to other projects too), and I'm using Game Maker: Studio 1. I'm trying to make my character can attack both when is walking/standing and/or when is jumping/fall. The stand attack animation works well, it's animated, but the jumping attack isn't animated (despite I've add frames). Here is the script: Code: if(place_meeting(x,y+1,obj_wall)){ This is what happens when my character attacks when jumping/falling: https://imgur.com/a/l6QR2RN (I did't make the sprites, they are from Castlevania. I use sprite from other games for my prototypes, but then I make my original sprites). As you can see, spr_attack_jump isn't animated, just spr_attack (the standing/walking attack animation). What I did wrong? Do you know how to fix it? |