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

#help

  1. Wupporulz(forever)ok

    GameMaker sprite appearing when the space bar is pressed

    I want to make something similar to pizza tower's taunt system, the only problem is that the image/sprite is playing for like a single second and then it goes away, how do I make it stay on screen for a longer period of time?
  2. W

    Upload png images to the game

    Hi, I was creating a save system, and I wanted to have an image of the game capture, I managed to take a screenshot using screen_save, but now I need to upload it to the game and draw it on the player's screen, so I went to research about it and I saw that you can use sprite_add() to create a...
  3. Jesser_Lacer

    SOLVED How can I assign a party stats struct to an instance?

    Hello, I'm having some trouble setting each party member their stats based on the current party. Basically I have a main struct called global.party that contains other structs, one for each character and each struct has their stats. At first I set global.party.char as the instance create struct...
  4. Jesser_Lacer

    SOLVED Sequence instances depth problem

    Hello, I'm trying to manage a sequence in my game, but it seems all of it's instances have a fixed depth (same as the sequence), so I need help to make each instance from this sequence have it's depth corrected based on it's Y position. I already have a depth sorting object, but it doesn't...
  5. S

    Game window not showing up when running game.

    Hello, I recently made a game in Gamemaker 2 using GML visual and recently when i have tried to run the game the game window simply didnt show up. I have tried running it in debug (the window opens but its completely white and nothing happens), I have tried running Gamemaker as administrator...
  6. W

    Get the x and y of a sprite at different angles

    Hello, I want to create a cannon firing system, so I thought I would try to get the x and y of the sides of the ship, which is where the cannons are, plus the boat moves to where it is aiming at the angle of the image The x represents where I want to get the x and y, any help is appreciated
  7. O

    SOLVED Issue using image_index when exporting with HTML5 that does not occur when exporting to Windows

    Good afternoon, First of all I'd like to mention that I am very new at programming and am aware that the logic of the following code might not be ideal; however, it does function when exported to windows. This is a smaller chunk of a large for loop that checks to ensure that my match 3 game...
  8. Jesser_Lacer

    GameMaker RPG inventory with party member selection

    Hello, I'm trying to make an inventory, so far it displays the items and you can use/drop a selected item, but when my party has more than 1 member, i need to be able to select wich character will use that. for this, i used several variables to set menus but i'm starting to think this just won't...
  9. Jesser_Lacer

    SOLVED RPG item chests functionality

    So in games such as chrono trigger or earthbound, when you open a chest, you get the item in it if you have space in your inventory and you can't interact with them anymore. So I got an array for the inventory, and when interacting with a chest, I'll make a function that adds the item to the...
  10. catmohawk

    SOLVED How do I Spam Place a Sprite?

    Hello Everyone, I am a new game develeoper and I am currently making a 2D *obviously* Shooting game but I couldn't figure out how to like spam place a sprite in the room. Is there anyone who could help me? (I couldn't find any help online)
  11. U

    can't seem to find the source of the error I need help

    I have been having this error for a while. and I can't seen to to find the problem, I was just following a youtube tutorial and when I went to go test my game out this error appeared ERROR in action number 1 of Step Event0 for object oPlayer: local variable _inst(100039) not set before...
  12. E

    GameMaker Hi! I would like some help.

    Hello, I'm really really (really) new to GameMaker and I encountered an issue that I'm not quite sure how to solve. Basically I'm working on this mini project of mine and the thing is I always had an issue with walking animations. Firstly it worked perfectly then I noticed that if I walk...
  13. J

    SOLVED timer countdown

    Hi I am new to Game maker and I am making a game where you play as a spaceship while destroying enemies. And I need a timer for how fast a enemy will spawn but I cant find out how. I need the enemy to spawn at 0.5 seconds.
  14. S

    GameMaker MeleeAtack

    Hello, I can't figure out how to make a proper melee attack. I'm new to GMS 2 and don't fully understand everything. I was able to write a script that reproduces an attack with a hitbox, but my attack is very fast and when pressed, it may not be completely reproduced. And the hitbox does not...
  15. Josi Craft's

    shader dosent work

    hi i made a shader with my small nolege of shaders its a nomal map shader but it just draws a black box that some time turns gray //draw //draw shader_set(sha_nomal); shader_set_uniform_f(shader_get_uniform(sha_nomal,"u_lightDir"),mouse_x,mouse_y)...
  16. G

    GameMaker fault code unassigned variable oplayer referenced game maker

    Can somebody help with my error? x = x = legthdir_x(1.5, point_direction(x,y,oplayer.x,oplayer.y)) y = y = legthdir_y(1.5, point_direction(x,y,oplayer.x,oplayer.y)) ERROR in action number 1 of Step Event0 for object Object1: Variable Object1.oplayer(100003, -2147483648) not set before...
  17. godwillforgive

    GML Working in the background

    Hello forumers, searched the Internet for an answer but could not find anything, would be grateful for help! I need to be able to subtract values from the variables, even when the game is not running, is it possible? (Mobile devices) šŸ˜˜
  18. V

    i need help with an error

    this is my code: weight = obj_player.weapon[weapon_index, 22]; show_tooltip = false; tooltip_distance = obj_player.weapon_grab_distance; tooltip_text_offset = -16; tooltip = "E"; // Object properties acceleration = 1; // acceleration deceleration = 0.025; // deceleration max_speed = 1; //...
  19. taregtz

    Moving stage from time

    Is there a way that when the time reaches 0 that you can make it change room?
Top