All Posts in GameMaker Studio 2
![](https://s.gjcdn.net/assets/f6fdf465.png)
![](https://m.gjcdn.net/video-poster/900/33381854-bcxgmyv2-v4.webp)
![Loading...](https://s.gjcdn.net/assets/76929a36.gif)
For day 515 of coding, I made a database that stores the xy coordinates of each floor tile in the starting room
![](https://m.gjcdn.net/video-poster/900/33357657-pg4y6x9y-v4.webp)
![Loading...](https://s.gjcdn.net/assets/76929a36.gif)
For day 514 of coding, I have made progress in building a path creation that will keep the hallways a certain distance from other rooms. Some refinement will be done later for functionality, and to prevent endless loops
![](https://m.gjcdn.net/video-poster/900/33329240-uppptk7j-v4.webp)
![Loading...](https://s.gjcdn.net/assets/76929a36.gif)
For day 513 of coding, I have made improvements on path creation. The path now goes directly in the cardinal directions from the start based on the location of the target room
![](https://m.gjcdn.net/video-poster/900/33297818-upmw532i-v4.webp)
![Loading...](https://s.gjcdn.net/assets/76929a36.gif)
For day 512 of coding, I have improved placing walls in the center of square rooms. There are still some areas that I will need to look into for the code to stay consistent
![](https://m.gjcdn.net/video-poster/900/33277794-urtz5uy5-v4.webp)
![Loading...](https://s.gjcdn.net/assets/76929a36.gif)
For day 511 of coding, I made an attempt at have some rooms have a wall in the center of the room. The results are not looking too good right now
![](https://m.gjcdn.net/video-poster/900/33246594-jhhfaqr7-v4.webp)
![Loading...](https://s.gjcdn.net/assets/76929a36.gif)
For day 510 of coding, I have figured out how to ensure a certain distance between the rooms so that hallways can fit in between when needed
![](https://m.gjcdn.net/video-poster/900/33215598-4jtymcsd-v4.webp)
![Loading...](https://s.gjcdn.net/assets/76929a36.gif)
For day 509 of coding, I managed to fix the issue with the exit placement. The exit can now be placed on the last floor tile
![](https://m.gjcdn.net/video-poster/900/33196191-rgy4qxma-v4.webp)
![Loading...](https://s.gjcdn.net/assets/76929a36.gif)
For day 508 of coding, I have input a means through code to limit the number of rooms. This is to try and figure out why the final floor exit isn't being placed like it should
![](https://m.gjcdn.net/video-poster/900/33169830-xcryffjv-v4.webp)
![Loading...](https://s.gjcdn.net/assets/76929a36.gif)
For day 507 of coding, I've made a grid to help count tiles. I've also made adjustments to the exit placement code so that there will always be an exit
![](https://m.gjcdn.net/video-poster/900/33138494-geazkcuh-v4.webp)
![Loading...](https://s.gjcdn.net/assets/76929a36.gif)
For day 506 of coding, have randomized the exit placement a bit. I will have to refine it a bit to at least ensure that a exit is placed