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

#1 2012-03-31 18:23:28

lukanater
Scratcher
Registered: 2007-09-26
Posts: 100+

Object Types!

My idea is called Object Types.  Heres how it works:

Lets say I have a game where theres five space ships.  One is the player ship, two are helper ships, and two are enemy ships.  I want to be able to group these up into three groups.  I could have the player group for my player ship, the helper group for my helper ships, and the enemy group for my enemy ships.  Now this sounds kind of pointless, but now lets say we want the helper ship to point towards the nearest enemy ship.  There could be a script that says something like "Point towards (nearest enemy.)"

This is just a little idea I came up with that would make it much easier to build in scratch.


http://i1049.photobucket.com/albums/s385/xenokstudios/trippinstudios.png

Offline

 

#2 2012-03-31 18:26:44

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Object Types!

I support, Scratch should have sprite classes.


http://trinary.tk/images/signature_.php

Offline

 

Board footer