sprite

  1. M

    Question - IDE Updating a Sprite

    Hello, At times, I decide that one or more (but not all) of the images that make up a sprite need updating. I am not sure about the correct terminology, for me a sprite is a collection of images that can be indexed during runtime; and I need during the development cycle to change some of the...
  2. I

    Animated Sprite Doesn't Work!

    hello everyone, I am facing an issue on GameMaker Studio 2, regarding a sprite animation. I have done several sprites for the hero (the character the player can use), one if the hero object dent move, one if for when the character uses the stairs. I have a problem with this exact sprite, the...
  3. C

    Help deciding 8 bit style/retro sprite size, resolution, tile size?

    Hello, I am very new to GM2 and am starting my first project. I am a programmer by trade and have always been interested in game development. I think for my first project I would like to attempt something retro/8-bit style. I am pretty confused by the sprite size/tile size/resolution thing. I...
  4. Architheutis

    Jumping withing one animated sprite

    Good morning, everybody! That topic was certainly solved, elsewhere inside. Or something similar. I´ve got a special intention. Maybe that could be solved with states. But I asked myself, and now you, what about jumping within an animated sprite. Example: oPlayer collides (place_meeting) with...
  5. Bluetail7

    Legacy GM Shader not compiled in-built version

    Hello! I have been dealing with problems with shaders after a while, for some reason when I compile the game, the shaders is compiled as well, but once I make the stand alone, I notice that is no longer supported... Is there a setting that I'm missing? I'd like to know any possible solutions.
  6. S

    (GM 8.1) Big sprite stretching for no apparent reason

    Hello everyone, once again I am presented with a weird problem with my project. I have a somewhat large sprite (6507x698) to represent a race-track. But when I test it, the sprite's right side stretches horizontally until it reaches 6507 of width. This is so weird because the left side is fine...
  7. Architheutis

    The swimmer swims, but he don´t "swim"...

    Me again - hey there! :) I´ve got a problem with my swimmer, when he collides with my water collider body. When he touches water, he experiences the slowmo-effect of water-physics, even the buoyancy. But the swimmer does not play the animation within the sPlayerS (S = swim)... has 25 frames of...
  8. NathanAuckett

    Question - IDE Is there a way to set the default animation speed for sprites?

    In preferences you can set the default playback type to either frames per game frame or frames per second. When you first install it's set to frames per second with a speed of 15. I've set the default to frames per game frame, but there doesn't seem to be an option to set the default speed so it...
  9. A

    How to create a tilemap from ASCII characters

    Hello, I need to create a tilemap containing a set of ascii characters (e.g. Consolas, courier new or other fonts). I want to create a tilemap to be used to compose a room via tiles. Is there any tool to automatically compose this tilemap? Thank you for your help!
  10. S

    sprite animation

    so i Am trying to animate my sprite movement and i got it to do the animation .But i don't know how to make it go into an idle pose when it stops moving.here are pic's of my code i tried adding a macro but then it was glitching. i need help!
  11. BenSunhoof

    GML Changing cursor sprite back to normal when on a specific object?

    Hey there. I have a piece of code that changes the cursor sprite to a custom one and makes it green whenever it hovers over something clickable: var inst; inst = instance_position(mouse_x,mouse_y,all) if inst != noone cursor_sprite = spr_cursor_slct else cursor_sprite = spr_cursor; if...
  12. G

    draw_sprite_ext -> stop overlapping

    Hello everyone :) I am new to GM Studio 2 and I have a problem with the draw_sprite_ext command I am drawing two sprites with this command: draw_sprite_ext(shadow_block,image_index,x+32,y+1,image_xscale,image_yscale,0,c_black,.4); but when these meet each other they overlap and it looks like...
  13. S

    Legacy GM Strive toward the perfect camera code

    I am making a camera code. It looks like this: var length = point_distance(obj_player.x, obj_player.y, mouse_x, mouse_y) /2; var dir = point_direction(obj_player.x, obj_player.y, mouse_x, mouse_y); view_xview[0] = lengthdir_x(length, dir) - 960; view_yview[0] = lengthdir_y(length, dir) - 540...
  14. D

    GMS 2 Need help with sprite manipulation

    Hello everyone!! So, I have this problem and I hope you can help me: I have these layers, all in the same sprite and these are supposed to act in a character selection screen. I will have three characters, so I created three of these. I've used this code for(i = 0; i < 3; i++){ spriteId =...
  15. E

    Gamemaker 2 Sprite editor/creator

    Hello Everyone. I've been having a little difficulty with the gamemaker sprite editor. I have an UGEE tablet monitor I use to draw, and I've been trying to create the sprite animations using gamemakers built in editor. The problem is, I have no idea how to create the next frame for animation...
  16. H

    GML Find the height of a sprite at a given X

    Hello, I have a very big sprite like this, with a PRECISE collision box: http://www.noelshack.com/2018-51-4-1545342830-lv-1.png As you can see, this is the ground of my game, and its width is 4096px. And I would like to know what's the height of the ground at x=300 for example. I know I could...
  17. B

    Discussion Invisible Objects

    I was having a problem just today that my enemy's weapon objects would be invisible, however still function. No matter what I did, the sprite itself would not be assigned to it, even though it was already assigned a sprite previously. I tried setting visibility to true in multiple areas, or...
  18. D

    GMS 2 [Solved] Find a certain sprite in Assets Layer

    Hello people! I have another issue... I'm trying to find a certain sprite I placed on an asset layer, the problem here is, for some reason I can't find them. I tested with certain functions like "layer_get_id("Assets")" in which returns 1, so it found the layer. But when I actually look for...
  19. S

    problem with set the sprite to stop

    Hi!! i don´t speak english to well but i can try... However... i'm making a shmup like gradius, r-type.. and i want to change the sprite when i press up or down, i tried a lot of different ways but it's something that i do wrong, the problem is when i want to stop the sprite at a specific...
  20. Tuna

    Legacy GM Sprite drawing flashing issue [SOLVED]

    I have been trying for a while now to draw a melee weapon on my character, but whenever I have its position change throughout an animation, the weapon sprite flashes, sometimes for multiple frames. As you can see in this recording, the sprite is normal when being drawn as a single frame...
Top