Guys, sorry for my English, but I need your help.
There are several layers in the room (their number and order can change at run-time). All layers should be drawn with the same shader, but with a different uniform parameter. Parameters are stored in the map (layer ID -> parameter).
It is logical...
I'll try to explain what I want to do the best I can.
I've been looking into the function sprite_create_from_surface, so I can save a sprite from whatever is drawn in a certain spot on my screen.
What I need for my design is actually to create this sprite "behind the curtains". The player...
Hello everyone, I've come here because I need answers about a difficult thing i have to do in my game. I'm making an open space-exploration shmup and wanted to make small space stations that you can visit by foot.
The only problem is that i want the space part of the game to continue running...
I'm not sure if I'm being a complete idiot, but I'm still learning the new cameras system. I've created a room and the camera works fine, doing everything I want it to, but then I add a new layer to the room and then I can't see any objects. I know they exist, since I can see them drawing...
I've been working on following this concept on binary lists as depth ordering: https://forum.yoyogames.com/index.php?threads/depth-ordering-in-gms2-priority-list-nested-list-grid-binary-list.13425/
I dived in to bitwise operators and read through several demo scripts by yoyo along with reading...
Hey,
I have all my wall-tiles mapped out on one sheet (512px x 512px) for convenience and mixing.
If I create multiple layers with the same tile-texture, will these layers also multiply the texture in memory or do they always refer to the same chunk in memory?
Hello!
I posted this in the GMS support forum, but figured I'd also try here, just in case.
I work on my game part time and in the last couple weeks I hadn't touched it. I came back to it recently, and now when I run my game in YoYo Runner, I only get the background color. I get the initial...
Greetings GameMakers! Whenever I go into the room editor, all of the layer folders are automatically opened. I've got a lot of layers and folders for organizing them (I'm using something similar to @MirthCastle's sorting method and something close to his layer conventions. Check it out below if...
Hi, recently I've been working on something that needs to use rooms as templates for a main room. At first, I had the idea of picking the layers of another room and recreate them on the main one, but the porblem comes with the instance layers. I don't know if there is any way to create the...
Hi, I'm relatively new to GMS 2 and quickly getting the hang of GML, and I would like to know if there is any way to have a layer that's more pixelated than another. For example, an 8-bit style game with an hd HUD. If this isn't directly possible, could there be any work around to do something...
I need to draw a sprite at a specific depth in order to fit between layers, but I also need it stretched to double its current size.
Option 1: Create a second sprite which is double its size, move it to an object, and draw it at depth. There are many sprites and this seems horribly tedious...
I downloaded the trial version of GMS2 and I am going through the tutorial "My First Arena Shooter DND".
I am doing what the tutorial says and everything works exactly as in the tutorial until I get to the step in Part 2 when bullets are assigned to a layer of their own. They are then supposed...
IDE v2.2.0.343 Runtime v2.2.0.261
Windows 10 VM output
I am trying to get a background to move in the current room, the room has a single instance layer with an object.
According to the manual...
Hello!
I'm having an issue that seems odd to me, but maybe there's some nuance to Gamemaker Studio 2 that would explain it.
I'm working on a side scroller and I have working with 4 layers in my room to create forground & background areas to explore. This is done with 2 Ground Tile layers and 2...
I've been working a whole lot with Layers in the Room Editor, and one of my larger projects requires lots of layers in each room. I organize them into folders, but every time I open the project, all of the folders are expanded which creates a huge mess. Is there a way to easily collapse layer...
Howdy,
Probably has a simple solution but I can't seem to find it- I generally put my character in a layer below foreground objects to allow for a feeling of depth, but now that I have several rooms that doesn't work after the player has changed rooms because
a) if there is already a player...
Hi.
I've been trying mess with these scripts for something else, but it seems like I can't get the scripts to execute.
Create event of camera object:
rendering = true;
layer_script_begin(layer_get_id("Sprites"),layer_testscript);
layer_script_end(layer_get_id("Instances"),layer_testscript)...
Which is faster?
1. Large tilesets with fewer tile layers in rooms.
2. Multiple Smaller tile sets, but having more tile layers.
If tilesets are split up more, then I need more tile layers . On the other hand if everything is in one gigantic tileset, there would be few tile layers but more tile...
So one thing I just noticed is that if I switch away from a persistent room and then switch back to it the depth of some objects get changed. You can see this happening in this video: https://gyazo.com/d92e7fe0d38b8de2fd73c0b36e664508
Do you guys think this is a bug or should I just accept that...
I bought a project off the marketplace and I'm translating the code from GM2 to Game maker 1.4.
I realized that GM2 one can manipulate layers much easier, however in GM1.4 you cannot. Functions for surfaces are available. Would it be possible to substitute the uses of surfaces instead of layers...