Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
hi
I'm working on a pen&paper helper thingy that creates objects upon pressing a button (like map object;walls etc.).
It's crucial that the last created object is overlapping all previously created objects and I dont know how to get that working.
Sorting the depth by y-value makes no sense, I...
I got a textbox system here, but I got a problem that when the textbox destroys itself, it creates itself again due to this in the step event of the person I'm talking to:
(KeyInteract = vk_space)
if(!instance_exists(obj_textbox)){
if(place_meeting(x, y, obj_player)){...
I tried to find it out myself but all of the tutorials explain how to randomly respawn after some time and I need my object to respawn on the exact same place it got destroyed and just after it got destroyed and not at a certain amount of time :) If someone could tell me how to do it or where to...
I have now been using Game Maker and learning to code in GML for 3 days. Someone else on here helped me with something before so I am hoping someone can help with this.
I have tried to code a laser bullet to shoot from my ship, but when I press the space bar that I have assigned to shoot the...
Hello everybody. I'm a beginner to GameMaker 2 and GML. I've been using the engine for only 2 days so far.
I've encountered a problem with my code. My project is a 2D top-down space shooter. I've been following 3 different YouTube tutorials on making a movable spaceship. One tutorial I watched...
Hi guys, after the update to the 2.3.0 version when I run a project (converted to 2.2.5 or not) I can only see the background and hear the music, nothing else. Object and tilesets seem invisible.
I have already reported this problem as a bug to YoYo. They suggest to switch the graphic card to a...
Hello..... i am making a multiplayer board game or sorts.
What is done/working:
-server/client buffers passed back/forth between each player (movement, sprites, etc)
What I can't figure out and trying to do:
-Player "A" and "B" are standing next to each other, both next to a room, with a...
is there a way to instantly make an object for each selected sprite? in the resourse three. and i do need it in the resourse tree becouse i have to put them in specific places in the room editor, cant even code that out.
I'm in the very early stages of a simple strategy game which involves picking up things with the mouse to move them. At some point the object/mouse tracking seemed to break unless you moved slowly but I couldn't understand why as that's pretty much day one code I've not touched since. I've...
So, I want to create level editor for my game, and I have stuck again. Now I don't know how can I collect all my objects that I can edit in one ds_list without creating their Instances. Maybe there is a way I can loop through all of the objects and check for their parent, so the manager objects...
Good morning/afternoon/evening! I'm making a tile-matching game and need pieces to fall once a said line gets completed (removed).
Thus, I tried making a
if object.y < self.y
with(object) triggeringvariable = true;
once it turns true, the object gets their ".y += 30". The problem is, instead...
I have objects used for the player to collide into to change rooms called "o_transition". Each object has a unique with a naming convention (current_room_to_target_room) and has a a variable for the current room it's in and the target room to move to in the creation code. I'm trying to find a...
Hello, good morning/afternoon/evening!
I'm using a collision rectangle to identify other object instances around the room, and, while there is any of those specific objects touching/being inside the rectangle, the main character (whose posseses the collision rectangle) will change a variable...
Hello!
Are there any difference for game if I have (for example) 10 objects or 10 instanses of one object? For memory/performance/etc.
I have found 2 ways to make a cutscene, and first is to create a new object for every cutscene, second is to create different instances of one object (it uses...
(I'm not currently in the beta so I thought I'd pose the question here, hopefully someone can help me before the official release!)
So in my current project (a fighting game), I have the ability to save replays and play them back. I have a fast forward feature that lets you play through the...
Ok, so I'm making a game in which you click the trees, then they give you wood. I need to make an object to show how much wood the player has.
In the tree object, I have these scripts for the Global Variable "Wood":
global.Wood = 0;
//When Tree clicked, add +1 wood and disappear.
if...
Idk if was a post already. But how to i drag and drop an object that has path finding codded into it? Here is the code I have so far:
if treached = false {
sprite_index = spr_villagerMoving
if (!instance_exists(target))
{
// create new target
var gx =...
Hey yo!
I've searched through the forum but couldnt quite find a fitting solution for my problem.
I hope one of yall can help me:
I am making a simple 2D Platformer on GMS 2.
I wrote a code, so if the player gets near "Obj_Block_1" the Player collides with the Object. In other terms it becomes...
Hello, this is my first post after weeks of using the forums as an excellent resource. I come from a Python background and there are built-in functions such as wait(), which allow me to 'pause' the execution of the script.
I have written a script (shown below), which currently causes my NPC to...