progamming

  1. S

    GMS 2 Building to mac, getting old version

    Hi all, I'm making a game in the windows IDE. I'm trying to build it to mac using a mac computer in my house, but whenever I produce a .exe and transfer it over to the mac, It ends up being the wrong version of the game. It's missing many of the features of the current version, doesn't work with...
  2. S

    GMS 2 Reading from outside buffer

    Hey all, I've run into a weird networking bug. I've got two projects, a client and a server. When I run both on my local computer, or both on an Azure VM, they work fine. However, if I try to run the client on my local machine and the server on a VM, I get the following error as soon as I...
  3. A

    Problem with saving level (room) - ini file

    Hi. I am trying to implement a system where the last level (room) will be saved. Say, a player reached level 15, it will be automatically saved if the player clicks a next button. And then when the player exits the game, reopens the game and clicks the play button, the player will be loaded in...
  4. A

    Android Upload game file (APK) in Google Play even with warnings?

    Hi. I am trying to upload my Android game (.apk file) in Google Play for an Internal & Close testing before publishing my app publicly to the Play store. When I tried to upload my APK file I got some errors and warnings. If my APK had an error, it won't continue in uploading the APK, so I fixed...
  5. K

    change background

    hello, how are you, I would like to make a query, and I want to know how I can make a background change when changing level, osea I have a level during the day and when changing the level it is done at night but the background is done in a single sprite as an animation, I would like to know how...
  6. K

    interaction with houses and others

    hello, one question, how do I make my character enter a house by pressing a button, every time I try my character appears in a different position, please help
  7. S

    Shooting from moving points

    Hello, I've got my main ship programmed and everything is working fine, but I'm having the issue where my bullets are originating and I'm not quite sure how I would make it originate from the front of the guns. Origin point in center. In ship's step event i programmed: image_angle =...
  8. N

    GMS 2 [SOLVED]Controls for 8 direction

    Please help me make the 8 direction control, I have arrow control, but I would like to make the control on W, S, A, D Here is the code: Create: spd = 3.0; image_speed = .4; Step: //move hInput = keyboard_check(vk_right) - keyboard_check(vk_left); vInput = keyboard_check(vk_down) -...
  9. Bulldrome

    Local Multiplayer Help

    Hello I'm nearly finished with this little space ship arena game I've been working on and I just need to implement local multiplayer and I'll be just about done. I currently have 4 ships each with 4 colors set up on a character select screen of sorts but I need help setting up the controls for...
  10. L

    GMS 2 Turret rotation not centered(even with correct origin)

    Hello everyone! I am making a pixelated space game(my first game, if we are not including games following tutorials :D), and on top of the ship there is a turret mounted to it. I have set the turret to rotate towards the mouse using point_direction(mouse_x,mouse_y), and to follow the ship using...
  11. Bulldrome

    Help with Character Select

    I'm currently working on a game that requires a character select screen. I've got the screen set up but don't know how to get the selection of the character to correspond with actually spawning in the character selected. I have a switch statement set up to select each ship (character) and a...
  12. L

    GML Fighting game round problem code

    Im pretty new to game maker but currently i have made myself a fighter game. Everything works including health bars and attacks What im struggling on in making code for a round based system. Im not sure how to implement such a code. when the game starts it will be state = round1, when...
  13. Jmarlin3

    Issue with while loops

    The purpose of the next few lines is add a number to y to make my object move if(keyboard_check_pressed(vk_down)){ y += movespeed; } The code above works just fine, but when I change it to a while loop: while(keyboard_check_pressed(vk_down)){ y += movespeed; } The goal of the while...
  14. P

    InAccurate Collisions

    I have problems programming the game, it happens often when lots of collisions between moving circles happen in one moment. And maybe someone can help with borders physics: Now I just have different code for vertical and horizontal borders: dircetion-=dircetion //for horizontal borders...
  15. MatteKudasai

    GML Problems on making bullets work

    I'm trying to make a Shooter on Gamemaker Studio 1.4 and didnt find any tutorial about it. The idea is a Megaman-like game plus upwards shoot using only code, but I just started using GML and dont have any other experience in programing. Sorry if I mispell something, i'm Brazilian and have a...
  16. L

    Need help with this error

    The error is number of arguments expected 1 got 0
  17. elmwood

    GML ds_priority_delete_max() returns 0 if the data structure is empty?

    Hellow, I seem to have inadvertently discovered that ds_priority_delete_max() returns 0 if the data structure is empty (and cleared beforehand using ds_priority_clear). Why does the function return 0 at all? Why not "undefined"? Could not find an answer in the documentation.
  18. L

    GMS 2 can i move objects in a room's instances layer in code

    I know you can change the order of which objects are layered on top in the room editor, but I want to be able to bring one behind another or back in front while the game is running. This way, the player walking lower on the screen appears to be in front always. I was reading into all the layer...
  19. A

    GMS 2 Deactivated instances and with statements

    Hi, I tried to find an answer to this but couldn't find it. Does with statement work with deactivated instances. Let's say an enemy has a variable hp and all the enemy instances get deactivated when they go off-screen, can I still find their hp with a with statement? If not, is there a way to do...
  20. OliverLugria

    Job Offer - General Hiring pixel artist and programmers

    Hello, my name is Oliver and I am in need of pixel artist and programmers for a new rhythm based rpg "Pulse". Combat is centered around inputting party commands in time with the background music along with many other music related mechanics. The first major goal will be to create a proper...
Top