Repository navigation
0.4-alpha (Major Update)
·
10 commits
to master
since this release
0.4-alpha - Event & Input systems update!
Now Frame is joined with Window, now you can just replace Frame by Window and use all of its functions without getWindow().
Event system was added to a Window class. Now you can override onKeyEvent, onMouseEvent, onMouseMoveEvent and onMouseScrollEvent inside of your custom Window class.
Input system was added to a Window class. Just type if (this->isKeyJustPressed(BS::KeyCode::YOUR_KEY)) to check if 'YOUR_KEY' is was just pressed. Or you can get mouse scroll and move delta, or just cursor position, or mouse pressed/just pressed button!
That's huge major update to the engine! At this point you can make almost any game by having all basic tool's you need!