gamemaker 2

  1. S

    debug

    How do I use the debug function?
  2. S

    annotation

    /// @description Insert description here // You can write your code in this editor Is this simply an explanatory comment or something that looks like an annotation but does it do something?
  3. S

    What does this mean?

    ________________________________________ ############################################################################################ FATAL ERROR in action number 1 of Destroy Event for object object34: Variable <unknown_object>.spaceup(100002, -2147483648) not set before reading it. at...
  4. S

    gloval variable

    Is a global variable valid for all objects, all events?
  5. S

    GMS 2 (Help) Array index out of range

    I was making a scrolling system in gamemaker 2 and I got an error I cannot seem to figure out! Create: Draw: Step: Error:
  6. S

    code...

    object1 room start globalvar spaceup2; spaceup2 = 0; create event if(spaceup2 == 5) { sprite_index = sprite42; } object2 create event if(spaceup2 == 5) { sprite_index = sprite48; } object3,4,5,6,7 1.Press Space to activate the destroy and create the next object. destroy event spaceup2 =...
  7. S

    transparent window

    How do you make a transparent window (layer) that you see behind? Is there only way to make your own sprite? Let me know if you have the ability to control transparency.
  8. SkullFantasyFortress!

    Windows Beat em up stack frame error

    So, I've been following a tutorial on how to build a basic beat em up game. I am currently stuck at the steps regarding attacking and movement, where I always receive this message upon testing. ___________________________________________...
  9. S

    animation once

    Is there a way to play an animation from a sprite only once?
  10. S

    room1 --> room2

    The room_goto function is the same as the room_restart function. Is the room_goto function the same as going backwards? Or is it a restart like the new game?
  11. S

    motion gap

    Left, right, up, down. Is it possible for the code to allow these four animations to fit naturally from a standstill without any gaps?
  12. D

    Windows Can't test games/see anything

    Whenever I run a game I've been working on it doesn't even open a window and I don't know how to fix it. I have an updated runtime and I've tried other projects, but when I used my other project it just shows a black screen. I don't have any errors either, so I have no idea what the problem is...
  13. D

    GMS 2 Sudden Error: "Resource File is Malformed"

    Hello, guys. I started up GameMaker 2 just now and received an error reading: "Resource file is malformed 'objects\obj_player\obj_player.yy' Invalid byte coding." Since obj_player is, as one would guess, my game's main character, this error effectively kills my entire project. Not too happy...
  14. S

    Why isn't it working?

    Create blackbox, yellowbox, and greenbox in the object compartment, and greenbox creates blackbox in its place with Instance2 when the space key is pressed, blackbox disappears when it is created, and yellowbox is created 4 seconds later. object 0 =>blackbox object 1 =>yellowbox greenbox...
  15. M

    Android GameMaker 2 Android custom icons are not being displayed!

    I am using GameMaker 2. I have android export set up and working using VM. (YYC doesn't work for me) My app works but the icon is the default gamemaker icon. I have added a custom icon for all icon sizes in General settings -> Android -> icons. When I create an executable .apk file and install...
  16. S

    What is the relationship between alarm function and room_speed?

    how to create delay with alarms and room speed?-_-?
  17. DroidGames Studio

    Asset - Scripts Ultimate IAPs - In-app purchases Mobile Games

    Hello GameMaker Community! I created a simple Asset package with some scripts to use In-app purchases for your game easily and start selling digital content! Ultimate IAPs. Implement In-app purchases on your games easily with this asset package! You only will need these codes to start selling...
  18. E

    GMS 2 [Solved] How to run a large number of repetitive step events in a timeline?

    I want to set up a timeline in my shmup that will: - Spawn an obstacle - Move that obstacle around the screen for a few seconds - De-spawn the obstacle and announce that a new obstacle can now be spawned I know how to get everything but the second point working. I don't want to add movement...
  19. S

    How to shoot the bullet horizonly?

    I've seen a video on YouTube where bullets are generated and fired. But it was launched using the coordinates of the mouse.(instance_create_layer(mouse_x,mouse_y..) Is there a way to shoot a bullet horizontally? :)
  20. J

    GMS 2 Making an object spawn and move to 1 of 3 places

    Hello. So I'm making a platformer, and I've been having an issue with this one part where I'm trying to get an object to randomly go to 1 of 3 areas and turn into something else. I've been using this code, and it works relatively well, aside from that sometimes the object spawns and stays...
Top