Knuckle Cracker

Particle Fleet => Map Makers, Ship Builders, and Coders => Topic started by: Oblivion on December 19, 2016, 06:58:21 PM

Title: 1 Land Pixel
Post by: Oblivion on December 19, 2016, 06:58:21 PM
Is there a way to delete specifically one single pixel of land?
Title: Re: 1 Land Pixel
Post by: planetfall on December 19, 2016, 06:59:06 PM
<-x <-y 0 SetLand
Title: Re: 1 Land Pixel
Post by: Oblivion on December 19, 2016, 08:13:42 PM
Are structures, the blue and red walls deletable through code?
Title: Re: 1 Land Pixel
Post by: GoodMorning on December 19, 2016, 08:37:01 PM
The "blueprint", I think not, the actual Struc may be, but I don't see a command. You could try X Y 0 SetStruc, but...

Edit, rather later: This now exists as SetStruc.
Title: Re: 1 Land Pixel
Post by: Oblivion on December 20, 2016, 05:40:14 PM
Which of the particle commands can return the particles angle if you will. If it exists
Title: Re: 1 Land Pixel
Post by: planetfall on December 20, 2016, 06:08:11 PM
GetParticleMotion returns the X and Y components of the particle's motion. You can do something like this to get the angle in radians (if it gives you the wrong value, try removing the negatives):


<-particle GetParticleMotion neg swap neg atan2