Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

Reply
 
Thread Tools Display Modes
Tower Defense Game - any ideas?
Old
Infinitum3D
Guest
 
Status:
Posts: n/a
Default Tower Defense Game - any ideas? - 05-11-2009, 12:42 PM

My 8 year old son wants me to help him make a Tower Defense Game, like bloonz by Ninja Kiwi.

Does anyone know of any examples here, or where to start? We just downloaded the program and ran through the tutorials, but the world editor is really difficult to use.

I think a basic "top down" view would be best, but I don't know how to do that.

Would anyone be interested in joining us for this project?
Infinitum3D@hotmail.com

Thanks!
   
Reply With Quote
Old
Scott300
Senior Member
 
Status: Offline
Posts: 80
Join Date: Feb 2009
Location: Ohio
Default 05-11-2009, 01:12 PM

The only trouble you would have with this is the fact that alice cannot spawn new objects into the world after the world has been started. So you would need to have every object all ready in the world to start with. I mean I could see it being possible but extremely time consuming and the file would be absolutely huge. If you still feel up to this post in the How do I... section ( http://alice.org/community/forumdisplay.php?f=16 ) with your specific problems and people usually respond with a solution or help within a few days.
  Send a message via AIM to Scott300 Send a message via MSN to Scott300  
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 05-22-2009, 10:44 AM

Indeed, the spawning issue would be difficult to deal with. There is only one thing I can think of to deal with it.

Create only a few of each type of enemy you'd like. Keep in mind that the worst case scenario is every enemy on the screen at the same time, which could be too much for Alice to handle. I'd recommend 3 copies of 3 different enemies (3 footsoldiers, 3 tanks, 3 planes for example) and write a simple animation method for one of each copy, then just have the other two copies reference the method of the first one (should work, since the objects share the same parts and dimensions). If you'd like to have them look different, import simple objects into your world and make them transparent, then experiment with applying their textures to the different copies (example, apply a rock or wall texture to a soldier to get a golem-like enemy).

I've actually used this method in the turn-based game I've been working on, so the idea is sound.


(')>
   
Reply With Quote
Old
dubastot
Senior Member
 
dubastot's Avatar
 
Status: Offline
Posts: 661
Join Date: Apr 2009
Location: Two Steps From Hell
Default 06-23-2009, 11:20 PM

I suggest you make a limit to the number of towers you make. And have a startup screen telling the player that you can build a certain number of towers.

Personally, I think doing a tower defense game is crazy, but one with a strong will can do it. So I'm not discouraging you or anything, but I;m warning you that it will be difficult.
   
Reply With Quote
Old
NivekNamttid
Guest
 
Status:
Posts: n/a
Lightbulb 09-21-2009, 10:19 PM

For the top down view, rotate the camera 90 degrees forward, and then move it backwards (up). You could add a menu on the side for tower options, but creating an 'account' with how much money you have in it might be rather difficult. I suggest that you have a set number of towers that you can put in at the beginning of the game, and have them choose from a selection of towers and place them before the enemies come. That might limit improvement to your defense later in the game, but it would work. As for movement of towers, go to the events tab, choose Let the mouse move <objects>, Choose Object and type a name, and list the objects that you want to be able to move.

Last edited by NivekNamttid; 09-21-2009 at 10:27 PM. Reason: fixed mistake
   
Reply With Quote
Old
NivekNamttid
Guest
 
Status:
Posts: n/a
Lightbulb 09-21-2009, 11:00 PM

Now that you got me on that idea, I think I'll try it. I'll send you what I come up with, and give advice.
   
Reply With Quote
Tower Defense Game Pre-Beta v1
Old
NivekNamttid
Guest
 
Status:
Posts: n/a
Lightbulb Tower Defense Game Pre-Beta v1 - 09-22-2009, 03:48 PM

I got a working program after several tries. Note that it isn't possible to lose unless you move the lighthouse towers off the screen to the bottom. However, it is a starting point.
Attached Files
File Type: a2w TowerDefenseGame.a2w (1.55 MB, 66 views)
   
Reply With Quote
Old
atrane365
Guest
 
Status:
Posts: n/a
Cool 05-01-2012, 11:25 AM

Quote:
Originally Posted by dubastot View Post
I suggest you make a limit to the number of towers you make.
check out this person's game: http://www.alice.org/community/showt...=tower+defense
   
Reply With Quote
Old
DensetsuNoKaboom
Senior Member
 
DensetsuNoKaboom's Avatar
 
Status: Offline
Posts: 1,187
Join Date: May 2010
Location: e4eaf2
Default 05-01-2012, 02:58 PM

Uh, the last post in this topic was in 2009.


Thank you for taking the time to read this signature. This signature loves you.
   
Reply With Quote
so?
Old
atrane365
Guest
 
Status:
Posts: n/a
Default so? - 05-03-2012, 11:39 AM

Quote:
Originally Posted by DensetsuNoKaboom View Post
Uh, the last post in this topic was in 2009.
Not to get into a big debate or anything, but:
I put that link there so that if anyone finds this thread, they could go to the link of another thread that might help with ideas
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.