lotus_engine 0.2.2

Lotus is a game engine with the main focus of being easy-to-use and straight forward on developing 2D games.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! This example is a simple show off of the engine basic template.
//! It will create a window with a white background and the 'Hello World!' message will be printed at each frame.

use lotus_engine::*;

your_game!(
    WindowConfiguration::default(),
    setup,
    update
);

fn setup(_context: &mut Context) {}

fn update(_context: &mut Context) {
    eprintln!("Hello World!");
}