Why doesn't this work?
GS_Master
Member Posts: 159
I Was trying to make a level creator with tables today but i couldn't get it to work. The idea is the walls of the game are 8x8 which means the screen can have a max of 40 vertical and 71 horizontal. and I'm trying to compare the table with 40 rows and 71 columns to see if the table integer = 0 and if its 0 to destroy the actor. Please help I can't figure out whats wrong. here's the file https://dl.dropboxusercontent.com/u/26048107/no work.zip
Comments
You're using replicate. In my experience, replicate is ONLY useful for visual copies of an actor. The replicated copies do not actually run any rules. I wish they could.
What you'll need to do is either (a) place all 2840 actors on the scene -- ugh -- or better yet (b) use one or more spawners to spawn the actors. If it were me, I'd use recursive spawners (spawner actors that move over 8 pixels, spawn themselves, and then destroy themselves) to achieve this.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Link: https://www.mediafire.com/?vl3z5c18cdw8e4o
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Yikes !
8-X