• Hey! Guest! The 40th (!!!) GMC Jam will take place between February 25th, 12:00 UTC to March 1st 12:00 UTC. Why not join in this very special anniversary jam! Click here to find out more!


  1. L

    GMS 2 Turret rotation not centered(even with correct origin)

    Hello everyone! I am making a pixelated space game(my first game, if we are not including games following tutorials :D), and on top of the ship there is a turret mounted to it. I have set the turret to rotate towards the mouse using point_direction(mouse_x,mouse_y), and to follow the ship using...
  2. G

    Lacking follow through! (2-D SS attack animation woes)

    Hello again! So with some references on where to look to find stuff (Thanks, Felbar!) I've come a long way in the past couple weeks. I've integrated state scripts and my character's animations are where I want them except for ONE issue: Upon pressing the attack button, my character *still*...
  3. G

    GMS 2 Asymmetrical Sprite Jumping animation

    Hello! I'm learning 2-D platformer basics from Spaulding's recent GMS2 YouTube tutorial and it's been going well but I ran into a hiccup. My sprite carries a shield in his left hand so he looks different when traveling LT and RT. How could I modify this code to have the character face left...
  4. Kugua

    SOLVED Trouble with importing text from JSON file (returns "undefined")

    Hello! I'm new to gamemaker and still learning the ropes. I've been playing around with managing large amounts of text by saving the text in a csv file, converting to JSON, and then loading the JSON file in the game. Using v2.2.5.378. The problem I'm running into is that when I load the text...
  5. kpenrose92

    SOLVED keyboard_check_pressed(ord("K")) will not return 1 while keyboard_check(ord("S")) returns 1

    Is this an issue that has come up for anyone else? I'm on Windows 10 using GMS version I'm guessing it is Windows-related, because I've tried many other combinations of keyboard_check and they all work fine. For some reason while the 'S' key is down, gamemaker doesn't recognize the...
  6. VentKazemaru

    GMS 2 Trying to figure out pikmin style unit selection

    In pikmin, You can either throw the next pikmin you have in line. Or you can press a button to only throw a specific type. I've been having a hell of a time how to implement this. In it's basic form. I need to figure out how to select specific and any unit in a group. ds_queue does work...
  7. G

    Android [SOLVED] Problems with android build - help!

    Hi, I've been trying to compile my game to android and it keeps giving me this error log What went wrong: Execution failed for task ':com.gumbosoup.colorsnakesmash:processDebugResources'. Android resource linking failed W:\com.gumbosoup.colorsnakesmash\src\main\res\layout\download.xml:13...
  8. monsieurGrignoux

    [Solved] With working In the create event ?

    HI, I was wondering if the with statement is working in the create event. Seems Like not ... but not sure of my code...
  9. Chris Smith

    GMS 2 Game Sometimes Runs/Doesn't Run/Only Runs Audio

    Greetings friends, Out of nowhere my game started to fail to run, even though the output window doesn't show a failure. It sometimes doesn't reach the main loop. But sometimes it does reach the main loop, but only plays the audio. Sometimes it runs fine. Everything was running fine, until I...
  10. Chris Smith

    GMS 2 No Error, No Memory Leak, But Getting Visual Issues (video included)

    Hey all, I have a room set up, to randomly generate blocks, then when you exit out the left of the room, the blocks delete, and fill the room again, and you get teleported to the other side of the room so simulate entry into another room. However, this works up to the point of loading the...
  11. S

    [Solved] Continually increase/decrease lengthdir y/x values

    Hi All, First post here and I need your expertise. I'm trying to make a 2d shooter following some spielding tutorials on youtube with modifications along the way. Currently i have the gun object using recoil with lengthdir x/y while also using mouse point direction for the image angle of the...
  12. funkygallo

    GMS 2 [solved] Strange warning when using YYC

    Ok I have this function ///sin_oscillate(min,max,position) return((argument[1]-argument[0])/2 * dsin(argument[2]) + (argument[1]+argument[0])/2); when compiling with yyc i have this warning Z:/prj1_D2CE6B5B/totre/default/Scripts/llvm-win/gml_Script_scp_sin_oscillate.gml.cpp:19:23: warning...
  13. ZaHee

    GML [SOLVED] How to make the camera move whenever an object leaves the camera viewport?

    In the game I Wanna Be The Guy, whenever you leave the screen, the camera instantly moves to the next screen. Here's a video as an example. (the best example is at 5:03) What I'm trying to do is making it to whenever the player leaves the screen, the camera instantly shifts so that the next...
  14. Antikore

    Legacy GM [SOLVED] sprite_save is not saving sprites

    I'm actually making a game. When you play it, at the start, a starting code runs for creating base files and stuff that will be needed when you're in the game. While all things work properly I think, the part that I save a few sprites to one of the folders isn't working. These files are saved on...
  15. GonerBits

    GML [Textbox System] Help changing text color mid string / shake effects?

    (I'm a total beginner to this, and this is my first time posting to here, so sorry if the formatting / code is kind of messy... I don't know what i'm doing haha) I'm trying to make a text box system that allows for shaking text and changing text colors (preferably in a gradient) kind of like...
  16. R

    Windows Issue with buying licence

    Hey all! I was trying to purchase "GameMaker Studio 2 Desktop" (the $99 one) for my windows PC but when I enter my credit card details the "submit payment" button does nothing, no matter how long I wait. Is this a common bug or is there a part of the form im not filling out correctly?
  17. Schekhovtsov

    Android SOLVED: Some recources failed to import

    Hello I updated GMS, Android Studio. When trying to update / reinstall the Google Play Services extension, an error occurs: Resource 'GooglePlayBillingExtension' failed to import Has anyone come across a similar one?
  18. Schekhovtsov

    Android SOLVED: Game crash after first Google Play login and after Achievements window closing

    Hey. There are two problems: 1) The game crashes after the first authorization in the Google Play Games. at the next launches, everything is fine. 2) the game crashes when you close the Google Play Games achievements window (opening works fine). Both crashes occur without error. In another...
  19. Babaganosch

    Android GooglePlayServices error on build, FragmentManager / FragmentActivity

    I can't build for Android after I install Google Play Services into the project. I'm using macOS Mojave 10.14.6, with the IDE v. and the runtime v. I've tried cleaning the cache after installing the extension. This is the error I'm receiving ------- > Task...
  20. Binsk

    GMS 2 [SOLVED] 3D Rendering issue.

    SOLVED?: I'm not sure why, but if I switch from matrix_build_projection_perspective to matrix_build_projection_perspective_fov it renders as expected. That is what I normally use anyway so I'm going to call that the solution. Howdy! I am no newbie to the 3D scene with GameMaker and elsewhere...