Actors Disappearing
GamingtilDawn
Member Posts: 104
I am having a weird problem. When I place an actor in a scene, it shows up fine. I can adjust attributes and behaviors as needed. When I go to preview it on my computer or even a device, the actor disappears. It's not all my actors that have this issue, right now just two, but it makes it hard to test if I can't see anything haha. Any reason as to why this happening?
Comments
Could be lots of reasons! Make sure you're not using an unlocked "instance" of an actor. Double-click the actor(s) on the scene. If you see a lock symbol, you're good. Otherwise, you'll see "Revert to Prototype" at the top of the rule list which means that you unlocked the actor and created a separate instance with unique rules.
Have you tried creating a blank new scene and dragging the problem actors onto it? When you do that, do they still disappear?
Also try using the Log Debugging Statement to verify that the actor's rules are running. Whatever expression you enter should appear in the Debugger window when you Preview the project file.
And just to double-check... you're using a Mac, right?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Yes, I am using a Mac.
I checked to make sure they were not unlocked, they are not.
I did put them in a new blank scene and they did not disappear.
When I open the debugger, its blank. I might not be using that right.
Can you post a link to download your project file (compress it as a .zip file first)?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Deleted
The problem lies in your "Switch" rule. You're telling it, whether switch is 0 or not, to move the player actor to the height of the screen (768) minus it's current position (560). This means that the white player actor is being moved to the bottom position, where it's invisible against the white background. If you change the colour of the actor to something other than black or white, you'll see it's happening. I couldn't find any other actors that weren't showing up. Attached is your project edited to avoid the problem. I had to add a switch button to trigger the switch as I couldn't see one included. Your dropbox link was partially protected, so I'm going to PM you the project link it case you don't want it public.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support