• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

gms 2

  1. FoxyOfJungle

    Why use "static function()" inside a struct function??

    I tried to look in the manual but I couldn't find exactly what I wanted, it's because I'm using structs and I ended up in a situation where I need to use one function inside the other, but I saw people using static, but I don't know what the function is, I click on the function and it doesn't...
  2. JesterOC

    Job Offer - Programmer Hiring Python/GML Programmer for TCP Network Holepunching

    Hi there, looking to expand my games multiplayer capabilities... getting into holepunching... I was able to get UDP holepunching to work but was too unreliable for what I want... Looking for someone to make Python master server that can holepunch GM clients to GM servers... with TCP... PM me or...
  3. FoxyOfJungle

    Asset - Shaders Realtime Gaussian Blur Shader & Pause Menu (GMS 1.4+ and GMS 2.3+)

    With only 1 shader and 1 function it is possible to make the blur effect realtime, it is a Gaussian effect and does not use two pass blur. With the other shader, it is possible to have more control and several settings (suitable for the Pause Menu). All code is fully customizable, and fully...
  4. FoxyOfJungle

    window_set_showborder() alternatives???

    Unfortunately this function has been obsolete for a long time, but does it exist or does anyone know of a DLL maybe that can do that? If this solution is not possible, how would I go about maximizing the window size to fit the screen and not cover the taskbar? I don't want to use it in full...
  5. 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?
  6. 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...
  7. S

    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...
  8. 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 =...
  9. 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...
  10. 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...
  11. 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?
  12. 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...
  13. 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.)...
  14. hippyman

    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...
  15. 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...
  16. 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 =...
  17. Selafio_Carcayu

    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...
  18. A

    GameMaker 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...
  19. I

    GameMaker 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...
  20. 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...
Top