About Store Forum Documentation Contact
Donations:
243$/mo



Post Reply 
EE 2.0 Example Project - Tower Defense!
Author Message
Tottel Offline
Member

Post: #1
EE 2.0 Example Project - Tower Defense!
Hey there EE community!

For learning purposes, I was working on a tower defense project using Esenthel. Along the way, I decided to make it open-source so that everyone can benefit from it (or curse at me for how I programmed it..).

Features:

- Lots of comments that should make clear what I did
- Custom RTS camera controls (zoom in/out, move with WASD, rotate)
- Load world from editor
- Load waypoints from editor
- Enemies spawn in waves and run along waypoints
- GUI to place turrets and upgrade them.
- Placeable turrets (1 type so far), turrets shoot at, and kill, enemies
- Turrets rotate when idle, turn to enemies, fire with particles
- Turrets construct gradually, using mesh masking.
- Turrets can't be placed on the road
- ...

Not included (yet):
- Sounds
- Winning/losing grin
- Resources
- Turrets can be placed on top of each other


I'm not a superb programmer by any means. This project taught me a lot, so I would do things a bit differently if I would start over-new. Different turret types has to be more flexible, same with enemies.

Published Project (.exe (32/64bit) + packed data)

Source Project

Make sure to read the ReadMe in the sources for the licenses.

If you have any suggestions, feel free to post them here. In the meantime, I hope this can show people a bit more of how Esenthel works.
(This post was last modified: 05-29-2013 10:34 AM by Tottel.)
04-05-2013 03:29 PM
Find all posts by this user Quote this message in a reply
Dwight Offline
Member

Post: #2
RE: EE 2.0 Example Project - Tower Defense!
Nice project going on there! This is deffinitely showing that EE is perfectly capable of making your small game become a reality. And I have 1400 fps at this project, NICE! smile
04-05-2013 03:41 PM
Find all posts by this user Quote this message in a reply
yvanvds Offline
Silver Supporter

Post: #3
RE: EE 2.0 Example Project - Tower Defense!
Thanks, Tottel. I'm sure this will be a useful resource for many.
04-05-2013 03:58 PM
Find all posts by this user Quote this message in a reply
zhanglidong Offline
Member

Post: #4
RE: EE 2.0 Example Project - Tower Defense!
Thank you Tottel grin
04-05-2013 04:04 PM
Find all posts by this user Quote this message in a reply
Viruzzz Offline
Member

Post: #5
RE: EE 2.0 Example Project - Tower Defense!
Hi, for me is not work:

[Image: 34qspau.jpg]

I use Windows 7 Ultimate x86.

PS. TowerDefense.exe Application.
Thx.
04-05-2013 05:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #6
RE: EE 2.0 Example Project - Tower Defense!
Viruzzz: Ah yes, I seem to have compiled to 64 bit. I'll provide a 32 bit executable as well. smile

Thanks for the testing and feedback guys!
04-05-2013 07:20 PM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #7
RE: EE 2.0 Example Project - Tower Defense!
Uploaded new published version with both 32 and 64 bit executables.
04-05-2013 08:22 PM
Find all posts by this user Quote this message in a reply
Pixel Perfect Offline
Member

Post: #8
RE: EE 2.0 Example Project - Tower Defense!
Many thanks Tottel, very helpful for someone new to the engine smile
04-06-2013 08:32 AM
Find all posts by this user Quote this message in a reply
xzessmedia Offline
Member

Post: #9
RE: EE 2.0 Example Project - Tower Defense!
thank you Tottel, very generous to share it!
im learning much from it!

would be great if somebody would add some TouchControl to it so it will be playable on the tablet
(This post was last modified: 04-07-2013 12:47 AM by xzessmedia.)
04-06-2013 10:04 PM
Find all posts by this user Quote this message in a reply
Ezequel Offline
Member

Post: #10
RE: EE 2.0 Example Project - Tower Defense!
Thank you, Tottel!
(This post was last modified: 04-06-2013 10:53 PM by Ezequel.)
04-06-2013 10:53 PM
Find all posts by this user Quote this message in a reply
aceio76 Offline
Silver Supporter

Post: #11
RE: EE 2.0 Example Project - Tower Defense!
Ahh mister Tottel, awesome to see your project up, and even better that others can enjoy it too! Great Job! I will try this next time I have spare time.
04-07-2013 02:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
flim Offline
Member

Post: #12
RE: EE 2.0 Example Project - Tower Defense!
Just upgrade EE v2 last night and found this example project. Thank you so much for share.
04-24-2013 02:42 AM
Find all posts by this user Quote this message in a reply
Rubeus Offline
Member

Post: #13
RE: EE 2.0 Example Project - Tower Defense!
While reading through the code, getting some ideas, I saw this:
Code:
if (m_PartsShown == Part8) // LAST PART IS VISIBLE (Is there a clean way to get the amount of elements in an enum?)
I was curious about this as well. Part8 is part of an enum generated automatically by EE. There's no way to find the last element without hard coding it into the enum, so I would recommend making an extra enum at the end of the list in the model editor groups section-Parts_total or some such, and just not assign anything to that particular group.
It might not be a bad idea for EE to automatically assign a final enum for this purpose.
05-19-2013 09:28 PM
Find all posts by this user Quote this message in a reply
gwald Offline
Member

Post: #14
RE: EE 2.0 Example Project - Tower Defense!
Hey Tottel,
That's cool of you!
Just downloading now.

Also, I log into irc esenthel channel but nobody there.
is it:
http://webchat.freenode.net/?channels=##Esenthel
or
http://webchat.freenode.net/?channels=#Esenthel
I'm sure it's the later
Probably a good idea to include it in your footer also wink
Maybe get more traffic, I'll add it to mine to smile

My Blog
http://www.esenthel.com/community/showthread.php?tid=6043

I hang out at Esenthel IRC Channel
http://webchat.freenode.net/?channels=#Esenthel
05-20-2013 12:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #15
RE: EE 2.0 Example Project - Tower Defense!
gwald: Yeah, it's the latter. pfft

People drop in and out from time to time.
05-20-2013 10:25 AM
Find all posts by this user Quote this message in a reply
Post Reply