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

player

  1. Klanes

    Player being pushed by a flying block

    Hello everyone, first, sorry for my English. I'm a complete coding noob, but I love to get in trouble creating some very very very basic games xD In the game you must dodge some flying blocks. This blocks can push the player if he can't climb on top of them (or dodge them). Everything seems to...
  2. 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
  3. H

    How to make player object move with sine wave platform

    I have been using code below for moving platforms, now I would like to implement that code so that when my player is on the platform the player object moves with the platform. I know an easy way to do moving platforms is just horizontal speed = direction * movement speed; and then you add the...
  4. L

    iOS Playing videos on iOS app, possible ?

    Hello, I was wondering if it's possible to embed videos into apps for iOS. I'm cool with them playing in either borderless area embeded within the app, or they may also open iOS's video player to play them upon tap / click of a button. Please let me know if there's any way to make it happen...
  5. X

    GameMaker (SOLVED) enemy stops moving

    hi there. there are many problems im having with the enemy but this is a big one when i touch the enemy, both the enemy AND the player get stuck. code: PLAYER: CREATE: hsp = 0; vsp = 0; grv = 0.4; walksp = 8; hp = 100 state = PLAYERSTATE.FREE hitbyattack = ds_list_create(); enum PLAYERSTATE...
  6. Z

    room_go_to in series

    Hi everyone, weird question maybe: I want to teleport my player to multiple rooms, then go back to the starting room. The reason is that I want, at a certain moment, have the player teleport to each room, change that room's instances, go to the next room, change that next room's instances...
  7. A

    Camera doesn't follow player in duplicated rooms

    Hey guys, I'm stuck at this problem : I'm doing a Roguelike and I want the player to go randomly through some pre-generated maps. I got one map ready (just a straight path from left to right) so when player hits the right end of the path I make him spawn in the next room where the blue circle...
  8. Z

    Spritesheet coordinates vs single sprite image index

    Hi everyone. So I'm passed the point of initial learning and I decided to start over again, now a bit more professional. I had a project going that worked really well, but the code was extremely sloppy and became too chaotic to handle anyway. Now one of the more important things in my project...
  9. E

    Legacy GM only go to sprite if global += 1

    hey yall quick question, my player has five sprites, but i only want the player to be able to got to the first and last sprites if its global.oil(points) is at least at one, is there any way to do this? any help is great! thanks! -Eztales
  10. E

    Legacy GM help on moving sprite

    hey yall, i wrote this little bit of code but i need it for 7 sprites instead of only 3 in this case, i assume its a easy fix but i have no idea on how to do it any help is great! Step Event if keyboard_check_pressed(vk_right) and image_index != 2 then image_index += 1 //moves player right if...
  11. timartinelli

    GameMaker Help with Project Player + Weapon + Mouse

    Help with Project Player + Weapon + Mouse Hello, friends, I have a hard time defining how best my game works with the Sprites of Weapons + Mouse to do the sights. See the image below, I made my Player without the arms to put the arms together with the Weapons, not if this is the best way. But...
  12. W

    GameMaker [SOLVED] Moving Platforms! Duplicate Obj. isn't working

    Hey everyone, first time posting in GMC and I'm a total beginner. In my game, I have a basic moving platform that when when the player stands on it, his speed matches it and he moves with it. That's all working fine. However, when I try to duplicate the platform obj. and place more of them into...
  13. K

    Windows More realistic lighting

    Current My Game Lighting : gif - http://naver.me/G6KGwnry Currently, the lights are on the player's head. However, fixed lighting is required. Also, I would like to change the angle of illumination with time. like real sunlight The room is very huge. view size is 960,540 and view hsp = 10 ...
  14. E

    Stop Enemy from following

    Hello, First time here. I hope I've put this in the right place on the forum. I have a problem with my enemy. I want the enemy to follow the player if he's close enough but if the player run away I want the enemy to stop chasing him. The problem with my code is he wont stop. The chasing works...
  15. D

    Making save profile

    Can someone help me i want like different save profile where ai can save different characters and different saves. put tutorial link and thanks ;)
  16. E

    Legacy GM better player movement, a step up from drag and drop.

    hey guys. so for convenience sake i was wondering if you guys had any better ideas on how to move you player, right now my code looks like this: Keyboard Event for <Left> Key: execute code: if (sprite_index=spr_player_NML){ sprite_index=spr_player_L; } if (sprite_index=spr_player_NMR){...
  17. I

    Animated can't walk

    anyone, i need help. i'm newbie using gms 2. i make a palyer run with animated but can't walk if i press the W button before. can anyone explain that ? key_left = keyboard_check(vk_left) || keyboard_check(ord("A")); key_right = keyboard_check(vk_right) || keyboard_check(ord("D")); key_up =...
  18. I

    Asset - Extension help with Video Player for GMS 1.4

    I recently downloaded this video player by Lonewolff, here: https://marketplace.yoyogames.com/assets/195/video-player-for-gms-1-4 When I follow the directions, I get the following errors: ___________________________________________...
  19. E

    Legacy GM How to make the player stop moving and start up again after textbox?

    Hey, there quick question, how would you make a player stop moving when a start moving again after a textbox is finished? t=regards EZ
  20. E

    Windows Audio Player Game Maker

    Hi , i want to make an Music Player with Game Maker , and i want to know how i can do to read the music and album pictures , to play it. i don´t know how to start. sorry for my english , im from argentina.
Top