If you add an empty sprite, it does not appear in the object list and you cannot adjust any of it's properties.
You can however reference it in scripts.
Attach a Capx
I would love to, I have a perfect example... I just can't see any way to attach it using this forum software!
Oh.. I just found another thread saying that facility has been removed.
Here it is in DropBox (missing the www dropbox bit, 300 rep is needed to embed links but bug reports ignored without them):
Description of Capx
It contains an Empty Sprite which is not in the Object List.
Steps to Reproduce Bug
- Step 1 - right click on object list, select Insert New Object
- Step 2 - select Sprite type, enter a name, press Insert
New Object is not in the Object list but can be referenced in the event sheet (as shown in my capx).
The object is blank so there will be no icon, however a placeholder graphic, or an empty icon with the name underneath would make it accessible.
This is not a browser issue, it's in the IDE.
Operating System and Service Pack
Windows 7 Home Edition, fully patched.
Construct 2 Version ID
Free Edition (I'm currently evaluating for my needs).
I have a turret with animations that make it turn (it is not a top-down view so rotation is no good). I want to make it aim at the nearest enemy in the easiest way possible. My idea is to attach an empty sprite and use the usual turret aiming systems to make it turn, then I will take it's angle and divide down to the number of frames in my visible turret animation and set the turret frame to that value. I have done everything except set the initial direction for the aiming empty sprite, however I cannot access it's properties because it is not visible in the object list.
As a work-around I will set the angle in its 'on create' event, but every object should be in the object list because there's no other way to access the properties page for them.
Additional info: Created an empty sprite on the layout instead of in the object window, looked like the same problem until I clicked on the layout at which point the Image editor opened and then the empty sprite appeared in the object list.