• Hey! Guest! The 39th GMC Jam will take place between November 26th, 12:00 UTC and November 30th, 12:00 UTC. Why not join in! Click here to find out more!

sprite animation

  1. DevilKap

    GMS 2.3+ NPC sprite direction (need help)

    I have this test NPC, but it wont change its sprite direction. I think it has to do with the fact that I'm using an image_index based on direction: direction = point_direction(x,y,other.x,other.y); image_index = CARDINAL_DIR How would I format/structure this into a switch statement...
  2. Schtipadoo

    GML Simple question (Sprite somtimes freezes)

    when i make animations i want some to stop looping, i do that by setting the speed to 0 when it reaches the last frame i use it for basic stuff and it works fine most of the time, only on the jumping sprites something wierd happens when the animation plays it will stop and transition to the...
  3. B

    Animated a sprite only on mouse click?

    Hi, My sprite is currently animated, and it's animated the entire time. Is there a way to make the sprite only animate if it detects a mouse click? I have a bunny in my game that hops, and I want it to only hop when I click the mouse to move it forwards. Thanks!
  4. A

    GML Reactive object help. This noob found a solution, but I know it's the wrong way.

    Game Maker version 2.3.0.529 As you'll probably guess I'm following Shaun Spalding's tutorial but along the way I added a crouch action and multiple oPlayer"weapon" objects using a collision instance_change to allow weapons changes that also change the sprites and how it shoots. I have a car...
  5. DannyDuque

    4 directional Idle animation

    I was trying to make an animated sprite, and I was able to create the running animation and an idle animation that plays when the character stops moving. However, no matter what direction I input, only the right facing animation plays when I have frames for up, down, and left as well. Is there...
  6. gkorn

    SOLVED Sprite Loop doesn't change

    [Sorry if I'm posting this in wrong section] So, first time here. I'm kinda new to Game Maker (not to game development), and am making a game for the Metroidvania Month. Now I'm updating my rectangle mockups withh some free art mockup, so I can get a better feel of my FSM. But, I ran into a...
  7. orSQUADstra

    Alpha Classic Sprite Editor - The old GameMaker sprite editor remade in GMS2!

    About Classic Sprite Editor is a project aiming to bring the old sprite editor to life in the style of GameMaker Studio 2. Every aspect of the good ol' editor is being brought to life once again as close as possible! Yes, that also means that pasting an image will be made a selection, and not a...
  8. G

    SOLVED Using the same image for multiple animations

    I've been creating some player animations lately for what is supposedly going to become a game sooner or later. Some of the animations' sprites use the same image, for example whilst facing right, the player can turn his head to the left but he can also turn it towards the camera and blink. The...
  9. Hell wither

    GMS 2 How can I delete the useless areas of sprite

    I want to remove the white area of this sprite, because the invisible edge may bother the interaction, is there any button to do that? I can't upload pictures due to some unknown reason. If anyone could help me, I can send the problem by mail, thanks
  10. bebesnuggles

    How can I reset a sprite's animation? (DnD)

    I need to reset a timer bar from going all the way down so it doesn't dock the player points if they hit a target. Been looking through all the DnD code and syntax but can't find anything that would help me. Good thing yall are much smarter than me! Thanks Ya Boi
  11. orSQUADstra

    Windows Droplet - A sprite editor and animated sprite stacking tool, made with GameMaker, for GameMaker

    Droplet is a drawing software, specifically for animated sprite stacking. It utilizes a UI made from the ground up, aiming to achieve ease of use. Currently it lacks some functionality, but should already be enough in its current state to be used for making simple pixel art and stacked sprites...
  12. DivineEd

    animation getting cut off while using collision_circle

    So im using collision_circle and it's doing its job fine but I'm having one small issue. Whenever the player is in the zone briefly then instantly leaves the zone the enemie's attack animation gets cut off or just doesn't complete. How can I make it so that once the enemy has started its...
  13. Andrew Simms

    GMS2 Can't recreate collision bug, but it still exists

    So I have this little arcade enemy swarm game. The combat system is that when you press the button, the protagonist is unmovable but summons a magic spell that you can then control directionally and detonate over nearing enemies to clear them. This will then create an orb object that shoots back...
  14. R

    Sprite Sheet Animation Ideling to animate blinking eyes

    Hi guys first thanks for any advice im pretty new here! :) I just draw a personal sprite sheet of a character with the dimensions w: 1664 height: 512 pixels so thats basicly 128 px grided character with 13 frames for each direction AND the first 3 frames are ideling and blinking eyes!!! i want...
  15. S

    GMS 2 sprites have been inverted with no change of code

    hey! so I havent changed any line of my code since earlier today after I tested it out. my character was moving exactly how I wanted it to, when I pressed left it changed to the left facing sprite and vice versa. the only thing i have done is, add a wall and change the background of the room...
  16. 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...
  17. Occupant

    Stop background sprite animation

    I read this post, which seems very closely related to my issue: https://forum.yoyogames.com/index.php?threads/sprite-animation-just-1-time-and-not-a-loop.8996/ In short, I want to stop the animation of the sprite assigned to my room background before it loops. The solution above talks about...
  18. N

    GMS 2 Having Trouble Moving Sprite Animation Frames along X and Y axis

    Hello all, Haven't used game maker long but I love it so far! My current issue is that I have an Action_Selector Obj with an attack option, when the user key_check_pressed(ord("A")) on that selection I want to hide the Idle_Character_Obj and un-hide the jump_to_target animation then wait at...
  19. 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...
  20. E

    Glimmer Effect above Sprite

    So I'm currently working on a game where some objects are mineable and others aren't. I want those that can be mined to stick out a little bit but not to destroy the atmosphere. So here is an example, I want the object with this sprite: to look like this: I manually animated this one...
Top