Demos update:

-modified texture atlas
-fixed bug with high CPU usage (use pthread instead of builtin D multithreading)
-added new graphics
-snake now render tile coresponding to body part
-snake is destroyed after collision and emit some particles
-added some functionality to vectors
-fixed documentation issue in Manager.d
This commit is contained in:
Mergul 2020-04-28 14:13:55 +02:00
parent 8381ac166b
commit 50715fbc40
6 changed files with 366 additions and 23 deletions

View file

@ -12,6 +12,8 @@ import std.algorithm : map;
version = MM_NO_LOGS; // Disable log creation
//version = MM_USE_POSIX_THREADS; // Use posix threads insted of standard library, required for betterC
version (Posix)version = MM_USE_POSIX_THREADS;
version (WebAssembly)
{
extern(C) struct FILE