darthdeus / comfy

Comfy is a fun 2D game engine built in Rust. It's designed to be opinionated, productive, and easy to use.
https://comfyengine.org
Apache License 2.0
717 stars 35 forks source link

spawn_particle with local space transform handles #68

Open darthdeus opened 11 months ago

darthdeus commented 11 months ago

Roughly:


let transform_handle = gen_transform();

spawn_particle(transform_handle);

// later every frame

set_transform(transform_handle, player_pos);```