hecrj / coffee

An opinionated 2D game engine for Rust
https://docs.rs/coffee
MIT License
1.08k stars 55 forks source link

Add snake demo #114

Closed shika-blyat closed 4 years ago

shika-blyat commented 4 years ago

I just want to say i know loading the font at every draw call when the game end is bad, but the Task system is quite destabilizing. I spent something like 3 hours trying to load the font on the load function, but it seems like i missed something in the doc. (If you want to explain me how i am supposed to do it, i can edit my code before you merge this PR).

shika-blyat commented 4 years ago

I wanted to work on it, but i realize since i restarted school i don't have much time. I think i wouldn't have the time to work on it before 5/6 weeks. If anyone want to finish my work, he can. Also, if you want to merge it like this, i still can work on improving the code later :)

hecrj commented 4 years ago

@shika-blyat I understand!

Let's merge it! I may try to improve it myself if I find some time (very busy with iced lately :sweat_smile:).

Thank you again! :heart: