1. M


    Hi, I´m making a plataformer game and in my character I put this in the Step event: var hor = keyboard_check (vk_right) - keyboard_check (vk_left) if (hor != 0) { if (place_free(x + hor * 2,y)) { x += hor * 4; } image_xscale = hor * 2; sprite_index = sPersonajeWalk; } else {...
  2. Yellowhite

    SOLVED Help to object in bad view position

    Hi guys, i recently have created a room of 3840x2160 and i put it a view of 1920x1080 (i can't change this, it's necessary) So, it's look its like thats: So, i have created a object called "Dialogbox" and in the Step code i put to him be like: x=view_xport[0]+12, y=view_yport[0]+24 and so, the...
  3. P

    Game Maker wastes disk space. Help.

    Hello, I am facing a rather annoying problem. Little space is allocated on my system disk, and the program wastes space with each launch, in particular 20 megabytes. The computer is not mine, I cannot afford to allocate more space. How can you fix this? Is there any file where all the launch...
  4. R

    Draw GUI scaling

    Hi all, I have experienced a number of issues when it comes to drawing graphics to the HUD. The current issue I am facing is a simple sprite scaling issue. For example when I collect a gem I would like my HUD gem to scale up slightly and then back down. I seem to be having problems with it. Am I...
  5. FranciscoJGamer

    SOLVED The new 9slices dont work

    Im trying to do a advanced textbox with text modifiers and I was using a normal 9slices script to draw the textbox and it worked correctly, but now I upgraded the project to the newest versión with the draw slices included but when I run the game it draw the sprite like it was only scaled...
  6. N

    Windows Problem with running a project

    I am having a problem: The project is not running at all. Output ends with elapsed time 00:00:00.1110064s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-" started at 02/07/2021 10:12:03 What do i do?
  7. Luquemeister

    How to Create a gui layer?

    Hello every one!! I'm trying to create a GUI layer but I didn't find any tutorial or documentation easy to understand for begginers, I watched a few times the video of @Pixelated_Pope where he explain for more advanced user how to implement a GUI layer where you can change your aspect ratios, I...
  8. Luquemeister

    GMS 2.3+ Saving and loading problem(mobile game)

    Hello! I'm trying to implement save and load in my game, is simple, I only want to save a variable (at the moment) the number of coins player has. I have an object called: obj_dataManage which is placed in the very first room of the game in the create event: global.coins_number=0; load_data()...
  9. A

    SOLVED Instances not showing up in my game

    I recently began a new gms2 project. I did the beginning stuff (made basic sprites, a player object, etc.) but when I went to run the game, nothing showed up. I made a game object to draw a gui and that worked fine (and removing that didn't fix anything), but the player doesn't appear. Using...
  10. Luquemeister

    SOLVED Problem colision with walls sometimes bugged.

    Hello every one I'm trying to recreate the Breakthrough game in a mobile version, making some testing in the game I found a kind of strange bug and I dont know how to fix it. The ball in the game should bounce properly without staying in one bordermoving up and down.
  11. Luquemeister

    SOLVED Problem with the Scale ratio and the resolution of my portrait mobile game

    Hello everyone, recently I have been having some issues with the resolution of my game, it only has one room at the moment , which width and height values are 1080x 1920, in some devices like for example my phone which resolution is 1080x 2400 some horrible black bars appear, is there any way to...
  12. Luquemeister

    SOLVED breakthrough mobile version problem

    Hello every one, these days I've been trying to replicate the breakthrough game from the tutorials but for mobile, the main problem that i encountered is that I don't know how to make the pad stay in the game area and dont dissapear, I'm trying to implement the gesture event: drag start...
  13. FoxyOfJungle

    SOLVED Scrollbar problem [Partially solved]

    I'm trying to make a simple scrollbar work, I managed to do the main thing, which is to move it. The scrollbar function returns a value between 0 and 1. What I want to do is move the Y of an area according to that 0 and 1. The video below shows what happens: The video is a bit long, but I...
  14. K4st0r

    SOLVED Problem with Draw Text

    Hi! I'm making a Visual Novel on GMS:2 and i have a problem. Every time I use the draw_text (); in the draw event, it is centered in the middle instead of the upper left corner. Which is very annoying, because when using the typewriter effect the text is centered and ends up leaving the...
  15. Misael644

    SOLVED Event collision problems involving multiple instances.

    Hello again! I'm here because I'm having problems with my game's collision event. Basically, I'm trying to simulate a starfield that works like this: I have an object called "obj_star", in the game, it is spawned by "obj_starcreator", which spawns a star in a random place on the screen. And so...
  16. erys

    collision problem

    does someone knows why it happens ? // controls press_right = keyboard_check(vk_right) press_left = keyboard_check(vk_left) press_jump = keyboard_check_pressed(vk_space) // mouvements var move = press_right - press_left; hspd = move * walkspd; vspd = vspd + grav; if (place_meeting(x, y +...
  17. G

    I am getting a programming error message: Variable <unknown_object>.y(1, -2147483648) not set before reading it.

    So, i follow a tutorial and i made the script as i saw from the tutorial but i got this message ___________________________________________ ############################################################################################ ERROR in action number 1 of Create Event for object...
  18. A

    GMS 2 Sprite problems

    My Sprites wont show! I am a beginner and I was making one of my first games (Following Shaun Spalding Platformer series) and for some the sprites won't show (and settings were set to "visible", The layer was in front, And the objekt I had was out on the background) What should I do? Can...
  19. S

    SOLVED Hi. My space ship and lasers are not colliding with and destroying the asteroids.

    Hi. I have triple checked my code for the collision of my ships and lasers with the asteroids, and destruction of the asteroids. There isn't anything wrong with it that i can see. The asteroids themselves seem to be floating on top of the space ships and lasers, as if they are on a layer on top...
  20. ohdudehelpme

    SOLVED Help with url_open()

    Hello and sorry for my dumb question.... The thing is that i have a button, and when its clicked, opens a Facebook Page Link, and when I click the link, the browser adress looks like: %22http// Here´s the button code: if (mouse_check_button_pressed(mb_left)) {...