Activity

greywolfcode

I added another checkbox for snap to grid, did some bug fixes, wrote a little bit of documentation for my upcoming story/level file formats, and, for the majority of time, added radio buttons. I will be using these for tool selection, so the are the final element before I will start adding actual tools. The radio buttons look a little cramped, but for the time being they will work. I am hoping that after the wall tool I will be able to start making the actual game engine.

0
greywolfcode

I added a new CheckBox class to my GUI features, and added a checkbox to the sidebar to provide the option do display the grid or not. I struggled with a surprising amount of bugs making this work. I had problems with accidentally overwriting variable without realising it (oops), and a bug in which I accidentally swapped the colours for the check box being on and off. I spent far to much time trying to figure out why the label text was not rendering before realising that I had forgotten to input any. Many silly mistakes took up a lot of my time.

Attachment
0
greywolfcode

I reorganised my code so that my DropDown class is now in a guiFeatures library. I will need many of the gui elements that I am using in the editor in the menus of the main game, so it made sense to separate it for later. I also fixed the issues selecting options in the drop down. I had forgotten that I needed to get the relative mouse position as my buttons were on a separate surface.

I neglected to mention in my previous devlog, but the reason that I am starting with the editro, is that my previous attempt at this game failed in part due to me trying to place every object by editing the code, which was very painful.

0
greywolfcode

I started creating the level editor. I expanded the 600x600 window to 800x600 to make room for a sidebar with controls, and added backgrounds to the editor and sidebar sections. There is a dropdown menu that allows the user to change the size of the grid displayed on the editor. It still ahs some alignment issues when trying to select the size, but it works ok .

Attachment
0
greywolfcode

I started the two main files, the main game and the level editor, added basic Pygame functionality to them, and made sure that Hackatime was working. This project is actually a remake from a game a started making when I started programming, so I transferred the assets over to my repository as well. The code was hard to work with, so I will be completely rewriting it, but the assets are still good. The attached photo is of the original version, which will is very similar to what I will make, as I like the aesthetic I had.

Attachment
0