gms 2

  1. N

    Question - IDE Choosing number of frames for tiles

    When creating an tileset and opening the animated tiles option, why does it only let me choose either 2, 4, 8, 16, 32, 64, 128 or 256 frames? What if I want to create a tile with 6 frames? Why can't I just type in the number of frames, it doesn't let you, is there any way around this please?
  2. FoxyOfJungle

    Windows GMS 2.3 Crashed the Video Card unexpectedly!

    I was using the Game Maker Studio 2.3 normally and I went to minimize and out of nowhere there was a memory lake on the video card that made the video card stop working and then go back, after that GMS 2.3 started to suck all RAM and use the disc and then stopped, I had to close forced and I...
  3. S

    GMS 2.3+ Game crashing at start when compiled to YYC.

    With version 2.3+ (not beta) I'm getting strange error at game start. OS : Windows 7 64x SP1. Game maker version: IDE 2.3.0.529, Runtime 2.3.0.401. ############################################################################################ ERROR in action number 1 of Draw Event for object...
  4. Y

    Tile Collisions, how can I improve on this

    function onGround() { //grab the layer id var lay_id = layer_get_id("Tiles_1") //grab the tile set id var map_id = layer_tilemap_get_id(lay_id) var grounded = tilemap_get_at_pixel(map_id,x,bbox_bottom+vel_y) var onWall =...
  5. N

    SOLVED Sprite draw order depending on y variable?

    Hello I'm doing a top down rpg and while the characters' collisions are 16x16, the sprites are 16x24 Basically this means that characters or objects should appear layered in front of the ones above and behind the ones below at all times, but I don't know how to do that because objects seem to be...
  6. G

    Negative Layer Depths not drawing? [GMS2]

    So I have a room with multiple layers and I recently changed some layer depths causing the layers above to get negative depths. I did not think this would be a problem but for some reason, the layers with negative depths are not drawing in the room. I thought you could have negative depths...
  7. J

    Gamemaker Studio 2.3 desktop Surface Pro 7

    I've been planning to get a new computer for Gamemaker Studio 2.3 Desktop, and Surface Pro 7 seemed like the best fit. But, I couldn't find anything that confirmed that it can be used on a Surface Pro 7. Can someone please tell me if it is?
  8. N

    Graphics Vector Graphics for GMS 2

    Hello. I’m making a video game that’s near completion in terms of programming. It’s a 2D side scroller. My grandma is a graphic designer and says she’ll make the graphics for free. The thing is, she would prefer the game have Vectors instead of the more conventional Pixel graphics. She’s...
  9. T

    Best Practices for State Machines? (Opinion)

    First time posting to the Game Maker forums. I would like to ask a question more about general practices than a specific issue: when making a platformer, how general or broad should a state machine be? Should it be as specific as every action the player can take (walking, jumping, falling, etc.)...
  10. H

    GMS 2.3+ Super Simple Depth Sorting

    GM Version: GMS 2.3+ Target Platform: All Download: https://www.dropbox.com/s/hl5weo10e94j3k2/EasyDepthSolution.yyz?dl=0 Summary: I'm sure you've heard about the z-tilting technique. If you haven't you can find it here. While that technique is solid, I'd like to share my much simpler solution...
  11. P

    GML Correctly loading rooms from a save file

    So I am new to Game Maker Studio 2 and have had little experience with coding I was using ds_maps and ds_lists to save the information of my game but whenever I save the room data then go to a different room and load the save the character object spawns on the right of the screen. He will always...
  12. Rook

    Diagonal movement with analog stick

    I have a movement script which adjusts diagonal movement. I also can use it with a controller, but the diagonal movement is slightly slower with the thumbstick than when using binary keys. Any idea on how to fix it? if (abs(gamepad_axis_value(0,gp_axislh)) > 0.2) { keyLeft =...
  13. Selafio_Carcayu

    GMS 2.3+ Returning to GMS

    Hello everyone. So I started in GMS when it first came out, and it took me for ever to understand even the most basic concepts, I honestly don't have the logical skills to code. And just when I had some understanding, thanks to Shaun Spaulding and Heartbeast, GMS 2 was launched, so I rage...
  14. A

    GMS 2 SOLVED Alarm resetting before taking effect.

    I’m somewhat familiar with alarms, but this issue has stumped me. For every alarm I use, I always make sure that it only resets if it has run it’s code, using if (alarm[x] < 1) alarm[x]= y but for some reason, this specific alarm resets once it hits 0 without running the code. here’s the...
  15. I

    GMS 2 How to recreate a depth value.

    I hope this is the right forum for this. I have some familiarity with GMS1 from my youth so I bought GMS2. With my main aspirations being the creation of a psudo3D game which utilized the depth feature in the Drag&Drop. I have seen some murmurings of a way to use a depth function within the...
  16. TheRudolfGaming

    SOLVED Client connecting to the server doesn't see already connected clients.

    Hello. I am currently in the foundation phase of a making a game with multiplayer functionality. But currently I've hit a speed bump and been unable to fix it for the last 3 days. I've made an non-dedicated multiplayer system, where one player hosts the game, and others connect. (Host will...
  17. M

    child with multiple parents (grouping objects)

    Hi guys I just figured out, that a child object can have just one parent. I would like to group some objects for different collision checks and behaviours, but some objects has to be in multiple groups. How can i solve this? Example (Pseudo code)...
  18. Swisspick

     Collaboration almost impossible with GitHub

    Hello Everyone I have now tried multiple tools like GitHub, Bit Bucket the vanilla GMS 2 Repository Tool etc. for collaborating with a friend. This is however almost impossible by the fact that creating folders, objects, scripts etc. also add code to the main file and other files. Every time...
  19. A

    GML Get the id's of two instances of the same object

    Hi, I am currently working on an airline management game in Game Maker Studio 2. I have a background sprite of Europe and one kind of object (obj_destination) on every airport. I am working on routing but I can't figure out a way to get the id's of two obj_destination (departure and...
  20. K

    Switching the enum state and keep moving

    Hi, I have an action rpg project. In the player object i have an enum with 3 states: move state, dash state and melee state. When I´m dashing or attacking the player just stops until it finish the action. It turns out that I´m trying to make the player move when i´m attacking or dashing (before...
Top