help

  1. C

    How can I add live-action footage (MP4s) in GMS2

    Hello! I'm new to game development and have an idea for my first game. I am an experienced writer, editor and content creator so I know how to make videos. But one thing I'm curious about is how to add live-action footage or video files into GameMaker Studio 2. The game I plan to make is a Henry...
  2. yvodlyn

    SOLVED [HELP]Perfect collision problem

    Hi everyone, Can someone help me with this issue? I want to create a perfect collision for a bouncing player. However the collision do not reach the floor before bouncing. The player bounce 14px before it reach the floor. Create Event object player vspd = 0; //vertical speed vspd_jump = -14...
  3. PotatoSnail64

    GMS 2.3+ Having trouble with instance varisables

    I am trying to make one object that can act as every doorway in my entire game, and the only things that I needed to change for the doors to go somewhere specific were variables, and I could not find any way when selecting an instance in the room that could change that specific instances code...
  4. B

    SOLVED Topdown Grid-based lightning system.

    Hey everyone! This is my first time on this forum! Hope you guys are doing well during this pandemic. It gave me the time i need to create a game i always wanted. I'm fairly advanced with GMS2, allthough iv'e run into a problem. Perhaps you guys can help me out. What i want to achieve: Like the...
  5. R

    please help

    well, I was trying to make a system that when you're colliding with the obj_mosca{ eat = true } ,and when it's not{ eat = false } and when eat = true and the keyboard_check (vk_space) { instance_destroy (); } but even if the player is not colliding, when pressing space the obj_mosca is...
  6. R

    SOLVED draw_background() function not working properly in HTML5

    I have an issue with an HTML export, however this works flawlessly in a Windows compile. Problem: background change isn't detected in draw event. My draw event contains this piece of code: if surface_exists(surf_action) { surface_set_target(surf_action); //...
  7. yvodlyn

    GMS 2 [HELP] Character returning to start position

    Hi everyone! NEED: I want to make a game where the player can return back at his start position. However, I don't know how to create this system. EXPLANATION: When we click with the mouse button, the player will move to the nearest object or enemy (I KNOW HOW TO MAKE THE NEAREST SCRIPT). When...
  8. S

    GMS 2.3+ Help with implementing turned based RPG stats

    I have a problem with making a consistent way for the enemy to take a resonable amount of damage with stats like defense please help.
  9. Freezin

    Error working with yaxis and xaxis.

    I have defined both the xaxis, and the yaxis variables. I still get this error every time I try to run the program. ___________________________________________ ############################################################################################ ERROR in action number 1 of Create Event...
  10. William Garrison

    GMS 2.3+ Variable not working?

    So simple enough. I am trying to make a parent asset that utilizes the in room variable for what object is being controlled and/or called. But the game doesn't seem to be recognizing it. So here is the setup... Inside the Step Event if (triggered = 1) { instance_create_layer(oHero.x+150...
  11. B

    Nothing I do will show up as a preview

    I have done almost everything to try and get sprites/objects to show up on gamemaker for Windows 10. I have: -updated runtime -restarted PC -made new projects -drawn events (only gotten text) -removed avast -made objects persistent -changed background color -run other people's demos (WHICH WORK...
  12. UndeadVikingStudios

    GMS 2 How do you obtain yymanifest.xml and metadata.json files?

    So I'm brand new to Game Maker 2 and I want to upload a packet of sprites that I have made onto the Marketplace for sale, but I can't for the life of me figure out how to obtain the xml and json files that is needed to be included in the zip file. I already have the png files zipped and ready to...
  13. William Garrison

    GMS 2.3+ 9slice not working quite right?

    Im sure it's not exactly 9 slice that is the issue but something in my equation or setup that is causing the issue. Problem is I have stared at this for so long I cant see whats wrong. Okay so the issue... The 9slice is drawing exactly as it should....sort of. It draws the box right is the box...
  14. T

    How to make collected keys and unlocked doors not reappear when the room is re-entered?

    I'm working on an RPG and it will have keys and locked doors / blocks. Keys will be limited to the dungeon they are found in (so you can't use a key from dungeon 1 in dungeon 2 etc.). I have the following in the create event for the object obj_game: //Keys global.keysNormal =...
  15. C

    Help with collision system

    Ok, so this is a bit of an advanced request for me, but I feel like I'm on the verge of a solution. I'm trying to make a collision system for my game, but I don't want a basic "if player were to move into collision, don't" type system because it doesn't fully work with what I'm trying to do. At...
  16. C

    Need help calling proper instances

    I'm trying to make a feature in my game where when a player collides with a wall, they can push their back up against it and sort of sidle along the wall, as soon in most stealth games. My solution for this is to check for collision, then check for input, and if everything goes through properly...
  17. Y

    Windows Help! No assets/instances showing. Just solid color background.

    Hello! Today I purchased GMS2 and imported a game from GMS1. When run, it didn't display anything unless it included a solid color background, in which case that was all it could display. Since the room used a blue sky, the whole screen was blue, but nothing more than that. I tried with some...
  18. Plubu

    SOLVED Smooth Parallax Background

    Hello everyone, I've seen videos of how to code a Parallax Backgrounds, it worked for me but it's not smooth, when the player stops or just starts moving, the background ike cuts off or something, it's not smooth. This is my Camera object: //Create //Display Settings IdealWidth = 1920...
  19. Plubu

    SOLVED Darken an application surface (Pause Menu)?

    Hello everyone, I want to make the pause menu to make the surface behind the pause menu darkened, like most any games you play when you pause them. This is the Pause_Object: //Step if keyboard_check_pressed(vk_escape) { global.ScreenshotSprite =...
  20. C

    GML Help with rotating sword attack

    I've been trying for a while and I can't figure out a way to "animate" a sword swing attack. What I want is for the sword to swing down really fast and then return to its previous state every time the left mouse button is pressed. I want this to be able to happen at any angle the sword is at and...
Top