All Posts in GameMaker Studio 2



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


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


For day 505 of coding, I managed to alter the path making process to be based on the shortest distance to the starting room. This was done by calculating the hypotenuse using the x and y distances


For day 504 of coding, I've developed a prototype code for creating a path between rooms with room 0 and 1 as the test targets


For day 503 of coding; in working to find a way to implement connecting hallways, I have made an array containing the roughly center point of each room. This array is used to assign numbers to each room


For day 502 of coding, I have allowed different sized rooms to be generated without overlapping each other. I just need to figure out how to connect them


For day 501 of coding, the starting room spawns where the player's spawn point is located


For day 500 of coding, I started making steps to implement a system to randomly create rooms connected by hallways. So far, I have just made a function to create a 5x5 areas of floor that you can kind of see from the different maps


For day 499 of coding, I have altered how the player will spawn in the room to better prevent them from starting on walls. It will need to be worked on a bit more to ensure a guaranteed spot on the floor


For day 497 of coding, I have updated the exit spawn so that the exit will spawn next to two walls. I may need to make further refinements later on