animation

  1. H

    My player looks really thin when i move

    like the title says, my player looks normal when i start up the game. But when i move the player animation looks really thin. How do i fix this?
  2. GMWolf

    GML Keyframed Animations in GMS2 - GMWolf

    GM Version: GameMaker:Studio 2.1.3 Target Platform: ALL Download: N/A Links: Youtube Video Summary: Keyframes Are a great way to define animations, ranging from camera movements to GUI. However GMS2 does not provide an out of the box system to define them. In this tutorial, I present a way to...
  3. M

    My player sprite doesn't walk

    I am working on a new project recently I have made a sprite and I animated it, but when I typed in some coding and run it, it doesn't walk (play the animation and move) I don't know how I can fix this can somebody help me?
  4. T

    Animation attack don't finish

    Hi guys! I'm new here. I'm making a game like "zelda" and I have a problem with the animation of the enemy when attack. The problem is the animation don't finish (the animation have 6 frames and compiled only make 2 or 3frames) =================THIS IS THE CODE ========================= if...
  5. Sarena

    GMS 2 [SOLVED] How to animate a weapon when attacking?

    I managed to get my sword weapon to work correctly in regards to function, but whenever I attack, it only shows the first frame of my animation instead of playing through all 8 frames. Here is the code I have in regards to the sword in my objPlayer's Step Event: // Sword Attack // If...
  6. Z

    Select frames from an animation?

    Is there a way to select frames from an animation and only play those? For example, I have 3 animations in 1 sprite, 8 different frames (cause the free game maker version only allows 20 sprites) and I only want to play frame 3 to 6. Thanks in advance!
  7. A

    Legacy GM pause animation

    trying to make an animation that stops for a while when it finishes, I thought I made it but when the player is attacking, when it switches the sprite back to idle it doesn't stop anymore, this sometimes also happens when the player is walking, the idle animation doesn't stop anymore // idle...
  8. K

    GML Random choice between sprites when preforming an action

    I'm trying to make my game choose between several options of sprites to show when I make my character jump. So for example I have three sprite animations of my character jumping. Each jump is different. I would like to make it so that when I press the 'jump button' the game randomly chooses to...
  9. K

    GML Need Help with editing Walking Sprite animation with Code

    I am trying to make a walking animation where my character uses 4 different sprites per direction, but when I try to edit Image Speed it only applies to one sprite! I need help, as soon as my character is moving it should play the animation and when it stops moving show the first frame facing...
  10. A

    Windows sprite_index not working properly

    So i just bought gms2 and started a new project. as i started inserting animations i noticed something. Unlike in gm1 if i set sprite_index = 0 it just locks on set index now here is my draw event: draw_self(); show_debug_message("image_index = "+ string(image_index)); if hsp_ == 0 { if...
  11. Shadowblitz16

    Windows (Solved) multiple tile libraries of the same tile?

    is it possible to have multiple tile libraries of the same tile? like have static and animated versions? if not can this be added as a feature? I really don't see why this is not a thing. I created 128 tile libraries for my 8x8 tileset but now they don't animate because I set my static tiles to...
  12. T

    Logistics of visuals for player weapons and armor?

    I was thinking of making a little rpg. One of the things I want to do is have a weapon and armor system. What are some ways to approach this? Can I draw sprites over the player for armor and have the weapon be a game object fixed to the player? My characters are rather simple in design so I...
  13. B

    image_index Out of Sync

    What would be the best way to sync the image_index of the same objects that have been recently activated. I had to deactivate instances a certain radius away due to lag problems but this results in objects having animation out of sync. Thank you!
  14. S

    [Solved] Sprites walking animation and movement synchronisation

    Hi! So I have a walking animation in game maker that runs at 6 frames per second. My game runs at 60 frames per second. What I would like is if the character only moved forward every 10 frames (when the next frame appears). Is there a way to get an event of some sort when the object displays...
  15. JacktheBlindRabbit

    Graphics Opinions on 2D character animation

    Hello everyone :) I'm new to the GameMaker community and I always wanted to make my very own game, so I bought GM2 one month ago and I'm slowly learning while making a 2D horizontal scrolling game. My main inspiration gameplay wise is Abe's Odyssey, so the game will be oriented Action/Puzzle...
  16. M

    GMS 2 Player Teleporting when switching direction

    I'm new to gamemaker 2, using it for class. I'm following Shaun Spalding's platformer tutorial and I'm pretty sure the code matches his: ///Create Event hsp = 0; vsp = 0; grv = 0.5; walksp = 5; ///Step Event: //GET PLAYER INPUT key_left = keyboard_check(ord("A")); key_right =...
  17. I

    GML Can´t Get This Animation Change To Work. Please Help!

    I am trying to make a walk looking up / idle looking up / idle looking down / walk looking down animation change. Basically rpg movement animations. But the code only works when I only have added Walk up and Idle up animations. Please take a look at the code and see if you can help...
  18. C

    Cannot Move After Attack Animation

    Hello! Yet another cry for help from yours truly. I have an attack state set up for my platformer character. When I press the attack button, my player object switches from (state = script_move_state) to (state = script_attack_state) which basically just has the attack animations in it. For...
  19. T

    How do I change sprite animation for running and when I'm idle?

    Hi, I'm fairly new to game maker and gml itself been learning for about 4 days and so I'm working on a side scroller ( like mario or sonic) and I looked through the manual and things the only thing I can gather from it is something about sprite_index I'm not sure if that's what I use and it'll...
  20. T

    Animation optimisation

    Hi evetyone! We make a game and at the moment we have 45 animations and 3 characters, each animation has 60 frames and lasts one second. Downloaded in gif format. After addition of animations in Game Maker 2, IDE began to noticeably slow down and for a long time to be loaded. I have 4 GB of RAM...
Top