Best way to learn 2d games with D?
Denis Feklushkin
feklushkin.denis at gmail.com
Tue Mar 17 04:28:45 UTC 2020
On Tuesday, 17 March 2020 at 04:17:41 UTC, Denis Feklushkin wrote:
> Years ago I wrote this unfinished 2D platformer engine on D:
>
> https://github.com/denizzzka/Platformer
>
> It ises SFML (graphics and sound), Spine (animation engine) and
> dchip (2d physics engine)
Physics engine used only for ragdoll animation. So, if you want
to learn how to programm 2D platformer just look into main loop -
It is really simple!
https://github.com/denizzzka/Platformer/blob/master/source/app.d#L44
More information about the Digitalmars-d-learn
mailing list