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

#1 2011-06-18 12:46:42

quincyM
Scratcher
Registered: 2011-06-18
Posts: 19

Scalability / Extendable / Modular Game Design

Anyone care about game design here?  If your sick of the limitations of scratch and find your code getting really complicated and impossible to bug fix then maybe learning some design patterns would be good for you!

See how I started a complicated project caring about the technical design and organization of scripts.  Yes, we can't have an infinite amount of sprites, but with my design we can have a lot of them without much complexity.

I made a simple tower defense game, with many levels, paths, towers, enemies.  The important part is to see how making a new level/path/tower/enemy is easy.

Here is one key to making many Towers easily:
[blocks]
<broadcast[(( Tower <join> <{ towerId }> ))
[/blocks]

click the project to find more gems

Offline

 

Board footer