Hi guys
I just figured out, that a child object can have just one parent. I would like to group some objects for different collision checks and behaviours, but some objects has to be in multiple groups.
How can i solve this?
Example (Pseudo code)...
Hello Everyone
I have now tried multiple tools like GitHub, Bit Bucket the vanilla GMS 2 Repository Tool etc. for collaborating with a friend.
This is however almost impossible by the fact that creating folders, objects, scripts etc. also add code to the main file and other files.
Every time...
Hi, I am currently working on an airline management game in Game Maker Studio 2. I have a background sprite of Europe and one kind of object (obj_destination) on every airport. I am working on routing but I can't figure out a way to get the id's of two obj_destination (departure and...
Hi, I have an action rpg project. In the player object i have an enum with 3 states: move state, dash state and melee state. When I´m dashing or attacking the player just stops until it finish the action.
It turns out that I´m trying to make the player move when i´m attacking or dashing (before...
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...
Hi all,
I'm having an issue drawing a rectangle with the Draw GUI event in GMS2.
The game has a room size of 320x180, and I'm running a 1920x1080 window. Everything seems to work as expected except for the draw_rectangle function, which seems to add 1 game-scale pixel to the coordinates I give...
I was copying a tutorial on how to make a simple system of dragging individual cards onto a deck of cards. I've copied the code exactly and know it's right. It seems that the left mouse pressed and released events are just unresponsive. Most the time I click on a card and it stays following the...
Hi,
I have a camera object that zoom in and out. When zooming I want no change in the size of some text and sprites I mean they remain in fixed size. How I do it ?
Thanks
Hey there! After working on 2D projects for about a year I've decided to try out 3D in GMS2. For now I'm focusing on player movement and the visual style, but I know the game is going to involve jumping between small planetoids with their own centers of gravity, and I have no idea how that would...
I have put the code in the place in the YYGML.h file as indicated. Then I pressed: "Delete Asset Chache" in "General Settings" -> "paths".
Then I saved and ran the application with F5, then saved again with: "Ctrl + S" and exported.
When exporting, however, the specified additional files were...
I tried to incorporate the code from the wiki page but this is wrong when you insert it!
What am I doing wrong here and what do I have to do so that I can take screenshots that are then saved on Steam?
/// @description Making Steam Screenshot
steam_send_screenshot(filename, width, height)...
When I didn't know I pinned the ID from the Steam page in Gamemaker Studio to my game to unlock achievements etc.
Everything still worked independently and I was able to take screenshots in my game without programming a specific function for it in GMS2 in my code.
But since I inserted the Steam...
I'm sorry that I have to make another thread so soon. This probably wouldn't have happened if I remembered to make a backup as I usually do before adding something else and I made too much progress to go back to a previous version.
So, still following the same tutorial from last time (though I...
I'm playing around with 3d at the minute which is quite fun, I've learned how to use vertex buffers and formats to create walls, floors, etc.
I'd like my npc's to always face the player, but they seem to be rotating from the side rather from the middle for some reason.
I've made this npc spin...
I've been trying to get help for this for a while now. So there's that.
I've been following this tutorial (but with some things removed to fit what I wanted). I finished the second part and decided to mess around a bit by changing the inv_slots = 15; to "inv_slots = 10" but then it broke; the...
Problems with for loop in DRAW-event
Greetings,
I’m new to coding and wrote my first line of code only a month ago. Been following tutorials on Skillshare & YouTube and currently taking baby steps still.
So, I want to draw a grid (tower defence game) in my room and for some reason just can’t...
Hello! When I enter the room, it reproduces the blocks, but when I move to the next and return to the first, nothing is reproduced in it :(
p.s .: rooms are not from GM but are generated in the same GM Room after moving outside the camera.
I would also like to know if I can mark these objects...
If I try to run with the left knob, then only the up and down run works because nothing works with the gamepad on the left and right.
And the directions that work are carried out endlessly after just a short movement!
What's wrong here?:
#region Laufeingabe
var hoch = keyboard_check(vk_up) ||...
but I have very, very many lines with creating objects. how can I effectively add them to ds_list. or maybe there are other options?
I have a script in which there is the following:
in the controller the following:
in the scripts are switch systems in which everything is indicated in a...
This is a create event and when I run the compiler it says that room_type is not set.
also if I directly insert a digit into the argument field, the code works.
var room_type =5;//irandom(559);
case"fixed":
// if (up == true) and (bottom == false) and (left ==false) and...