• 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!

gml 2

  1. J

    GameMaker gamepad_axis_check_released?

    Hi, Is there a way to get the same result with a gamepad axis as you would with something like "keyboard_check_released" it's just that I need that once the player has pushed the left analog stick on a gamepad all the way down, it adds a +1 to a variable I set up, but it won't add another +1...
  2. C

    Job Offer - Programmer paid work - Looking for a GML programmer to develop a simple NFC extension

    Hello ! I am looking for a freelance programmer specialized in GML (Game Maker 2) for the development of a very simple script to recover the "plain text" data from an NFC chip via a reader such as this one: https://www.amazon.fr/gp/product/B00GYPIZG6/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1...
  3. M

    GML Lists to Arrays

    Hello, I am creating a strategy RPG tile-based movement system. The algorithm I am using is breadth-first. I have created two List data structures; "_openList" and "_closedList". The data I add to the Lists includes; X Position, Y Position and MovementLeft. Within the GML manual for...
  4. xDGameStudios

     [POSSIBLE BUG] Array of arrays vs 2d array!!

    This is the test code: global.inventory_gms2 = [ ["SubArray 0", 0], ["SubArray 1", 1], ["SubArray 2", 2], ["SubArray 3", 3], ["SubArray 4", 4] ]; var a; a[0, 0] = "SubArray 0"; a[0, 1] = 0; a[1, 0] = "SubArray 1"; a[1, 1] = 1; a[2, 0] = "SubArray 2"; a[2, 1] = 2; a[3...
  5. S

    GameMaker Creating tiles in a room based on a ds_grid

    Afternoon all, My end goal... is to have an xls that holds all possible room designs, formatted in grids. Each cell in a grid contains a number which corresponds to the tile that needs to be placed. I would then "stitch" the rooms together to create one large map. My current problem... is...
  6. D

    GML how do I make text static?

    Ok, so I'm trying to make a text based adventure game, I'm working on the screen where the player can enter a name for their character. however when I enter a name the text moves left like I'm writing right to left and not left to right, I;m not sure how to fix it. here is the code I'm using...
  7. T

    GameMaker Collision Detection Question

    I have been using the Trial version of GMS2 for a few days, and about an hour ago I went ahead and got the license for the Windows version. I think my question is fairly simple. Will I have to write code to check for collision with every object that I create that the player shouldn't be able...
  8. O

    GameMaker Bullets affecting multiple enemies

    Hi guys, so I'm currently working on a top/down zombie shooter and I've stumbled upon a problem. I have a shotgun which shoots 3 bullets, the problem is that let's say two of those bullets collide with 2 enemies it only affects one enemy, so basically until I kill the first enemy that was...
  9. H

    GML [SOLVED] Jumping animation from grid field to grid field

    Hi, I have a player moving from grid to grid by pressing the cursor keys. The player sprite is drawn using draw_sprite_ext in a draw event. Currently my player slides from grid to grid, but I would like to have him jump to simulate walking. I could do this with walking animations, but then I...
  10. L

    GML Game Object Inheritance and OO for inventory system

    I'm fairly new to GML and GMS2 but I've programming in different languages for 6+ years and I wanted to make an inventory system but using Game Objects so I can make use of Inheritance. for example: I want to store Potions.. but "Potion" is just a base Object... the actual object would be...
  11. M

    GameMaker Where can i find GMS2 GML docs as pdf

    Where can i find GMS2 GML docs as pdf or any printable version. docs2.yoyo... not helper for print. I want study with papers.
  12. A

    GameMaker [Solved] Dialogue Effect Glitch during Cutscene

    I've looked everywhere, and I can't work out why when I put my dialogue box into my cutscene, the typewriter effect I'm using glitches out. The glitch: In a dialogue box, instead of being typed letter by letter with each letter placed next to the previous, each new character is placed at the...
  13. L

    DS_Map and twitch follower JSON file[Solved!]

    Greetings. I'll post the twitch json(the part I'm having trouble with) then explain { "follows": [{ "created_at": "2016-12-14T00:32:22.963907Z", "notifications": false, "user": { "_id": "129454141", } }, ... ] } What I want from this is to grab the...
  14. L

    GML Failing to apply shader properly. 60 shades of frames...

    Hi guys, I'm kind of frustrated, there is this one thing that i wanted to apply to my game but i have failed to do so... I wanted to apply a chromatic dissortion effect to my game. My initial game sample has 4 sprites... the are is one animated sprite in the background. and a player sprite...
  15. S

    GameMaker How to call a script once then the script keeps executing?

    Hello, Im a beginner gml programmer. I wrote a script to use whenever I want, the script is a function that should play certain images specified by me, it asks the no. of the first image and the last image and image speed and sprite. the problem is that when i use it, it doesnt work as...
  16. V

    GameMaker Can't go next room. - Help [SOLVED]

    Hello there I have an issue with my game. I have 3 players and 7 maps on my game where each map contains a field in which players must go through and reach the "obj_victory" to score a point. First to 3 wins. Anyway due to the fact that I have the trial version of GMS 2 I can only create 15...
  17. T

    GML How do I add a game over screen and lives

    Hey everyone how is your day going today? I been trying to figure this out and been on a few forum post but I have yet to find it for my case. What I want to do is figure out what type of code do I need to add lives to my character.I am making a Mario like Platformer. I already have it so that...
  18. T

    How do I change sprite animation for running and when I'm idle?

    Hi, I'm fairly new to game maker and gml itself been learning for about 4 days and so I'm working on a side scroller ( like mario or sonic) and I looked through the manual and things the only thing I can gather from it is something about sprite_index I'm not sure if that's what I use and it'll...
  19. K

    View movement

    Hi everyone i am making a RTS game and i am trying to setup a view controller that makes sure the view does not go outside the room. Below the code i wrote for it: /// controlling the view scr_move_view(); var vx = camera_get_view_x(view_camera[0]); var vy =...
  20. S

    GML Shooting in GameMaker studio 2

    Hello everyone, how to make shoot in a gamemaker studio 2, what would the shots be flying, where my character is looking, control on the WASD keys. I say in advance, I use physics, and I need it(sry for eng lang) This my code(i use scripts) event_inherited(); player_input(); if(right_move) {...
Top