Create Puzzles
It's finally time to start creating the puzzles for the game. I had about 20 already made but I deleted the file they were in while in a rage over a bunch of clutter. I'll also work on any bugs I come across of course.
While trying to fall asleep last night, I had the idea that in Room Designer, the user should be able to move the created room around the grid in case one side runs out space. I started coding it right away and it seemed pretty simple. Maybe I could write a function in the GridSpace class to copy the values of a neighbor GridSpace? Then I began thinking about SwitchTiles and SwitchTileClients and thought this could be a mess so went back to bed. But again, while trying to fall asleep, maybe I just need to move everything 38 pixels in the desired direction and tween the out of place spaces to the other side of the grid. Then use a function that's already in place to update all the gridIndex and roomIndex values. Yes. Maybe that could work.
No comments:
Post a Comment