file Plants vs. Zombies Clone

  • blueteak
  • blueteak's Avatar Topic Author
  • Offline
  • Experienced Marbler
  • Experienced Marbler
More
17 Sep 2013 03:27 #1 by blueteak
Plants vs. Zombies Clone was created by blueteak
In the second livestream I built a Plants Vs. Zombies clone from scratch over ~2 hours.

Features:

- 3 towers to place with varying prices and abilities
a. Income tower (25 money per 3 seconds)
b. Basic Shooting (15dmg per second)
c. Mega Shooting(50 dmg per 2.5 seconds)

- 3 enemy types that randomly spawn after an initial lul.
a. Basic Enemy
b. Fast Enemy
c. Armored Enemy

- Place towers on any tile, with smart system that knows if a tile is already taken.

- Reset the game if an enemy reaches the other side of the map
a. Reset money
b. Remove all towers, enemies, and projectiles
c. Clear saved tile data

Here's the playable game: dl.dropboxusercontent.com/u/102413512/PvZClone/PvZClone.html

Hope to see more people at the next livestream!
www.twitch.tv/blueteak55

Check out my website: alvios.com/ !

Please Log in or Create an account to join the conversation.

  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Lead Developer
  • Lead Developer
  • PQ Developer Emeritus
More
18 Sep 2013 02:56 #2 by HiGuy
Replied by HiGuy on topic Plants vs. Zombies Clone
I think I won.

Ask RandomityGuy about floating point, bonus points if you tell him "x87".
function clientcmd12dothepq() {
    commandToClient(LocalClientConnection, '34onthedancefloor');
}

Please Log in or Create an account to join the conversation.

More
19 Sep 2013 00:13 #3 by Don.Gato
Replied by Don.Gato on topic Plants vs. Zombies Clone
Pretty nice.

Only major issue I see is that you can't place a tower on a tile that previously had one, but was destroyed. That should be an easy fix though

Please Log in or Create an account to join the conversation.

  • Jeff
  • Jeff's Avatar
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
More
19 Sep 2013 03:19 #4 by Jeff
Replied by Jeff on topic Plants vs. Zombies Clone
^ I ran into that as well.


Nice neat game Blueteak, looking forward to more of your creations c:

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.

Please Log in or Create an account to join the conversation.

  • blueteak
  • blueteak's Avatar Topic Author
  • Offline
  • Experienced Marbler
  • Experienced Marbler
More
19 Sep 2013 03:58 #5 by blueteak
Replied by blueteak on topic Plants vs. Zombies Clone
Woah, I completely forgot about that, since killing the towers was one of the last things implemented, I guess it slipped my mind.

I'll *hopefully* do another live-stream on Saturday. Not sure what game type to create.

Suggestions welcome, but keep in mind that it's created from scratch and no one wants to sit around for 8 hours watching me create Call of Duty with cubes

Check out my website: alvios.com/ !

Please Log in or Create an account to join the conversation.

Moderators: Doomblah