flat assembler
Message board for the users of flat assembler.
Index
> Tutorials and Examples > Simple game engine with SDL2 |
Author |
|
Tomasz Grysztar 22 Apr 2018, 10:46
This is a very simple groundwork for a game that I've been making a few years ago with my friends, purely for fun. As it has been abandoned then, they gave me a permission to share it and now I release this code as a public domain.
It was originally created with fasm 1 and later converted to fasmg. But a few minor tweaks should suffice to make it assemble with fasm 1 once more. Assembling it with fasmg requires the fasm 1 compatibility macros. It uses 32-bit SDL2 library. For Windows the required DLLs are included, on Linux 32-bit version of libSDL2 needs to be installed with all components. You may notice that it shares some similarities with my much older engine for DOS, except this one has been abandoned at even earlier stage. There are no "lemmings" to decimate here, they were never added. The player is left with nothing more than punching and kicking the air. To start the game, a .DEF file needs to be provided as an argument from command line or by dropping the file onto the program. There are two .DEF files included.
|
|||||||||||
22 Apr 2018, 10:46 |
|
yeohhs 22 Apr 2018, 12:48
Nice! Thank you very much.
|
|||
22 Apr 2018, 12:48 |
|
Picnic 17 Aug 2018, 08:26
Nice to sharing the source Tomasz.
The road.def level looks like the 2nd level of the game Bad Dudes Vs. DragonNinja, very cool |
|||
17 Aug 2018, 08:26 |
|
TheRaven 09 Mar 2019, 08:06
I do remember Bad Dudes --played many Data East and SNK rumblers & shmups.
Didn't think T.G. had the Fist of the North Star in him -nice. |
|||
09 Mar 2019, 08:06 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.