Oof Prefabs!
Hello again!
Welp, it's the beginning of a new week, and I've finally worked out a huge kink in Byte Sized Runners code. Today, I've been working on Object Prefabs, which if you don't know, are just a collection of other game objects put into one. Byte Sized Runner's Editor relies on this kind of thing. Originally, I was just copy-pasting all the same code for each individual type of object, and then have even more additional code for any objects that contained hierarchies. This really sucked. Haha
So, what I'm doing now is using one Object Base that contains all the different Objects within a Prefab. I've been attempting to implement this for some time, but ran into numerous bugs along the way.
In the process, I realized that it was difficult to use the UI within Itch.io because you can't really use the mouse wheel at all because the mouse isn't captured. Now, the mouse is both being captured, and the cursor is actually simulated. What this means is, gamepads will also be usable within the editor, instead of relying on the mouse for everything. I like this fact, because I want players to be able to play the game's creative side without having to switch to a mouse and keyboard if they are playing on a gamepad.
Anyways, this week will see a big update to the features of the Editor. Since Prefabs are done, I only need to redo the Saving/Loading system to account for that. The next goal I plan to achieve this week is finish the inspector, and subsequently allow players to select different enemies to spawn into the level.
Byte Sized Runners (Level Editor Preview)
Jump and shoot or slash your way through procedurally generated rooms with a myriad of themes and gameplay varieties.
Status | In development |
Publisher | |
Author | Cairo Creative Studios |
Genre | Action, Platformer |
Tags | Sci-fi, Touch-Friendly |
Languages | English |
More posts
- Updates to the Level Editor84 days ago
- A New Background - Night SkyJul 05, 2024
- Looking for CollaboratorsJul 01, 2024
- First Early Access ReleaseJun 08, 2024
Leave a comment
Log in with itch.io to leave a comment.