animation

  1. A

    GMS 2 Slime no longer jumps after adding in specific animations.

    I tried to make some code for a slime moving randomly. It all worked fine, until I decided to change the sprite index based off of where it was during the jump. Eg, an animation just before the jump, an animation as it falls, etc. Unfortunately, after adding in the code, the slime stopped...
  2. Posho

    Skeletal Animation with SWF

    Hello, I've been making some animations using Spine that have been working fine on GameMaker, but due to the large amount of textures the project size is starting to get a bit heavy, specially considering it's for a mobile game. All of my animations' textures were done in Flash and the...
  3. William Garrison

    GMS 2 Matching the Frames

    Hello again friends. Ill get straight to the heart of the matter. I am designing a little fun top down game right? And i want to be able to change hair styles (and other elements). My issue I am trying to tackle is this... The character (every other frame, or frames 1 and 3) goes down by a pixel...
  4. A

    [Solved] Issues with Paths, Direction, and Animation

    For context, I'm working on a top-down, tactics-style game. While the player is in battle, they pull up a menu, and to move, the player selects "Move" from the menu. From there, a grid selector is created, and each time the selector moves, it adds a new point to a created path. When the player...
  5. L

    Windows Spine animation loop problem

    i made an animation in spine.it has 61 frames(from frame 0 to frame 60). And frame0 is defferent from frame60 when the GMS2 play this animation. it will play 60 frames but not 61 frames. the image_index will be 0 to 59. when image_index is 0. GMS2 will draw either frame0 or frame60. it seems...
  6. sweep

    Enemy animation

    Hi ( I know this topic must have been brought up a thousand times before.) I am working on a top down game. I've been through the forum looking for a way to get the enemy to animate when chasing the player. I have the enemy sprites set up for 4 directional movement. I've tried tweaking the...
  7. TearyLilium

    GML Code equivalent for animation end event

    I am trying to come up with code equivalent for animation end event. I have seen other people mentioning using stuff like if (image_index > image_number - 1) { // Do something } but it doesn't actually work the same way animation end event does? If I have a sprite which consists of 4...
  8. F

    What is the best system for creating sprite sheets for animation?

    I have been drawing most of my game art in GIMP and can use layers, copy-and-paste, et cetera, to create sprite sheets for importing into GMS2 but there must be better methods. Neither a forum search nor my favorite web search engine provided a great answer. So... What system or software are...
  9. F

    Cutscene Performance: Sprites versus Layer Changes

    My game performs fine but I see value in learning optimization now for future application. I have some segments of the game which are simple animated scenes that react to very limited inputs (space to start, space to stop... that sort of thing) and so far I have been building them like old...
  10. I

    Windows Game speed has messed up! HELP!

    Hello guys!! I have a queston that is killing me, last week i tested my game and recorded some gameplays to upload to my social medias and gamejolt, everything GOOD! But, i open my project today and the coordinates movements (X,Y) have slow down, like gravity of moon, and, my animation speed...
  11. DarthTenebris

    GML Animation

    Hello everybody, It's been a quite a while since I last spent time with Game Maker, and I've definitely gone rusty. I'm trying to get my player animated when he is walking and stop when he isn't, but so far it's not working, and I have no idea why. // obj_player Create Event: sprite_index =...
  12. B

    Drag And Drop End my suffering (Cutscenes With Frame By Frame)

    Hello there, I am a new game designer, but an intermediate animator! I have been trying to integrate my animating skills to my game projects, but without much success... My images are off center but I code them to place their left corners to (0,0), and alarm systems are confusing, does anyone...
  13. JABSphere94

     Theater of Mons, 2d fighting game (Prototype build)

    My first time uploading a game, Theater of Mons is planned to be a 2-D fighting game where players control teams of monsters that evolve as they fight and survive. The aim of Theater of Mons is to be accessible to newer players while still feeling open ended for veteran players. When a monster...
  14. R

    Problems with Melee Attack for a Platformer

    I have a problem in which I cannot set sprite_index = spr_player_idle if hsp = 0, because that stops my spr_player_attack animation in the first frame. Thus, I have an issue where if i do the opposite the sprite will walk in place when hsp = 0. Is there a way to have the player sprite idle...
  15. Xocrona

    Weird movement animation

    Hi, so I'm knew in Game Maker desing (so Idk if this is a very newbie issue or I, as always, found a way to break the matrix :() and saw a tutorial 'bout making a walk animation. The code it's okay if you just use one sprite (with or without animation ;)), but here's the problem ... when I...
  16. Divinik

    GMS 2 [SOLVED] Variable adding too many times in one step

    So I have a variable (shots_fired) that counts how many time a gun is fired, but for some reason it will continuously add to the variable, even with a condition check: if parent.image_index >= 1 { image_angle = 10; x =...
  17. Axl Trauts

    Choose animation frames groups for a same object

    Hi, I don´t quite understand if I can have different "animation groups" for a same object depending on the condition of that object, I mean, what is the object doing. For example: I have a top-down shark object which will start swimming underwater. When is near the player, say 100px away, it...
  18. C

    GMS 2 Animation playing AFTER the sound file

    This is the most bizarre situation. I have an animation I want to play as long as a certain sound file is playing. Let me see if I can explain my programming in D&D. Create Event: Assign Variable: radio_channel = 0 Set Animation Speed = 0 Set Sprite: anim_radio = 1 Step Event: If audio is...
  19. N

    [Solved] Jumping and falling animation - Stop on last frame and reset

    I'm trying to make a jump and falling animation, with animated sprites. I want both of them to stop on the last frame (image_speed = 0), and continue from the first frame, when the jump-button is pressed again. //animation STEP EVENT if(!grounded=1) { image_speed = 1; if (sign(vsp) >...
  20. R

    Need help with walking animation

    So I'm working on a top-down farming RPG similar to Stardew Valley and I just finished working on the sprite walking animations. There are three walking animations, one walking vertically towards the bottom of the screen, one walking vertically away towards the top of the screen, and another for...
Top