471 questions
0
votes
0
answers
170
views
Error with gradle when running gamemaker project for android
This is the error i always get when i try to run my program with android studio:
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by net....
0
votes
0
answers
56
views
How 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);
...
2
votes
1
answer
55
views
is 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 ...
0
votes
1
answer
42
views
Gamemaker Mobile device Inconsistent Drag Speed Across Different Operating Systems (Win7 vs. Win10)
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 ...
0
votes
1
answer
152
views
Game maker - when changing rooms in-game the character instead of going to the other room, duplicates and breaks
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 ...
1
vote
2
answers
120
views
Method 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 ...
1
vote
1
answer
120
views
How to Trigger a Destruction Animation on a Character When a Bomb Explodes in GameMaker Studio?
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,...
0
votes
1
answer
291
views
Destroy 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 ...
1
vote
0
answers
285
views
Transparent 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 ...
0
votes
1
answer
311
views
I 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, ...
0
votes
1
answer
167
views
Fisheye 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
...
-1
votes
1
answer
113
views
How 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.
...
0
votes
1
answer
136
views
Gamemaker 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 ...
0
votes
1
answer
256
views
GameMaker calculate the Object's speed with xprevious and yprevious?
Can't calculate speed based on that.
I'm using paths to move objects so built in direction is speed is always zero?
How can I calculate the real speed of the object?
No matter what xprevious is always ...
0
votes
1
answer
114
views
Im trying to make an animation script in GameMaker
In the script its supposed to run the animation line 6-8 currently and then its supposed to see if down is not pressed and the direction is down then set the sprite to look down Line 23-25 but it ...
1
vote
1
answer
380
views
Problems to insert STEAM API and achievements on my Gamemaker Studio 2 Game
So, i recently launched a game on steam with the name of "Jump By Coronho: Chapter 2"
After some time, people started asking me to implement achievements on the game. Since then, I'm trying ...
0
votes
1
answer
186
views
How do i fix "unassigned variable instance_create referenced" in Gamermaker newest version
So I am getting an error message that says "unassigned variable instance_create referenced"
I am not sure why I get it but I have tried to fix it but with no luck, does anyone know what can ...
0
votes
1
answer
88
views
Unknown variable floor_tex on Gamemaker 8.1. How to fix it?
I have a very trouble with Gamemaker 8.1.
So recently, I've followed this video tutorial which shows creating a game 3D on its game engine.
https://www.youtube.com/watch?v=0Jo0JEEukhc
I tried to test ...
0
votes
1
answer
447
views
GMS2 returns instance_create_layer :: specified layer "text_layer" does not exist even though the layer exists how do i fix this?
heres the code
var _obj;
if (instance_exists(obj_text)) _obj = obj_txt_queued; else _obj = obj_text;
with (instance_create_layer(0, 0, "text_layer", _obj))
{
msg = argument[0];
if (...
0
votes
1
answer
706
views
Spawning Enemies on Game Maker
I am coding a game on game maker studio in which I want a number of enemies to be spawned randomly on my grid every time the game is run. However, I am only getting one enemy on my map each time I run ...
1
vote
1
answer
2k
views
Dynamic font size in GameMaker without loss of resolution
GameMaker allows you to select a font size on a font asset, and this scales perfectly without looking pixelated (with anti-aliasing enabled). However, it doesn't seem to be possible to change the font ...
0
votes
1
answer
274
views
Get value in variable
Hi, I'm pretty new to gamemaker and I'm trying to set a variable (global.b1) to the first value of "global.level_data". For example, global.b1 will be set to mimic the blue outline of "...
0
votes
1
answer
1k
views
Error : Missing or corrupt GameMaker build tools - 0x4F030002 when building
Recently I've updated to GameMaker 2 v2022.5.1.16. When I'm building a project now, I get Error : Missing or corrupt GameMaker build tools - 0x4F030002 compile error. Is there a way to fix this?
0
votes
1
answer
350
views
Converting a "name" to a real, then convert it back to a string
I've ran into some issues with my current gamemaker project. I've setup a simple "merge" functionality in my game, and I'm trying to increase it's QoL
So what's happening when I'm merging, ...
0
votes
1
answer
71
views
Game Maker Studio json_encode encodes 0 as -1.#IND00
I have quite a complicated structure of lists with lists inside, which i encode to JSON in order to save the game, and then decode it back.
I was certain all works fine, but then suddenly, one of the ...