I am making an isometric game but I ran into 2 problems.
1: I want the bombs to be thrown in 8 directions but for some reason it only goes in 2 directions.
2: I want the tile to go to its second frame when blown up but it won’t change.
could I get a bit of help??
here’s the file bomber.wick
I managed it to fix the bugs, but I don’t have time right now to expain how.
If you need an explanation how I did it, I will post one here later.
File: My Project9-17-2022_13-50-51.wick (32.2 KB)
Hope I could help you!
this helps @Towim but if I copy the tile and hit the new tile then the new tile doesn’t change and I can’t figure out how to fix that… can anyone help with this?
could someone please help?
Add this code to the tile, inside of it’s update script:
if(this.currentFrameNumber===1)
for(var a of bom.clones) {
if (this.hits(a)&&a.currentFrameNumber===19)
this.gotoAndStop(2);
}
Now, go inside of the “bom” clip, inside of the update script, delete the lines highlighted in this image:
Now try it, you should be able to copy the tile clip and paste it, and it’ll still do the same
1 Like