game maker 2

  1. DjennyFloro

    Shaders Progressive construction shader

    Greetings everyone, I am at the conceptual stage of my shader (not coded since I am trying to lay out how the shader should work). The goal is to animate the construction of a building. Here's what I want to achieve: step 1: the first row of pixels is some kind of neon blue glowing (1px...
  2. H

    GML Stop sprite on last frame in object

    So i have this seriusly problem and i don't know how to make it working, i have this on my step event: if (image_index >=6 && image_index<= 8)&&(sprite_index == spr_sonia_down_right){ image_speed=0; image_index = 7; } The thing that i want is that on the last frame...
  3. B

    Game Maker 2 to 2.3 Problem

    I recently changed game maker 2 (where everything in my game worked fine) into 2.3. I just found out my problem where when I go into certain rooms the game crashes due to too many objects, which I don’t have too many of. In game maker 2 the game never had a problem and this only occurs in 2.3. I...
  4. Marko03970

    GMS 2.3+ Lightning system

    Hi, I have problems with the lighting system in gms2. I made classic lights with surfaces, and I added shadows too. It's working well, but when I turn on 3-4 lights it starts lagging. Does anyone know any great tutorial or any advice on how to make it faster? Thanks
  5. D

    Need help with extensions

    Hello, i need help. What i have to do for export resources of a project in a extension and import it to another project in game maker studio 2? Similar to this:
  6. 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
  7. 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...
  8. 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...
  9. 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)...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...
Top