![]() ![]() ![]() If you’re using views, just replace those camera width/height functions with view_wview and view_hview. Here, I’m creating a surface that is the size of the camera. Var h = camera_get_view_height(view_camera) Add a Create event and put this code: var w = camera_get_view_width(view_camera) Place it inside this newly created “TilesInst” layer.įor this, I’ll use obj_watertiles. This layer will be used to hold the object that will draw the water tile, so it needs to stay below your normal layers so that it appears below other layers in the game. Now create an instance layer, and place it below your normal “Instances” layer. So make sure that the tile layer is invisible: So to start, you need to disable the visibility on your tile layer, because we are going to draw the tiles manually onto a surface. Note: Make sure there is no empty space below the player sprite. I just have a player object and a layer of water tiles. people seen as inferior by the Nazi GameMaker Studio 2 is a powerful tool for. You can have complete top-down reflections with a realistic shader in your game, all for only 2 bucks – pay once, use it in as many projects as you like! This is what it looks like: (It is a game maker or rpg maker, not based on tileset for a best liberty. This tutorial simply covers the mirroring of sprites and drawing them over tiles. Here’s what we’re going to achieve through this tutorial: Final Result #GAMEMAKER STUDIO 2 TILESETS HOW TO#Hey there, I’m back with another tutorial! In this one, you’re going to learn how to make reflections using tiles for water. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |