This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-12-16 18:42:16

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Scratch Bloons Tower Defense

Now why would Lucario621 do such a crazy thing as to make a Tower Defense game on Scratch? Well, it's a challenge, and it will be fun to make. I've played many of them, from the first one to the 4th, and they are all very fun. I am aware about of all the drawbacks, and problems, so just read on before saying anything.

What type/style of tower defense game will it be?

This I am not sure of. I could do the classic bloons type, but I could also make ones with scratch cats instead, and instead of banana plantations there would be Pet Smarts XD (a pet store)

What features will it have?

For the first version, I plan to make it just like the original, first version, as much as possible. That means for towers, there will be a normal shooter, a tack tower, a ice freezy thing, a bomb tower, and a SuPeR mOnKeY! Also of course there will just be one track and difficulty.

This game is going to be too laggy! You're crazy!

Just wait and see! *evil laugh*

How will you implement so many balloons?

I'm going to maximise the game as much as possible. For starters, I'm going to attempt so theres only 1 sprite for balloons, which will store all of the data in lists. But I might just make the balloons manually, which isn't bad either.

If worse comes to worse, I will just generally make the balloons harder to pop, yet with fewer balloons, for the same challenge.

How will you implement so many towers?

As far as I have been thinking right now, each tower sprite will be able to incorporate all of the towers. That way there doesn't have to be seperate towers for the super monkeys, and not seperate towers for the normal monkeys.

In addition, for the tiny projectiles that they release, it will be in an animation.

In what style will the balloons move along the course?

I've had many ideas.

One of my first ideas was pathfinding, because of my awesome pathfinding projects, and how they would work wonderfully. But if theres just going to be repetetive balloons, it would be a big bad and pointless.

My second, recent idea is to have these tiny hidden orbs be at each of the corners in the courses. They will each be randomly moving around the corner, staying in the same general area. For each balloon, it will move towards the first orb until it's close to the orb, or the corner, and then it will move towards the second orb, until it's close to the orb, or the corner, and it will repeat until it is popped or it reaches the end. What's the point in doing this? This way the balloons aren't going neccecarily in an exactly straight line, but a slightly curvy line, being realistic for floating in the air.

Although I might just have them glide to each point for simplicity.

MINORLY CHANGED

Will there be sound effects?

I'm not really sure :) I mean they're going to be very short, and it won't be like music, so it couldn't hurt... But I'd still want them to be good quality. If I do, I will have the popping sound, the explosion sound, and a few others, which I can't remember right now :)

NEW!

How will each tower keep track of how many balloon a projectile has popped?

It will be stored in a variable, for simplicity. Each tower, will have it's own variable for it. I could also use a list, but I think that would be a bit slower.

NEW!

Considering your idea of each tower being one sprite, and each tower sprite will be able to support all types of towers, how many tower sprites will there be?

Most likely around 30. It all depends though...

NEW!

Will there be many graphic effects?

After getting far in the process of making the game, I'll decide if I should or shouldn't. Because if the game is already laggy enough, than I most likely won't. If I do, than there will be an explosion effect, and maybe some others which I can't think of right now. The white popping effect will be in the costumes, probably.

If you have any other questions just ask :) I'll add more as you ask them, and as I think of them.

Last edited by Lucario621 (2009-12-17 15:59:30)


http://i.imgur.com/WBkM2QQ.png

Offline

 

#2 2009-12-16 18:54:14

pinochio
Scratcher
Registered: 2009-03-19
Posts: 1000+

Re: Scratch Bloons Tower Defense

Awesome, although, perhaps this belongs in show and tell? Can't wait to see it!


Flat Out G

Offline

 

#3 2009-12-16 18:55:01

floatingmagictree
Scratcher
Registered: 2008-10-21
Posts: 1000+

Re: Scratch Bloons Tower Defense

I wonder what the non-laggy ideas you have are....

Offline

 

#4 2009-12-16 19:00:04

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Scratch Bloons Tower Defense

pinochio wrote:

Awesome, although, perhaps this belongs in show and tell? Can't wait to see it!

No, because this isn't advertising an actual game. I haven't made it yet...


http://i.imgur.com/WBkM2QQ.png

Offline

 

#5 2009-12-16 19:01:14

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Scratch Bloons Tower Defense

floatingmagictree wrote:

I wonder what the non-laggy ideas you have are....

[obvious]Read the article to find out  smile [/obvious]


http://i.imgur.com/WBkM2QQ.png

Offline

 

#6 2009-12-16 21:13:18

TheSaint
Scratcher
Registered: 2008-11-04
Posts: 1000+

Re: Scratch Bloons Tower Defense

Sounds like a cool idea. I like it!

Offline

 

#7 2009-12-17 15:22:05

