animation

  1. Wonsubon

    GMS 2 Animation Issue with Changing Sprites

    I have an object for the player with a script for the free state (there will be more scripts for other actions), and in the free state script it includes jumping, walking, crouching, and idle animations. For changing animations, I change the sprite index depending on the situation. The second...
  2. Z

    GML MADE A SWORD SWING SCRIPT

    Hello Everyone! I made a swing animation for Melee Attacks BUT it isn't very versatile when it comes to changing direction, I am currently having a hard time making it versatile CREATE VARIABLES melee_state = 0;//Counter Current Anim Number melee_timer = 0;//Animation Timers melee_anims =...
  3. GONE

    GML How can i make an animation transition for my wall jump

    So I am making a platformer and decided to add the feature wall jump to the game. I found the code on a youtube comment and it works well. the code is //Wall Jump if (place_meeting(x+hsp,y,Owall)) && (key_jump) { vsp = -7; } if (place_meeting(x+move,y,Owall)) && (key_jump) { vsp = -7; hsp...
  4. roknix

    SOLVED Can not import multiple sprites

    Hello, today steam updated GMS to Version 2.3.3. It might be a coincidence but after this moment I was not able to import more then one sprite (for animations). I can multiselect but only the last one will be importet. This is what I do normally: - Create a new Sprite - Click on Import...
  5. Slyddar

    GMS 2.3+ Sequence Animations (DND/GML)

    GM Version: 2.3.2.560 Target Platform: ALL Download: N/A Links: N/A Summary: In this dual GML/DND tutorial, learn how you can make a funky title sequence, that includes some slick animation curve tweens. I then cover how to have some tracks continue to play their animation after the sequence...
  6. Joifad

    Windows Animation of my character doesn't work properly

    The code I wrote is exactly like this: //Update Sprite function PlayerAnimateSprite(){var _cardinalDirection = round(direction/90); var _totalFrames = sprite_get_number(sprite_index) / 4; image_index = localFrame + (_cardinalDirection * _totalFrames); localFrame +=...
  7. Joifad

    Animation of my character doesn't work properly

    The code I wrote is exactly like this //Update Sprite function PlayerAnimateSprite(){var _cardinalDirection = round(direction/90); var _totalFrames = sprite_get_number(sprite_index) / 4; image_index = localFrame + (_cardinalDirection * _totalFrames); localFrame +=...
  8. NuclearStarfish

    Portfolio - Art [FOR HIRE] Nuclear Starfish - 2D Game Art / Animation Team

    We are a team of professional 2d game artists and animators. We have 4+ years of experience in the gaming art field and I can provide the best 2d services for your creative project. Indie prices, professional quality. We work with: • 2d game sprites and assets; • 2d game animation; •...
  9. A

    SOLVED How i do to make an animation executes once when i press a key.

    Hi, i am using Game Maker Studio 2.3, and i want to know how can i make an animation executes enterely when i press once time a key. I did it when you keep pressing the key the animation keeps repeating itself, but i dont know how to do it pressing once the key, for example, "D" and the sprite...
  10. Pratanjali64

    Discussion [Animation] Typical steps-per-minute for various types of movement

    Question: Has anyone found a good reference guide for typical steps per minute (or frames per cycle) for various types of movement? Googling this inevitably leads to exercise advice, but I'm looking for typical step counts, not ideal ones. I'm also looking for speed ranges for things besides...
  11. A

    How do I change sprite animations after picking up a weapon?

    Hello everyone, I have imported a sprite sheet featuring my character running with a weapon. I was hoping to use this animation after the player picks up the weapon object. However, I'm unsure about how to insert the animation into the code. I know it has to take the form of an if statement...
  12. R

    [SOLVED] drive and attack

    hello guys, I'm having a little sprite problem. I am trying to make my character walk and attack while walking, well it works and I did it but the visual part I am having difficulty I have a sprite for him to stop attacking and another one for him walking and attacking, the problem is: he...
  13. PrismaticRealms

    Asset - Objects PRAction: More than just a set of tweening functions, this is a fully featured action system.

    40% FOR A LIMITED TIME Available on the YoYo Games Marketplace and on Itch.io. Requires GameMaker Studio 2 v2.3 and up. PRAction is a GameMaker Studio 2 (GMS) module created by Prismatic Realms, Inc. It is an action/animation system that is similar to a tweening system, but is so much more...
  14. JasonTomLee

    Asset - Graphics BLOOD EFFECTS (animation sheets)

    A set of high quality animations used to spice up your games! Currently working on Platformer & Topdown perspectives with these variations: 1. Gush 2. Light splatter 3. Heavy splatter 4. Spray and more... Follow the main page on Itch.io for updates or download directly through the...
  15. FrostyCat

    Asset - Scripts GMTwerk 2: Delay actions and animate values with ease

    GMTwerk 2 Delay actions and animate values with ease Overview GMTwerk 2 allows you to set delays, listen to conditions and animate values asynchronously using a fire-and-forget interface. One GMTwerk 2 actor can replace alarms, timelines and many kinds of step event code in a compact, at-source...
  16. E

    GMS 2 Animation when not moving top down game

    Hi in my game I want an animtion when the characters is not moving but I don't find any tutorial for this.
  17. G

    1 vertex model, 2 triangles, vertex shader opposite directions

    sorry if this is a repost not sure what im searching for : As the title says im trying to make a vertex model of a sprite image split into two opposite directions with vertex shader sort of like in fruit ninja. so in the draw event I send a uniform to the shader with a positive and negative...
  18. S

    (image index == x) in step event

    i need to do something in a certain frame of an object, the code i wrote is: if (image_index == 25) { image_speed = 0; } it's wrote in the step event and it's very simple, but when the animation reach that frame the animation speed doesen't sets to 0, it's like gamemaker dosen't even...
  19. Michael Stearns

    SOLVED Possible to "mirror" a Sequence?

    Hey all, I've been experimenting a bit with using Sequences as an alternative to stuff like importing from stuff like Spine or Spriter, I thought it'd be cool to be able to build that sort of thing right there in GMS. Obviously this has some limitations since there's no skeletal features...
  20. flyinian

    SOLVED What would cause a sprite to animate at room speed(or really fast) when its coded to draw in the draw event?

    Newest: So, I just tested the code in another object's draw code and still had it animating really fast. I then added the "image_speed" in the create event and set it to 0.1 . This slowed it down and it appears to animate at desired speed. Could someone explain this to me? As well as, how to...
Top