1. shui.bdr

    help with drawing sprites

    i need to make an arrow pointer for a "golf like" game, pointing from the ball to the mouse. so, i'm trying to draw a sprite strething and rotating it at the same time, but it seems like there isn't any function that can do this. not even the draw_sprite_stretched_ext can rotate the sprite...
  2. AsAboveSoBelow


    After I press spacebar I want the following to happen: Sprite A goes to Sprite B and runs its animation, once its animation is complete I want it to change into Sprite C. What is happening is on pushing spacebar it instead goes from Sprite A, directly to Sprite C. Any suggestions as always code...
  3. Dilawlaw

    Question - IDE how to replace sprites images in bulk?

    Hi everyone, we have a big project with over 300 sprites, lately, we decided to change the resolution ( for example going from 64x64 to 128x128 ), we have the new assets ready, with the images files names matching our sprites names, but we can't find a way to replace the old sprites images in...
  4. 2

    GML Find Point on Rotated Ellispe Sprite Contour

    What formula would find the contour (aka edge) of a rotating ellipse shaped sprite (assume a center origin) starting from the sprite center and in the direction usually of the image angle? I know lengthdir_x(len,dir) and lengthdir_y(len,dir) would work for a circle sprite, or on a non rotating...
  5. F

    HTML5 [SOLVED] All sprites are repeating themselves, forming a trail wherever they go, including the background

    Hi guys, I'm participating in a gamejam, it's my first time using Game Maker Studio 2, everything was fine, until suddenly all the sprites are repeating themselves, forming a trail wherever they go, including the background, I can't figure out why.
  6. 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...
  7. P

    Mac OSX Sprites too saturated in editor and game

    Hello everyone! :) I'm relatively new to this community. I'm using GMS2 since about 2 months. After a quick search, I didn't find my topic covered here so far, and since I'm a beginner, I hope you bear with me being potentially not well informed. Anyway, with out further ado, I present you my...
  8. zee86

    SOLVED Can't custom sort the assets

    Hi, I'd like to custom sort my assets. For example I want to sort my sprites in a custom way I choose, but if I drag and drop them, nothing happens, the "order" stays the same. What can I do? I'd like s_ship to be at the top, but every time I drag it it goes back to this position. Thanks!
  9. SirCaliber

    SOLVED Loading sprites as real number from file results in wrong sprites being displayed

    The scribble is meant to be a cheer emote. Basically, I save the cheer emote as a real number in an INI file, then read that number and set the player's emote sprite as that number. However when adding new sprites, textures get mixed up and so the number actually correlates to the scribble now...
  10. SentientPenguin

    GMS 2.3+ Does GMS2 only "draw" sprites, tiles, backgrounds, etc. when they are in the player's view?

    Are sprites, tiles, background images, etc. only "drawn" by GMS2 when they are on screen and visible to the player? Or are there, in theory, performance efficiencies to be gained by, for example, manually telling GMS2 to draw only those tiles or portion of a background image surrounding/visible...
  11. 2

    SOLVED No Sprites and Backgrounds Appearing (Maybe Firewall Problem)

    I'm having a problem with sprites and backgrounds not appearing in any room and was told is was likely a firewall thing in an antivirus. I have Avast. What settings should I change to allow GMS2 to work properly?
  12. R

    Click to move

    I wanted to make a click system to move to my player. I tried to use mp_pontential_step();, it worked but he doesn't find the shortest path, besides swapping sprites with 8 directions. Another thing ... I wanted my enemies to follow a path, and when they get close to the Player, start...
  13. 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;//...
  14. B

    Nothing I do will show up as a preview

    I have done almost everything to try and get sprites/objects to show up on gamemaker for Windows 10. I have: -updated runtime -restarted PC -made new projects -drawn events (only gotten text) -removed avast -made objects persistent -changed background color -run other people's demos (WHICH WORK...
  15. Plubu

    GMS 2.3+ Pixel Sprites Scaling issues that happen in full screen

    Hello everyone, hope you're all safe, Now I have an interesting problem with pixels sprites scaling weirdly, causing pixel distortion and all of that you probably know about. I've seen PixelatedPope's videos about resoultion and scaling, but they were in GMS 1, tried it, changed the codes to...
  16. WasabiHeat

    SOLVED Block object with "Auto Tiling"

    This is more of a logic problem than a programming problem, but I've been putting together a block building/destruction system and wanted the block's sprites to dynamically change based on where blocks (of the same type) were around it, just like how the auto tiler determines tile sprites or how...
  17. sweep

    GML sprite issues

    Hope you can help,it's probably an easy fix but I can't find a solution. My player isn't switching to the correct sprite when I am climbing. The code is below. The player changes to its falling sprite while going up or down a ladder. Is the jumping and falling code overwriting the climbing ...
  18. R

    point of origin

    Hello guys, I was fixing some visual things in my game, to make it more attractive and make your gameplay cool. While fixing bugs and fixing a sprite, I noticed that one of my objects (a "gun" specifically) was creating the "bullets" at the point of origin. Follow the image below: this point...
  19. Epicrex

    Windows Importing Sprites

    I have 4 frames for a character of mine. All four of these characters don't have all pixels connected. What is an easy way for be to bring these from Aceprite to GML. I've used ...strip4.png before but that only works when all pixels are connected. It would be great when I could immediately...
  20. Palocles

    SOLVED Trying to display one sprite followed by another in same state

    Hopefully this is simple, I don't want to spam the forum with questions... So i've got a state engine and need a couple of states to run multiple sprites. This works ok for jump where a different sprite is running for upwards movement to the downwards movement sprite (if/else) statement. I'm...