So what does "refactoring" means for game development? Basically it means that before the programmer (me) was not knowing what he was doing =) ... And so i need to "refactor" my code as an attempt to organise it in a simple and clear way, because now, i KNOW what i'm doing =) ... So that's what "refactoring" means.
I clarified my structure to follow the component-based simple structure principles. As you may see in the video, i now instantiate the player and obstacle during run-time. Before, they were just a bunch of prefabs in the scene. I'll be able to start on the procedural level design now, or maybe tweak the jumping behavior.
No comments:
Post a Comment