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

stuck

  1. M

    GMS 2.3+ Coding A Proper Hookshot?

    Hello there! I am currently working on a side scrolling platform game with a main focus being hookshot based grappling which the player will use to both traverse and fight/grab enemies using a button press based on the direction the player is facing similar to say 2D Zelda. Currently, I am able...
  2. G

    There's a bug in my game and I have tried everything to fix it.

    Hi there, So I'm using game maker for an assignment I have to do for my IT class, so I'm pretty new to the software. I love how easy it is to use and how quickly you can make a game with it. However, I cannot seem to get rid of this game-breaking bug in my game. My game is called 'Package...
  3. T

    why won't my character move in this script.

    // get players input jump_key = keyboard_check_pressed (vk_space); dkey = keyboard_check(vk_right); akey = keyboard_check(vk_left); // d key = right movement { if (place_free(x+4, y)) && keyboard_check(ord('d')) x += 4 } // a key = left movement { if (place_free(x-4, y)) &&...
  4. L

    Windows Stuck at building - (F5)

    Hello im new with this software and making games in general. My experience is with RPG Maker and there building a game was easy and fast. As context im following the "make your first game" tutorial Here is what happens: As i press F5 building starts. I have tried several times, each time never...
  5. DPMlofty

    GML My player is stuck on the wall

    He's stuck on the wall, but the collisions and mask are correct what i want to do is just teleport him to the nearest free space
  6. Michael Franklin

    Added jumping animation and I cant move

    I added: //Animation if (!place_meeting(x,y+1,ocity)){ sprite_index = judyjump; } else{ if (hsp == 0){ sprite_index = judystand; } else{ sprite_index = judyrun; } } and now my character (judy) wont move. Her running animation happens...
  7. L

    Enemy obsession with the rigth wall

    Ahoi my friends. i build this enemy that is patrolling on the x and y axis and dashing towards the player when the x or y position are the same. for some reason the enemy keeps driving to right walls after a dash. it is not all the time, but it happens frequently. The other walls are fine. it is...
  8. M

    GMS 2 How Do I Make Enemy Never Stuck

    How Do I Make Enemy Never Stuck with Any Other Enemy Or Object When He Follow You. The Very Hard Think Is Avoid Enemy instance to another enemy instance. Any Advices?
  9. R

    GMS 2 [SOLVED] How do you make a wait timer between each line of code?

    I am working on an RPG with a rhythm type battle system. It would be very useful if someone knew how to write a script that would add a wait timer between a line of code without unnecessary if statements. For example: I want to be able to write something like this...
  10. O

    GML I'm new to programming and need some help.

    I'm trying to make a textbox appear when I get close to an NPC but when I get near it and press E it crashes Here's the code I did I'm sure I screwed up, I just can't find out how. if distance_to_object(obj_player) <= 5 { if keyboard_check(ord("E")) instance_create_layer(100, 100...
  11. Edwin

    GML How to find the nearest no collision point?

    For example I have a big object and a small object. When the small object collides with the big object, small object needs to find the nearest position where it's not colliding with the big object. I need this because if the player get stucked in the wall, he need to unstuck but not simply...
  12. IE Entertainment

    Player Getting Stuck In Ground

    This seems like an easy fix and a novice issue but all of a sudden out of nowhere, the player in my game gets stuck in the ground after a jump is landed. I'm using a variable jump so it only happens after a "light" tap of the jump button. The game had been running fine for many weeks with no...
  13. S

    Platformer: Stuck on ground, corners and walls

    Greetings. I have been working on a platformer in Gamemaker: Studio. It has controls a bit different from most platformers. being inspired by many games, platformers or not. These games' (Shovel Knight, Smash Bros., Bayonetta) mechanics being fit into one platformer may cause more problems in...
  14. B

    Networking concept help

    Online game function help I just made a multiplayer game so I kind of know what I’m doing, I want to make a “Draw My Thing” kind of game and it sounds great, I’m going to click on my screen and everyone guessing will see the dot I made, but if I want to click and drag like I would I pen, how...
  15. C

    Legacy GM Flooring does not work properly

    I was wondering why flooring does not work with this code: //Step event //Replenish skill bar skill_bar_restore[1] = 0.004; if (skill_bar[1] < 10) then skill_bar[1] += skill_bar_restore[1]; //Draw event if (skill[1] != "empty") then...
  16. sv3nxd

    Hitting a creativity-wall

    For the past months I'm less and less working on games. I begin projects, do 2-5 sprites and create some objects - just to throw it into the bin because I'm not interested anymore. I think, that I kind of know one of the problems: I'd like to have a partner living locally to bounce ideas off...
  17. W

    GMS 2 Collision issue - Getting stuck in walls

    Hey everybody! I'm new to Game Maker and therefore new to the forum as well. My issue: I'm making a simple 2D platformer prototype which I want to be able to expand upon in a number of platformer games. Therefore, I need the movement and the collision (everything really) to be rock solid. I...
  18. M

    GML Object Stuck After Idle Animation - Can't move unless I jump

    The movement in the game I'm working on appears to be bugged. It will not let me move right or left unless I've jumped first. If I start moving, I can keep moving, though sometimes changing the direction makes it stuck too. Jumping works good and as intended, its just sometimes the movement...
  19. A

    Question - IDE Cursor can't leave editor window

    Hey folks, Coming onto a bug where I can't actually drag the cursor out of the editor window - I can't even access my Windows taskbar unless I alt-tab, which restores full freedom to my mouse. Restarting the program several times hasn't fixed the issue. Anyone else experienced this issue? Have...
  20. A

    Question - IDE Stuck In Trial Mode?

    I upgraded my Game Maker 2 license from the trial mode yesterday, but was still stuck with the trial mode limitations. I signed out and back in to my account multiple times and have reinstalled GameMaker 2 multiple times but haven't been able to fix the issue. Any idea on how to solve this problem?
Top