Pages: 1
Topic closed
I've figured out ho to make a classes.
You may think that this is rather pointless, but if you need an object to touch many objects and sense it, you can use this class system, instead of using lag creating "ors".
1 make a list called class 1
When Flag clicked:
[forever if <touching(item(any ) of class1)>
Whatever you want the sprite to do]
just add the name of the sprite to the list that you want to be detectable
I will be making a demonstration project shortly.
I just thought this might be usefull.
Offline
You don't know what classes are do you?
Offline
item any, means it picks the item by random, a very glitchy system
Offline
Yes, classes are scripts that are used to create specific objects. They are very important in OOP.
I think you assumed that classes were simply groups of objects which is untrue.
Last edited by archmage (2009-09-25 22:19:40)
Offline
Topic closed
Pages: 1