I tried creating hitboxes for my character but they don't seem to be workink, help would be appreciated
first I created an object called o_hitbox and added a collision to my enemy o_knight and then made the following code
creator = noone
knockback = 1
I am trying to create a customized menu as a separate object, however, the code in the object is not working. It should show a list of text options as the you'll see in the code below, however, currently it shows a black screen. Previously, the menu was drawn as a non-interactive...
I'm having a bit of a hard time with my game. I recently began using states in the class I'm taking to help program my game. The idle animation appears to be working for my enemy object, however the jumping start state does not work at all. The instructor split the jump into...
this is just a question that I have. I've been trying to get into animating sprites, and seems the only way to do so is to upload a sprite sheet; is there a way for me to create one of those, because I don't have much experience with that process.
Whenever I try to import a sprite into my resources panel, I keep getting the import failure response. It's been happening lately and has been inconsistent for when it occurs, I don't know why it happens, but I could really use some advice for how to fix these pop-ups, thank you! (I'm also...
So, I am returning to game maker after well-over 5 years away and I'm finding that picking up at my previous skill level is clearly not an option (I've forgotten everything it feels like).
Anyway. I was messing around with a super-simple character movement my mouse clicking
I did it two ways...
I'm making my first game ever and it will be shown at an art exhibition, here in Finland.
Is there anyway to make sure, that player can't leave the game when it's in fullscreen (the game will be played on windows 10) I was wondering that can I disable windows own shortcuts, like alt + f4...
I'm new to videogame development and I was wondering if it's possible to add a loading screen for my game. It's basically a loading screen between the main menu and the first level, because its kinda weird to just press the start game button and then instantly start the game; that would be...
When I watch tutorials online, most of them uses the "Place_meeting" variable. but I saw a built in collision when creating events so I experimented with that. they both seem to do the same thing. I was wondering if there was a difference between the two and in what situation will one be better...
So basically I want to destroy the 1st instance if a 2nd one is created.
here are the current codes I have:
if (instance_number(obj_activetrail) > maxobject)
with (instance_find(obj_activetrail, maxobject))
But instead of destroying the...
I want to slowly "move" my value from, for example: 2 to 0 without "this":
Sometimes, values that need to slowly decrease or increase are starting to "twitch", trying to get into a certain interval or position.
How to fix it?
So, i'm making a moomoo.io like game for educational purposes, i've came to need a tool bar to switch between tools and weapons, i've sketched some ideas, as the calculation for the drawing event and everything, i just have no idea where to start, like arrays and switch functions. Any link to a...
I have been searching for hours, tried 3 or 4 diff tutorials, scoured the forums/reddit/stack exchange, the GMS 2 manual and the GMS tutorials.
I am trying to program the score object to remain on screen while the player object moves upwards on a level but it always remains static...
currently, I'm working on my first project with code. and now I'm at the point to add enemies. I would like to make a spawner where the enemies are created within a current amount of time.
basically, there needs to be an object where my enemy's spawn after about ten seconds. I think...
I've searched high and low for a solution to this issue, and I'm not experienced enough to tinker with things like this myself. I am trying to make the background scroll by to give my game more of a 3D effect. But when my character moves, or stops moving, the elements of the background move...
Hi total noob so please be gentle.
I'm following a 'spelunky' style level gen tutorial and im currently making a script. my issue is when i try to set some variables in the IDE they do not turn blue, also some of the other parts of the code do not change to the colours of the tutorial.
2D game. I have a player moving inside a moving ship.
How do i get the player to stay on the ship when the ship is moving around, and be able to move around while the ship is moving. Also turn the player relative to how the ship is turning?
I need help, I wanna have an object get a variable that has increasing value for every object in the room.
for example I want my object called obj_object with his variable called "id", so there is 3 of them in a room, the first obj_object will have 1 as its "id" variable and the 2nd will have 2...