apeltsi / loitsu

Cross-platform Game Engine written in Rust
MIT License
1 stars 0 forks source link

Mouse Input System #32

Open apeltsi opened 9 months ago

apeltsi commented 9 months ago

Most mouse events would be processed by loitsu. Loitsu would calculate what entity the mouse is hovering over currently. Scripting can then listen to these events through methods.

(Although a get mouse world pos, and screen pos function in scripting would also be useful)

apeltsi commented 9 months ago

This has already been partly implemented on the editor branch to handle entity selection