how to have a camera follow the player in a rollback game (gamemaker)
I generally can't figure it out, I don't know how to keep some input local, rather than it being shared to both pcsTried Youtube, however, there was nothing on the subject. Even the official gamemaker...
View ArticleGame maker refuses to compile and run game, with error message "Unable to...
I am currently doing a project in a fresh installation of Game Maker Studio, version 1.4.1499. When I attempt to build and run the project (using the run button, the run menu option, or by pressing...
View ArticleGamemaker not able to connect on port when running Debugging Mode
I currently am unable to debug in GameMaker as it keeps saying "Unable to connect on port ####, please change value at General Settings->Debugging->Debugger Port" everytime I try launching the...
View ArticleHow can i make text showing up after some period of time?
I am a newbie. i wanted make little text showing under the door after player reaching the door and waiting some time, but text doesn't show up. text part works fine, but " call_later" not.var _callback...
View Articlegame maker modifying windy woods game
I am a complete beginner in using game engines and creating games in generalI have a project to implement and I am trying to learn while implementing it at the same timecurrently, I am using the Windy...
View ArticleFisheye effect in GameMaker Ray Casting
I've recently made an easy ray caster in Game maker just with a 2d game where you walk and collide with walls and then i added a ray caster to it:function cast_ray(sx, sy, sdir) { var rayx=sx var...
View ArticleGamemaker game freezing computer
My friend is currently making a game in gamemaker, but whenever I test it out for him my computer seems to just completely lock up. My PC that I am testing on is no way underpowered, it has a 2500k,...
View ArticleHow can I alternate between three points with the camera?
I am trying to make it where you have the camera move between 3 points when you change the current state of where you are looking at (left, middle, and right).What I tried is to create a seperate...
View ArticleI want to create a One-Way platform in GameMaker, how?
So i wanted to create a one-way platform for my game, I'm a beginner in GameMaker (and coding in general) , and new to StackOverflow so I don't know how to do it.I have my obj_player, with a create,...
View ArticleSprite_index is not set
I'm following a YouTube tutorial on a fighting game. Facing an error:Var <unknown_object>.sprite_index not set.The error was here:if (sprite_index != sprKill_foward){ sprite_index =...
View ArticleTransparent Window with Clickthrough and on Top
I am currently working on a small overlay project in Game Maker that I want to always render on top, have a transparent background, and allow clickthrough to the window behind it. Using GML extensions...
View ArticleVariable isnt properly checked in if statement
Somehow I can spam "Q" to have the if statement run infinetly as if the cooldown never gets checked for or never UpdatedI wanted to have like a cooldown timer of 60 Frames and only have this Sequences...
View ArticleDestroy Sequence after being played in Game Maker
The Code plays an Attack Animation (Sequence) if the cooldown timer hits 0 and "Q" is pressed. The problem is, that I dont know how to delete the sequence after it has finished its animation of 12...
View ArticleGUI will only Work for Newest Towers and I Don't Know Why. (Gamemaker)
I have a problem where in a game. when I make in a place the first tower the GUI works fine, but when I place the second tower the GUI only works for that second tower, and it just goes on and on for...
View ArticleHow to Trigger a Destruction Animation on a Character When a Bomb Explodes in...
I'm developing a Mario Bros clone using GameMaker Studio, and I've added a unique feature where Mario can throw bombs to defeat enemies. While I've successfully implemented the bomb-throwing mechanics,...
View ArticleCollision GameMaker issue
I'm new to GameMaker and I followed a tutorial by "Let's Learn This Together". I was trying to make collisions for my character, however every time my character bumps into the object, they get stuck...
View ArticleWhy in game maker when I try to add or modify my jump height, it doesn't work?
Whenever I try to change the equation, the jump height doesn't change at all. Only when the value added to the y constant is negative the "jump" height changes. It teleports through the platform. Also...
View ArticleMethod inheritance in GML
So, I have a "trigger" system in a mod for a Pizza Tower, i made so that there is a obj_trigger parent and an obj_delay child, the parent has a method to execute the main functionality of a...
View ArticleGamemaker, one way platform
movingPlatformThis is the jump through platform I used in my game. If I jump on it, character can't stand on it again so the player falls off the platform.My code:...move_dir = right_key -...
View ArticleGame maker - when changing rooms in-game the character instead of going to...
So, I'm new to Game maker, and while trying to make an object that teleports the player to the next room, instead it teleports the player a bit to the left inside another object and the character...
View ArticleHow do I flip my player sprite without having it jump farther than where it...
I am trying to make an open-world RPG game. I just started it, and I have the player moving and the animations changing between the idle animation and the walking animation. However I just recently...
View ArticleGamemaker Mobile device Inconsistent Drag Speed Across Different Operating...
I'm developing a game in GameMaker Studio 2 where I implemented touch-based object dragging functionality. The code works as expected on Windows 7, but when testing on Windows 10, the dragging speed is...
View Articleis it acceptable to attach an action to a certain frame in a sprite? (Gamemaker)
So basically I'm making an attack mechanic where the player character charges in the direction of the mouse, but I want for there to be a slight input delay and I'm thinking about doing that by...
View ArticleHow do I scale my pixel art game in GameMaker without blurring the sprites?
I'm currently developing a pixel art game in GameMaker Studio 2, and I'm running into issues with scaling and resolution that affect how my pixel art looks. My game has a native resolution of 320x180,...
View ArticleHow do I make a bloom/glow effect?
While trying to use this code in the create event nothing happens_fx_struct = fx_create("_effect_glow");if _fx_struct != -1 { fx_params = fx_get_parameters(_fx_struct); fx_set_parameter(_fx_struct,...
View ArticleGame maker physics: using different restitutions in one object
I tried to make a game in which the player makes atoms. I'm really far in making a good looking and working game.But now I want to make the atoms have different properties for different phases (solid,...
View ArticleDependency issue in C++/CLI interface to use a C# library in GameMaker
I'm trying to write a relatively simple interface to use a C# library in GameMaker, and I'm fairly certain the issue is on the C# side. I have very low familiarity with both the language and Visual...
View ArticleDot Notation in GML and how do I use this.function()
I'm making a script using GML. I'm quite new to GML but already have some experience in Python and a little bit in C languages.Is this even correct?function tooltip() { var this = {}; this.__init__ =...
View ArticleGML - Error to set position when the object starts
i created an object in gml with Draw GUI event, with the following code:draw_self()draw_set_color(c_black)draw_text(x + 70,y + 50,string(obj_deafult.value))why the object is initializing out of the...
View ArticleWhy does my gamemaker collision system have so many issues?
I'm so sorry if this has an obvious fix but I'm really new to GML and I haven't been able to find a fix online. I've been racking my brain for hours trying to figure out why my movement system barely...
View Article