player

  1. L

    Double jump! ..while using variable jumping

    Hello. I'd like to add a double jump for my obj_player but i can't seem to make it work with the ledge assistance, jump input buffering and variable jumping i'm currently using. I'd like to have two jumps if i jump off the ground but only one jump if i walk off a platform. I'll send my create...
  2. T

    GameMaker On display "controler" to move player

    Hi, I am not sure what is the correct name, for what I am looking for. :rolleyes: You might all know this controls on a device (smartphone) that you can use on screen to move the player around (up,down,left,right) with your thumb. I am looking for a way (or an extension if such exists) to...
  3. samspade

    Asset - Objects Character Asset Pack

    Available for both GMS 1 and GMS 2 Description Comprehensive and easy to use, this pack is a great foundation for creating a great side-scrolling platformer player object. It contains over 40 character movement abilities for a 2D platformer ranging from simple to complex. If you buy the pack...
  4. S

    Legacy GM How Can I Get The Camera Follow Player Only Up?

    I haven't been able to get this working so I don't have any code to show but does anybody know how this works?
  5. B

    Make a laser head towards a player

    Hello, So I'm making a space game where spaceships will shoot lasers towards a player. I want that once the laser gets created, it automatically heads towards the player, but not exactly. That way the player can still dodge the laser. Can anyone help me with this? -Bokkie
  6. C

    how to make player walk on it's own briefly when switching rooms?

    i'd like to disable player input and have the player walk briefly in between room transitions. not really sure where to begin.
  7. PlayerOne

    GameMaker Having an arm "snap" depending on player position? (point_direction) [SOLVED]

    Currently I'm using point_direction() to have my enemy arms point in the direction of the player. While okay for right now I need to know if there is a way to use point_direction to have it snap in eight ways (90,180,270,etc) and still have it pointed at the player? var dir =...
  8. M

    Question - Code Dynamic depth bug

    I have found some weird behavior in GameMaker during the making of my current game and need some advise on how to fix this. I was able to reproduce it for a very simple case: Consider a 2D topdown game where a player object can move through the room. Also, there are some tree objects. Because I...
  9. R

    GML Player knock back after hit

    Hi all! I've spent 2 days trying to get this to work and I know I'm close but being a noob is not easy. I had a look at all the other forums but it doesn't seem to be what I need or is a different method. So in my 2d platformer when player is hit by an enemy I want them to get knocked left or...
  10. jobjorgos

    GML How to appear a grey shade of the player whenever it walks behind a building or tree

    hello! i was wondering what kind of method i could use to achieve the following: i want that whenever the player walks behind an object such as a building or tree, that still a grey shade of the player appears so you can still see where the player is. an example of a grey shade of the...
  11. E

    Legacy GM need help with platformer ice block

    hey yall, needing some help with an ice block, here is the code. i want my player to slide on the block. CREATE OF PLAYER: ///intialize varibles grav = 0.7; hspd = 0; vspd = 0; jumpspeed_normal = 8; jumpspeed_powerup = 10; jspd = jumpspeed_normal; speed_normal = 5; speed_powerup = 7; spd =...
  12. E

    Legacy GM heya can anyone help solve this issue?

    so I want to make my level bar( details down below ) Invisible in certain room but no luck with depth or anything of the sorts. here is the code ( PLAYER, collide event ) /// collect exp with (other) {instance_destroy();} with (obj_player_stats) { expr += 1; /// Level Up Code if (expr >=...
  13. P

    Enemy Bounce Off Player

    Hello, Im new in the community of GMS, so I need help. I want my obj_Player to be pushed back from my obj_Enemy after being hit. Thanks for your help. PS: Thanks Google Translate :p
  14. X

    Legacy GM Why does my statement return "GAME OVER" every time?

    Hello, I have an enemy that will behave like a Goomba (in Mario). Currently I'm working on a way to defeat the enemy. This would be done by jumping on top of them. If you touch them from the side you get defeated though. To do this, I have the following code: if (place_meeting(x + sign(hspd)...
  15. B

    Legacy GM [SOLVED] Platform with jump to position movement does not take player with it

    Greetings, I'm not very good at programming. I've not used game maker all that much, though I've been using it on and off for years. Mostly I do drag and drop and have made about 4 or 5 simple mini games. Mostly these are made off tutorials. The same is the case here I was following a guide and...
  16. T

    GameMaker [HELP] Draw Shadows Beneath Player

    Currently I am drawing a shadow at my player object's coordinates. This doesn't look to good when you jump in the air. So I have a few questions. 1Q.a) How should I go about creating a system that will draw the shadow on whatever object is underneath the player. This way you can jump and still...
  17. M

    Android Need Help with player name - Google Play

    Hello, I am looking for a way to use the DisplayName from GooglePlay (the users Google Play account name.) as the player's name in a global variable in GMS 1.4. IE : Global.PlayerName = (Google Play DisplayName) The information in the help file does not work I tried using...
  18. N

    Hide player in menu screen

    I am making a text based game where my player is persistent and i have a UI setting that makes the player go back to main menu but since its persistent it ends up on the main screen too, i have tried deactivating it but it wont activate when i load the game and my player disappears i also tried...
  19. M

    how to fix my collusion with the floor / wall?

    I am working on a assignment for school to make a game and I putted some code in different events, but when I run the game my player doesn't have his 'feet' on the ground I have used the code in these videos: in the create event I have this: hspeed_ = 0; max_hspeed_ = 4; vspeed_ = 0...
  20. N

    Display current position/standing and results at the end

    Hello everyone, For school we're currently creating a racing game in GameMaker Studio 1.4. We're quite far and almost everything is working, but we've still got a little problem. It's a racing game with 5 opponents (6 cars in total) and we'd like to display the player's current position (1st...
Top