3 ms·
I've been building a small game on Piston together with a friend. It's in a super early exploratory fase. You can see how we deal with the event loop here: htt
by tinco 11y ago
I've been building a small game on Piston together with a friend. It's in a super early exploratory fase. You can see how we deal with the event loop here:
https://github.com/tinco/super-susano/blob/master/src/main.rs#L175 https://github.com/tinco/super-susano/blob/master/src/main.r...
That calls into the draw loop here:
https://github.com/tinco/super-susano/blob/master/src/engines/graphics.rs#L20 https://github.com/tinco/super-susano/blob/master/src/engine...