{"repo":"zenialexandre/lotus","free":true,"listed":false,"github":"https://github.com/zenialexandre/lotus","clone":"git clone https://github.com/zenialexandre/lotus.git","description":"Lotus is a game engine with the main focus of being easy-to-use and straight forward on developing 2D games.","language":"Rust","stars":24,"topics":["game-engine","rust-lang","lotus","2d"],"license":"MPL-2.0","category":"game-templates","readme_excerpt":"Lotus is a game engine with the main focus of being easy-to-use and straight forward on developing 2D games. It's based on the Entity-Component-System paradigm, providing windowing, rendering, physics, input handling, and more. Heavily inspired by awesome open-source projects like Bevy , Comfy and LÖVE . Honorable mentions to other cool projects are: Nebula and Macroquad . Example of a game made with Lotus: CyberLancer: Neon Rush . ---------------- How it works? With the power of macros, the engine basic template could be very abstracted and easy to look up to. The your game! macro only needs three parameters to make a game real. - The window configuration - This parameter will be used to personalize and create the game window. - The setup function - This parameter is a real function that will be ran once at the start of the application. - The function should contain a mutable reference to the context as the parameter. - Should contain all the initial entity spawning code for the game. - The update function - This parameter is a real function as well, that will be ran at each frame of the application. - The function should contain a mutable reference to the context as the parameter. - Should contain all the logic functions behind the game. ---------------- About assets Make sure your textures, fonts, sounds and all that nice stuff are inside of the assets folder located in the root of your project! The engine will use the CARGO MANIFEST DIR to search for your assets and make ","default_branch":null,"files":null,"tree":[],"storefront":"/r/zenialexandre","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zenialexandre/lotus/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}