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

gamemaker 2

  1. E

    GameMaker [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...
  2. 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? :)
  3. J

    GameMaker 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...
  4. Sam04

    Shaders Can I reshape regular shapes?

    Hello everyone. This is more a couple of questions about if something can be done instead of a problem I have. First, I know I can draw simple shapes with the regular drawing functions and weird ones with the primitive functions. I have this situation in which I want to draw a rectangle with a...
  5. phillipPbor

    one question

    is it possible to have create movement? or is it possible to make it? you know... like bullets when triggered.
  6. W

    GML Bullets not always hitting enemy

    Whenever the obj_leftBullet_shooter hits the enemy obj_water, the enemy is supposed to die in one hit. It works fine until I code in instance_destroy(); for the obj_leftBullet_shooter and I don't know why. If I code it so the bullet disappears once it hits the enemy, sometimes it'll take...
  7. S

    Windows Assets not visible

    Assets are not visible when the game runs. Link for the sample- https://drive.google.com/open?id=17dIaGx4_AbZXoAyABSUW4GIvBeppdXfX
  8. R

    GameMaker Making a dynamic laser

    Hello, I try to create a beam that suits all types of surface in Game Maker Studio 2, so far I have the following code: while(!collision_line(x, y, x+lengthdir_x(long, image_angle), y+lengthdir_y(long, image_angle), obj_block, 1, 0)){ long++; if (long > room_width+room_height) then...
  9. P

    GameMaker Detecting 2 quick movement inputs for both keyboard and gamepad

    I wanted to implement a "dash" feature in my game, and I would like to do it by having the player press a movement key twice quickly. I could probably do this rather easily if I ere only using keyboard, but I also want controller support, and I'm having trouble with detecting 2 quick inputs...
  10. R

    Android Project with path ':library' could not be found in project

    Since I updated the APK support for GMS 2 I started to get this problem, when I try to export the game to Android I get the error that I will present next. The problem is not the SDK, the NDK or JDK because I reinstalled them to see if it worked and nothing happened. Please someone help me (if I...
  11. R

    GameMaker Project with path ':library' could not be found in project

    Since I updated the APK support for GMS 2 I started to get this problem, when I try to export the game to Android I get the error that I will present next. The problem is not the SDK, the NDK or JDK because I reinstalled them to see if it worked and nothing happened. Please someone help me (if I...
  12. J

    Making an object not go by a certain point?[SOLVED]

    This is my code. posY being the point where it shouldn't go past. //STEP EVENT if y > posY { y=posY; } I thought this would make the object teleport back 1 pixel to posY everytime it goes past it. And it kinda works, but if the vspeed is to high i think, it gets stuck(The object switches to...
  13. E

    GML Menu Button scales up when selecting it

    I succeeded making the certain button turn blue, but i also wanna make the selected button scale up to 2x of it's original size. screenshots: if you ask, this video helped me creating these codes:
  14. J

    Get A List of Everything That Runs

    I have the main game with an arcade room of several other smaller games. I'm thinking of making the smaller games into standalone versions. Is there a way to get a list of all the sprites, objects, sounds, fonts, scripts, etc that runs while I play the arcade games? So that I can duplicate the...
  15. flykidsblue1

    Discussion Android Compiling Problem(Gamemaker Studio 2 Version 2.2.1)

    Hey everyone! After the new update I can no longer compile for YYC in android. I have been trying to find the root of the issue with no avail. It seems that there is a swap of directories because I am having the "droid" directory pointing to "Y:\\" rather than c. I'll be leavng the compiling...
  16. S

    Mac OSX Cannot create executable

    Hello. I've followed every guide I can find and am at my wits' end, so I hope someone here can help me, haha. I'm new to GameMaker. I am trying to create an executable file of a game I made in GameMaker 2 on my Mac (Mojave 10.14). The game builds and runs fine in the normal preview. I have not...
  17. W

    Spawning objects in random positions issue.

    Hello, i'm doing my first game and i want to spawn enemies in random positions, i have done this but enemies overlay each other. This is my code of the spawner: var xx, yy; xx=random(room_width); yy=random(room_height); if(position_empty(xx,yy)){...
  18. M

    Asset - Scripts instance_create_ext(); - Set variables BEFORE Create Event

    Hello! I've recently uploaded a new script for free on the Marketplace. INSTANCE_CREATE_EXT(); LINKS! Asset link: https://marketplace.yoyogames.com/assets/7388/instance_create_ext-script Marketplace link: https://marketplace.yoyogames.com/publishers/3863/floyd itch.io link...
  19. A

    Bullets not appearing

    Hello all. I am making my game via the Gamemaker 2 Shaun Spalding tutorial with minor adjustments for my liking. I have just finished it making the spawners but when I ran it, no bullets were shooting out like they have been for most of the project, in fact its only been a problem until now. I...
  20. R

    Tabbing out causes keyboard spam.

    Once i start into my game, if i tab out my keyboard spams the keys 'Enter' and 'P'. It also spams new path in gamemaker. I don't know if it spams others yet but those are the only ones I've seen so far. So if i tab out into a text editor it will just spam new lines with P some times in them...
Top