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

  1. S

    Animating Movement Problems

    Hey, I have some issues animating my characters movement, works fine when I press a key in whichever direction, my character animates as if he is running, and stops if no keys are pressed. Though when pressing A + D or W + S he keeps animating as if he is running. I will post my code in the...
  2. P

    Tile-based Lighting with Multiple Sources?

    Okay, so I put together a simple tile-based light system, using the mouse as a light source. My only problem is, I can't figure out how to create a second light source. The lighting is done with two code actions, one in the 'obj_controller' object's step event: var i,t...
  3. D

    (SOLVED)How can I make a bullet appear from the end of a gun when the gun can change angle??

    I have a system set up where you aim with the mouse but I can't figure out how to make the bullet spawn from what ever angle my gun is at. I need a way to some how check the angle the gun is so I can update the x and y potions for the bullet creation.
  4. D

    GML I'm getting weird rotation when using point_distance

    I'm setting up an aiming system where the player can aim with the mouse (I have a different sprite for the arm) and to make the arm follow the mouse i'm using image_angle = point_direction but for reason the arm wont follow the mouse correctly. For example when I move the mouse down the arm wont...
  5. D

    Anyone know why this is happening?

    So I have set up the start of an aiming system pretty much like Gunpoint and Deadbolt (if you don't know those games I basically have the main body sprite of the player and a another sprite for the arms, when you aim the arms follow the mouse up and down like the player is aiming) My issue is...
  6. D

    (SOLVED)I literally have no idea whats causing this?? Could anyone help?

    My player object just will not move on the Y-axis even if my vspd variable is increasing or decreasing, I have tried some debugging to figure out whats causing it, I have looked through all the code the player object is using and still cant see what's stopping it from moving along the Y-axis. I...
  7. T

    Legacy GM Help with an inventory that works like this

    I'm struggling to make an inventory that works like the one from Breath of the wild. I also can't find tutorials or anything that works the same way as this one...
  8. P

    GML [Help] Multiple Alarms not Working?

    I'm having trouble with setting up multiple alarms. Once I set up an alarm (Alarm 0) and another alarm ( Alarm 1), only the code in Alarm 0 runs, but the code in Alarm 1 does not run. In the step event: if (alarm[0] = -1) alarm = 100; timer = random_range(50,70); if (alarm[1] = -1) alarm = timer;
  9. D

    Could anyone help with this? it's driving me crazy

    So I have asked twice on here already but none of the answers has really helped at all. Is there a way to change if an objects solid or not and could someone please give me an example on how to, I have had people say yes you can with ___ but i'm not sure how to actually do it code wise so I need...
  10. N

    Newbie just starting(put this post where it needs to be)

    Hello everyone. I'm a newbie and just have started trying to use game maker recently. I completed a basic tutorial a couple days ago, but now I'm having a problem. I'll provide screenshots and detail my progress. This is a screen cap of a tutorial I used for trying to build the basis for a...
  11. M

    Could someone assist me with a Inventory system

    ""
  12. D

    How could I switch my custom view to another object??

    So in my game you can use a minion to scout ahead in a level but the trouble is I cant figure out how to make the view follow the other object. The player still exists while you take control of the minion too. Here's the code: if(!instance_exists(obj_minion)) { x+= (obj_player.x-x)/20...
  13. P

    Legacy GM Issues with the shooting in an arena-shooter

    Hey :) GM:S is pretty new to me and therefor I come across a lot of problems during my first little game. I solve most of my problems by searching either this forum or other sources related to GM:S but this time I just can't figure it out. My game is an arena-shooter-like game, you can...
  14. A

    GameMaker [SOLVED] path_reverse function

    I've spent a couple of hours trying to understand what's wrong with path_reverse function or what's wrong with me ;) I've tested it on GMS1 and GMS2 with the same result. When I use path_reverse I wish only the nodes will change like 0...n -> n...0, but the problem is that the path change its...
  15. A

    phy_fixed_rotation error

    What do I do when this happens? ___________________________________________ ############################################################################################ FATAL ERROR in action number 1 of Create Event for object obj_lifeform_parent: Pop :: Execution Error - Variable set failed...
  16. D

    (Solved) I don't get what's going on with my collision code??

    As far as I can see my code's right (obviously there is an issue tho) it's probably something obvious but I'm like taring my hair out right now XD. The issue is when I try and move the object doesn't it's like it's not reading the x+= hspd part when I have the collision code wrote in. Could...
  17. D

    Don't really understand how to scale the view correctly

    So my room is 1280x720 and I changed the view in room size to 480x270 which is to zoomed, I need it more zoomed out but when I try any other size it just looks all distorted. Is there like any certain sizes that keep the overall image good like 480x270? Or could someone explain how I can work...
  18. D

    [HELP] Compile Errors in GM

    so I was learning todo multiplayer in gamemaker with this tutorial : but at the end of ep2 where it was time to rn the game this error apeared http://imgur.com/awesulP i'm using gm for a while now but this error never appeared, can someone pls help me?
  19. S

    GML Trying to index a variable which is not an array

    I'm still very new to Game Maker Studio, but there's a competition running at my school so I thought I'd give it a go. I'm trying to create a scoreboard for my endless runner; once you run out of lives, you're sent to the scoreboard and told to enter your name. I've had this error whenever I run...
  20. D

    (SOLVED) Anyone know if this is possible to do?

    Just wondering if there is a way to draw the actual distance between two objects when using the "point_distance" function. Is that something you could do in a draw event or something?
Top