image_speed

  1. conman06

    GMS 2 I guess I don't understand image_speed..help?

    So, basically, the problem I ran into was that the object's sprite just freezes. I read up on the Manual, and I was correct that it is indeed a multiplier. My goal is to make the sprite's fps match the bpm, so I don't know what's wrong: -- CREATE EVENT -- image_speed = objSystem.bpm_fps / 2;//...
  2. 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...
  3. DavidRuiz

    GMS 2 I can't change image_speed when I change sprite_index

    Hello everybody, I'm trying to change my sprite_index, but when I do that I realized that the image_index is the same that the last time I used. How can I do to set the image_speed? "image_speed" doesn't work by the way. Thank you very much for your help! // vertical movement if frog_jump =...
  4. G

    Legacy GM whats a slow speed in code

    ive been trying to get a speed that is slow, in code but i never get the right speed. i tried image_speed = 0.1 and image_speed = 0.25 and more. but i never got the right speed. Please help :)
  5. Axl Trauts

    image_speed not working

    Hi, I am really confused here. I made my player object fire a missile that "goes to the sky", that is, disappears and when it does, it creates rain. Like a rain missile :P Anyways, the thing is that the rain sprite does not animates at all, it has 4 subimages. This is what I did on the Missile...
  6. SubWolf

    GMS 2 [SOLVED] Sprites' speed in the same Draw GUI

    Hello everyone, I'm having this problem with GMS2... I have one object that is called to draw a kind of window with buttons and some images (sprites). I draw these different sprites in the "Draw GUI" of the object, something like: draw_sprite(spr_ball_1, -1, x, y); draw_sprite(spr_ball_2, -1...
  7. I

    Issues with image_index

    Hey, so I'm trying to trigger a room_goto() event when my player's sprite is at frame 31, which is the last frame of the sprite animation. But it isn't working at all, it's just looping the sprite. I'm using a script to change character sprites so this is my code: if...
  8. Daniel Mallett

    GMS 2 image_speed

    I thought the image_speed would change the animation speed of the currently assigned sprite to an object. It does not seem to do this. If I go to the sprite "offline" (IDE) it has a speed which you can set. This works. The image_speed does not seem to relate to this. In short, when you click...
  9. DonMaklesso

    Speeding up melee attacks (help)

    Hi guys! I've been making a rogue-like game and stopped on player's melee attacks (I use hitboxes which damages enemies on contact). Everythings fine until I speed up those attacks by percentage amount of player's missing health (the less health, the faster attacks). So I've added the amount of...
  10. Pfap

    draw_sprite image_speed problem

    So I set up my game pretty much using all the built in variables. I want to change which sprite is drawn, but I don't want to change sprite_index because I use the value of sprite_index for my games logic. I thought a work around would be to just draw the sprite change I need, but then when I...
  11. Velocity

    Slow Down Idle Stance Sprites Image Speed

    So, I'm having a problem with my idle stance sprites. I want to slow down the animation. I have one script called scr_player_sprite_config. And in there, it's got: if(global.player = obj_naruto) { stance_sprite = spr_naruto_stance ; } And then I have another script, called scr_player_move...
  12. S

    Spine Multiple Animations with separate speeds

    My question is if there exists somewhere in code for the skeleton spine object to have each of it's separate animations run at different speeds. For example: animation 1: you animate a scarf flowing in the wind that a person is wearing (flows at image_speed 2) animation 2: the person is...
  13. Gregory Tapper

    GMS 2 Setting image_speed on a draw_sprite_ext()

    Hi! Having trouble animating a sprite I'm drawing. Setting image_speed in the create/draw event doesn't seem to be doing anything. The sprite remains static :( The object itself is a parent object that draws an animated river sprite (2 frames) and then itself (the children will draw static...
  14. J

    [SOLVED] Lining up image speed with shot speed?

    Hi! I am not here to ask for someone to answer a question or fix a bug, but rather i need help figuring something out. I believe this topic would help a lot of people as it seems like a pretty common thing. In my game i have a character that shoots an arrow. this character also has an animation...
  15. A

    GML [SOLVED] image_index not returning integers causing problems--need help!

    Hi all. I have some if statements that use "image_index" as the condition/expression to trigger the "thens" but because the image index return real numbers, not integers (whole numbers), its making my code kind of buggy. I've tried working around this by using "round(n)" and using >= and <= with...
  16. T

    Having troulbe with image speed (Solved)

    Hi. I'm new to gamemaker and am trying some animations, but I'm having trouble with the image speed for some reason. It runs really fast when I try to make the image go left or right, despite being set to 0.4 image speed. What happened so far is I'm trying to make it so that 1) the object shows...
  17. A

    GML Need help with image_speed

    Hi all, a couple questions: 1) my idle sprite is 1 subimage, my walking sprites are 4 images each, and since my idle sprite code gets execute first it seems to make all other sprites play only on one subimage (the first subimage 0), making the sprite not animate. the how can i fix that? 2)...
  18. T

    Legacy GM Image_speed of 1 not working

    Hi everyone! Im new in this forum but i have been using game maker for quite a while now, and i have no idea why i got stuck at this point, i have multiple sprites, the one i'm interested in has 60 frames, now in the create event of the obj im usingi have image_speed = 1; This object has a draw...
  19. C

    Windows Using acceleration in animation speeds/image_speed & more

    so I got my game working again, after a fresh install. I was wondering tho, I have a mechanic I think players may want to use, that sort of adds more physics to the game, it is simply called RPG and the variable for it is RPG-Mechanics I have some basic variables for the player animations...
  20. Nathan Laing

    Legacy GM [CLOSED] Setting image_speed the "right" way with / room_speed?

    Greetings all, What would be considered the "right" way to set image_speed? For example in a typical scenario, with a room_speed of 60, and image_speed set to 1, even with around 20 to 30 sprite frames the animation is very fast. And so, we might tweak our image_speed to 0.5 (or as needed). I...
Top