Allegro.cc - Online Community

Allegro.cc Forums » The Depot » My first Game using my own engine :

This thread is locked; no one can reply to it. rss feed Print
My first Game using my own engine :
SilverTES
Member #16,572
October 2016

Finally, a first playable prototype of my tower defense platformer with MugenEngine using Allegro5. ^^

https://www.youtube.com/watch?v=eUVXesIx4gY

Sample code :
https://pbs.twimg.com/media/C7crSyEWwAAeehk.jpg:large

Eric Johnson
Member #14,841
January 2013
avatar

A tower defense... platformer? :o Just when I thought I had seen everything, this happens. :)

That's really cool. I admire your creativity. :D Your sample code looks well-organized, but I can't say much beyond that (I'd have to see more).

Is the game available for download? I'd like to play it, and I know my brother, who is a big fan of tower defense games, would probably love it. :)

SilverTES
Member #16,572
October 2016

Thanks ^^,

I'll post a beta version soon, I just need to implement more friendly controller option (to custom your buttons).

It's a multiplayer local game, you can play with 1-4 players (even more if you want).

Eric Johnson
Member #14,841
January 2013
avatar

I look forward to it. :)

Mark Oates
Member #1,146
March 2001
avatar

Dude, that's amazing! :o

What language is that?

Niunio
Member #1,975
March 2002
avatar

Nice idea for a game but it looks hard to play.

-----------------
Current projects: Allegro.pas | MinGRo

SilverTES
Member #16,572
October 2016

Thanks all :),

I use c++11/14, I use some #define macros for simplified the code.
Yes it's a bit hard to play, but it's the aim. I want to mix skill, strategy and crafting. ;)

Chris Katko
Member #1,881
January 2002
avatar

I would love to hear about your code. It looks very well architected.

-----sig:
“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs

SilverTES
Member #16,572
October 2016

Thanks :),
But my code need to be cleaned, not very well documented, not very readable except to me.
if you are curious, you can look at the Git depot of the engine:
(Sorry, it's very "rough" !)

Commits :
https://bitbucket.org/SilverTES/mugenenginefinal/commits/branch/master

Includes :
https://bitbucket.org/SilverTES/mugenenginefinal/src/c8d55c2b7a926ba484c7bbd2e2ecb5e522c3dc24/MugenEngine1.0/deps/include/?at=master

Sources :
https://bitbucket.org/SilverTES/mugenenginefinal/src/c8d55c2b7a926ba484c7bbd2e2ecb5e522c3dc24/MugenEngine1.0/deps/src/?at=master

The principle of the engine is based on a "Clip", before all, you need to make a "root" clip.
Afterward, you can create child Clips who inherit the parent parameters.
You can make layers, scenes, tilemaps or anything with clip.
You can attach a component to the clip, to determinate his nature or even detach this one.
You can create your own component to extend features.
You can change anything at runtime. It's like ECS I think.
You can clone the clip too.

My aim is to create a very flexible engine for create different type of 2D games.

Samuel Henderson
Member #3,757
August 2003
avatar

Looks like fun! Nice work!

=================================================
Paul whoknows: Why is this thread still open?
Onewing: Because it is a pthread: a thread for me to pee on.

Go to: