Hi
I have a shooter game with aliens as clips. I want to create more aliens from the existing aliens.
@Hamzah_Alani helped me and someone else gave me this test file to give me cloning help which works for symbols created in Wick, but if I import an alien png cloning doesn’t seem to work. Is this a known issue? I have uploaded my test. Click the button runs the same clone code, but the image doesn’t clone. Am I doing something wrong?
2 clips, person (stickman drawn in Wick) & alien (imported png made into clip)
Mouseclick() function
var newperson = person.clone();
newperson.x = random.integer(0, 720)
newperson.y = random.integer(0, 405)
newperson.rotation = 0;
var newalien = alien.clone();
newalien.x = random.integer(0, 720)
newalien.y = random.integer(0, 405)
newalien.rotation = 0;
Mouse click shows new person object, but not newAlien object. No console errors.
Thank you
Greg
CloningExample5-23-2020_1-05-47PM.wick (418.0 KB)