Simple game engine

Post your FreeBASIC source, examples, tips and tricks here. Please don’t post code without including an explanation.
Post Reply
paul doe
Moderator
Posts: 1733
Joined: Jul 25, 2017 17:22
Location: Argentina

Simple game engine

Post by paul doe »

I had this sitting on my hard drive for some time now. It is a very simple game engine showing a basic game architecture (written ECS style), intended for tutorial and reference purposes, so might as well share it here:

https://github.com/glasyalabolas/fb-asteroids

It is a barebones version of Asteroids: no score, no winning nor losing condition. Just the player shooting asteroids until none remains in the galaxy. Shouldn't be too hard to add those, along with more particle effects, stars, and other chrome.

It uses the keyboard 'class' that's on this thread, so it can be considered a field usage example of it.

Image
Post Reply