All Posts in GameMaker Studio 2



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


For day 496 of coding, I am current attempting to have an exit placed randomly on level start. It does need some refinement so that it will always show up


For day 495 of coding, I have refined the code provided from Heartbeast's tutorial to have the player spawn in an open area. Still needs some adjustments, but the spawning has greatly improved