floatingmagictree
Scratcher
Registered: 2008-10-21
Posts: 1000+

Re: Scratch Bloons Tower Defense

Lucario621 wrote:

floatingmagictree wrote:

I wonder what the non-laggy ideas you have are....

[obvious]Read the article to find out  smile [/obvious]

I have already  yikes

Offline

 

#8 2009-12-17 15:23:40

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Scratch Bloons Tower Defense

scratch can't handle a full td clone. The projectiles alone would be too much for it.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#9 2009-12-17 15:43:11

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Scratch Bloons Tower Defense

archmage wrote:

scratch can't handle a full td clone. The projectiles alone would be too much for it.

Projectiles will be costumes.

Probably for towers, I'll make 30 sprites. Each of them will be able to support all types of towers...


http://i.imgur.com/WBkM2QQ.png

Offline

 

#10 2009-12-17 16:39:07

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Scratch Bloons Tower Defense

Better yet, make just 1 tower sprite. The towers don't move so you can just stamp them. To shoot at enemies store the tower coordinates in a list and send projectiles to whichever stamped tower needs it.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#11 2009-12-17 16:51:00

demosthenes
Retired Community Moderator
Registered: 2008-02-19
Posts: 1000+

Re: Scratch Bloons Tower Defense

archmage wrote:

Better yet, make just 1 tower sprite. The towers don't move so you can just stamp them. To shoot at enemies store the tower coordinates in a list and send projectiles to whichever stamped tower needs it.

This.


I've taken a long hiatus, but I still visit sometimes. Give me some time to answer any messages you post on my projects!

Offline

 

#12 2009-12-17 16:52:58

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Scratch Bloons Tower Defense

archmage wrote:

Better yet, make just 1 tower sprite. The towers don't move so you can just stamp them. To shoot at enemies store the tower coordinates in a list and send projectiles to whichever stamped tower needs it.

Meh. I've experimented with handling multiple objects using lists, and although it's not all that bad, it's not the best. What about if you want to sell the tower? And when many towers are shooting at once, it will be not be as efficient...


http://i.imgur.com/WBkM2QQ.png

Offline

 

#13 2009-12-17 16:55:57

The-Whiz
Scratcher
Registered: 2007-07-09
Posts: 1000+

Re: Scratch Bloons Tower Defense

Lucario621 wrote:

archmage wrote:

Better yet, make just 1 tower sprite. The towers don't move so you can just stamp them. To shoot at enemies store the tower coordinates in a list and send projectiles to whichever stamped tower needs it.

Meh. I've experimented with handling multiple objects using lists, and although it's not all that bad, it's not the best. What about if you want to sell the tower? And when many towers are shooting at once, it will be not be as efficient...

Stamp a "ground" sprite on top of it.

Offline

 

#14 2009-12-17 16:59:29

TheSaint
Scratcher
Registered: 2008-11-04
Posts: 1000+

Re: Scratch Bloons Tower Defense

I think the best type for scratch would be more of a defend the castle type, with enemys coming trwards one base, and you can upgrade the defenses. Just much less going on.

Offline

 

#15 2009-12-24 14:01:29

ilikepie621
Scratcher
Registered: 2009-06-23
Posts: 5

Re: Scratch Bloons Tower Defense

I like the idea, but it has to be really good. I MEAN REALLY GOOD!!

Offline

 

#16 2009-12-24 14:11:53

FantasyTales
Scratcher
Registered: 2008-06-02
Posts: 1000+

Re: Scratch Bloons Tower Defense

lol archmage im working on a tower defence game to and that sounds like a great idea lol.


http://ageofthefuture.ismywebsite.com/images/dg_sig_2_small.png
http://images.myadoptables.com/adopted/2340.pnghttp://images.myadoptables.com/adopted/2339.png

Offline

 

#17 2009-12-24 14:35:08

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

Re: Scratch Bloons Tower Defense

This WILL lag lucario. Even if you use Lists, stamps, pen draws, anything it will lag. You cannot avoid that through any method that you have "cunningly" planned. Stamps Lag. Movement Lags. Sprites Lag. Pen Draws Lag. SCRATCH LAGS. D:

Last edited by RHY3756547 (2009-12-24 14:53:10)

Offline

 

#18 2009-12-24 21:30:10

FantasyTales
Scratcher
Registered: 2008-06-02
Posts: 1000+

Re: Scratch Bloons Tower Defense

yah well i bet i can make it so that the one im working on DOES NOT lag  big_smile


http://ageofthefuture.ismywebsite.com/images/dg_sig_2_small.png
http://images.myadoptables.com/adopted/2340.pnghttp://images.myadoptables.com/adopted/2339.png

Offline

 

Board footer