game maker 2

  1. M

    how do i make my character movement more smoother?

    how do i make my character movement more smoother? like car speed from slow to fast. could you please write the coding, i really need some help
  2. Toborochi

    GML About script_execute performance on Step Event

    I recently did a little experiment with a FSM. I don't know how script_execute works below, so my question is: Is it good practice to use it in the Step Event? Here is the link to the project on github: Github Link Basically what it does is change the script when it changes state and execute it...
  3. B

    Making a Solitaire Game

    Hi, I've been working on a solitaire game and I'm looking for advice on what the best approach might be. I want to have the cards laid out like solitaire and the ability to move multiple cards in a column at once. If anyone has any ideas on what might be the way to do this, that would be great...
  4. DaxOttsel

    GMS 2 Creating aiming system like the one in this game - Help!

    Hi guys. I'm new here. So, I'm a big fan of a truly underrated game called "Superfighters Deluxe" and I'm trying to do a similar game in Game Maker and I want to do a aming system like the one in the game. Here you can see how you aim and shoot in that game: (Select minute 2:11 to 2:25)...
  5. TheMrPancho

    GMS 2 Eliminar ultimo carácter de una cadena de texto/Remove the last character in a text string

    ¡¡Hola, primero que todo soy un usuario de habla hispana y mi inglés no es muy bueno!! Bueno lo que busco es como eliminar el último carácter de una cadena de texto. Llevo dos días usando Game maker 2 en su versión prueba, y me falta mucho por aprender. una agradecería de corazón su ayuda...
  6. S

    failed to load error

    hey guys! so I was working on my project on a different computer so I uploaded the game file to google drive so I could also get it on this computer (the one im using to make this post). I went to open the file but it loaded and then came up with an error around the lines of : "error failed to...
  7. S

    sprite gets stuck in wall

    hey guys, while i was trying to figure out my jump sprite i decided to try and copy paste someones code, it helped with the jump sprite, but when when the character spawns, it falls down and lands in the middle of the wall and i cannot jump or move. i took out tiny areas of code and this is the...
  8. TorradaIsToast

    GMS 2 Sprite masks [SOLVED]

    I've been messing around with blendmodes and image manipulation on GMS And I'm trying to create a simple system that makes the part of an overlaying object to be transparent. Here's a rough sketch of what I want I've tried to use blendmodes and "gpu_set_colorwriteenable" but I can't seem to...
  9. M

    GMS 2 questions about collision_line

    now I use this command in this way if !collision_line (enemy_obj.x, enemy_obj.y, object_player.x, object_player.y, object_wall, true, false) { further a long code so that it follows the player } it only works on 1 enemy, only 1 enemy reacts to me, and thus, when he sees me, he launches a...
  10. muddrox

    Question - IDE Room Editor - Inheritance issues

    So recently I wanted to try out room inheritance to make my project more manageable. I am new to using Game Maker 2 after prying myself away from Game Maker Studio 1.4 but here I am. However, I have found room inheritance to be quite infuriating and it has led me to ask a number of questions...
  11. DeadBot

    Textures pages and game load time

    [Solved] I have a question regarding a games load time. I read in the documentation that in the Windows platform all texture pages are loaded into memory. If these texture pages are 4096 x 4096 and there are more than 100 in total, will this impact the games startup speed? If so I would assume...
  12. 3

    ds_list still gets value pointed to after deleting[SOLVED]

    When I execute this code: dsListOld = ds_list_create(); ds_list_add(dsListOld,"old"); ds_list_destroy(dsListOld); dsListNew = ds_list_create(); ds_list_add(dsListNew,"new"); and look in the debugger then the debugger shows me that there is a dsListOld which contains the value "new" and there...
  13. André Guilherme

    GML How to create collision shape for a line that the player is drawing?

    Hi everyone! I'm making a game using physics in which the player can draw a line that functions as the ground. I can already draw the line, but I'm having trouble setting up its collision shape, and the ball never collides with it! (see image) Here's my code! When the player holds the left...
  14. FoxyOfJungle

    GMS 2 [SOLVED] zip_unzip() - How to save in a different location?

    The new version of Game Maker Studio 2.2.3.436 lets you disable the engine sandbox, this works with the "file_" functions, but doesn't work with zip_unzip(). Is there any way to extract a zip to any location outside of "appdata"? I'm basically doing an update system, and I need to extract the...
  15. SanDeity

    Windows Programming a Complex Series of Events

    Hello everybody! I am somewhat new to Game Maker and I am using Game Maker 2. This is my first post on here and I have used the community without making an account for a long time to help solve issued I had with programming but I have recently run into a slight issue with a big project I am...
  16. zendraw

    Discussion What i dont like about GMS2

    Im making this thread becouse of weird design choises from yoyo which hopefully theyll fix and make the IDE more adequate. for now: - when you double press on a text, it selects everythng after the text typer not before it, this is most alien to me and unnatural, litteraly no software i have...
  17. Adriano_ppaula

    Android / Amazon Fire [80%] Doubt with virtual_key

    Hello everybody! I'm having trouble creating a virtual_key system with the keyboard keys on GMS2. I'm following the tutorials all and doing it the right way but it does not work on android. CREATE var vx=camera_get_view_width(view_camera[0]); var vy=camera_get_view_height(view_camera[0])...
  18. R

    Help Creating Dynamic Particle Speed Along Y Axis

    Hello GM Community, So i created the following particle effect following some youtube guides: //// Light Beam Noise System lbeamNoiseSystem = part_system_create(); //// Light Beam Particles lbeamNoise = part_type_create(); part_type_shape(lbeamNoise, pt_shape_line); part_type_size(lbeamNoise...
  19. V

    Android / Amazon Fire on_game_paused and saving on android

    Hello! My name ist Colin. I got a problem with saving my game with *.ini files while using step event and on_game_paused. I also used Game End and Room End events. Also I used event_perform in combination with step and on_game_paused and performed a new user event with that code in it. This...
  20. C

    GMS 2 Help! Sprite Animation

    So I am new with GMS and I am working on some player movement. I have used a premade sprite sheet for a place holder and have used multiple sprites for a walk animation. I did some tinkering around and I was able to get it working properly (ie when the user holds "A" the sprite moves left with a...
Top