You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Hotham API is kind of unpleasant to deal with.
This could make it a lot nicer.
pubstructGameState{splines:usize;}/// Called **once** before your game starts.pubfninit_game(engine:&mutEngine,world:&mutWorld) -> GameState{// Import models, load scene, etc.GameState{splines:0}}/// Called each frame, **after** input has been collected and the physics simulation has run, but **before** rendering occurs./// All Android and XR lifecycle, etc. will be handled for you.pubfngame_system(engine:&mutEngine,world:&mutWorld,game_state:&mutGameState){// Update the game simulation.
game_state.splines += 1;}pubfnmain(){App::builder().add_init(init_game).add_system(game_system).run();}
The text was updated successfully, but these errors were encountered:
kanerogers
changed the title
Create App API in Engine that's basically a complete rip-off of Bevy
[Feature] Create App API in Engine that's basically a complete rip-off of Bevy
Sep 26, 2022
kanerogers
changed the title
[Feature] Create App API in Engine that's basically a complete rip-off of Bevy
[Feature] Create an App API that's basically a complete rip-off of Bevy
Sep 26, 2022
Background
The Hotham API is kind of unpleasant to deal with.
This could make it a lot nicer.
The text was updated successfully, but these errors were encountered: