• 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. Nukrei

    GML Hold objects with physics

    I was trying to create a way to hold an object that uses physics for my project (like the People Playground), but when I was writing code to hold the object with the mouse, I couldn't get the object to continue with its speed and direction after you let go of it, it just stops and falls I'm...
  2. A

    GameMaker How to add multiple choice questions in Windy Woods code template

    Now I want to customize the template, I want to add an object, when the player collides with the object a pop up question will show with 4 choices, the player can not walk once the player collides with the object, the player needs to first answer the question correctly in order to proceed, when...
  3. D

    SOLVED Transition from Roll to Fall state

    Hi, Im having some problems trying to correct a small bug. The following bug: The player keeps rolling until the animation ends. I have tried many different codes but the bug persists. If someone can help my I would appreciate. Current roll state code: function player_state_roll() {...
  4. FireLock

    GameMaker How to make a Bouncy Block?

    Hi, I'm new here. I'm currently working on a 2D platformer in GameMaker. I'm looking to achieve to make a game like BattleBlock Theater. I'm getting the core gameplay mechanics and level mechanics working first before doing anything fancy. BBT has a block that looks a lot like lava, but when...
  5. ThisThing

    GML Turn multiple parents (factions) into one varible? Possible?

    My enemies uses the variable 'target' throughout their code in order to spot, chase and attack the current target (which is currently set to o_player). Now, I want to add simple factions to my game: humans, demons, orcs and so on. <- just an example. Is it possible to say something like 'target...
  6. F

    Help me with a inventory system

    I'm trying to create a inventory system, and I want to insert in an array the objects that the player take. For now I'm using a string. And I want to put that string in the array. this is my code in the player's step event: if ((distance_to_object(obj_takeable) <= 10) &&...
  7. T

    GML Collision-Parent instance problem

    Ugh this is so confusing... I have no idea where to go with this. Basically I have this parent object and three colliding objects with my player object, accordingly collision1, collision2, collision3. (Note that this is not like this in my workspace but named as such just to provide more...
  8. T

    variable not set before reading it

    Hi. I added variables in the instance through the editor; not through an event but the "Variables" menu if you get what I mean... I can't seem to run my game, I'm using a portal guide by Matharoo and instead i got the error as the title above says. Can anyone help me? My code: obj.player Room...
  9. T

    Having trouble with this.

    I am trying to make it so that a projectile can follow a shooting line. The shooting line has a triangular shape, is an object and can be stretched based on mouse position. I decided to make a path just like the shooting line object, but can't make it stretch and make it so that one point is on...
  10. YungCortex

    Warp issue (invisible warp points????) i cant figure it out for my life

    whats up guys so i havent had this issue at all until today the warps worked totally fine, but now i created a new room as a test (the one with items in it that it warps me out of) and for some reason i have these invisible warp points that take me to different rooms? i cant figure out for my...
  11. M

    Android 'powershell' is not recognized as an internal or external command, operable program or batch file.

    I'm trying to update to the new google play services admob extension, but whenever i try to run my game i keep getting 'powershell' is not recognized as an internal or external command, operable program or batch file. if i remove the new admob extension it works fine. but i need to update to...
  12. G

    GameMaker How to only drag one object at a time

    Currently trying to make a game where you drag small cards around (think This is the police) I was able to make code that allows for an object to be dragged, but when the mouse hovers over another object it also drags that one. This is the code in the parent object's create event XOffset=0...
  13. Siwdvi

    SOLVED Why is the game screen appearing in the browser page?

    The game screen always appeared in its own window however for some reason now when i hit play gamemaker opens a new tab in my browser and plays the game here. I want to know how to get things back to normal if you know how to
  14. C

    SOLVED Invalid callv target #2

    Hi, I'm a beginner and currently trying to create a main menu. Whenever I load up the game, there is an error message that reads: "ERROR in action number 1 of Draw Event for object obj_menu: Invalid callv target #2 at gml_Object_obj_menu_Draw_0 (this is followed by a lot of hashtags)...
  15. T

    GameMaker Text in sequence editor looks fine but not in game

    Hi. My game is at the very tail-end of development. All content is finished and I'm literally just putting the final pieces together before release. I'm currently finishing up the credits, but have run into a really frustrating issue. I've made the credits sequence using the sequence editor...
  16. K

    GameMaker game thinks an object is a variable

    now i've been making this game but now everytime i mention a object in a script, there comes an error when i start the game saying: Variable Obj_spawn.Sou_theme not set before reading it this is the code in a step event it is complaining about: audio_play_sound(Sou_theme, 0, 99999); okay now...
  17. O

    GameMaker build failled

    all of a sudden my build started failing i tried clearing cache but that didn't help. I would really appreciate the help. Here is the error message. "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2022.11.1.75/bin/igor/windows/x64/Igor.exe" -j=8...
  18. M

    Android JRE issues and Build Failures after latest update

    so this all started because i need to update my android apps to use the latest adMob extension and needed to update GMS2 and Android studio for it to work (I never update either precisely because whenever i do everything breaks) I've spent the last 3 days trying to fix the jre path (JDK...
Top