Data Realms Fan Forums
http://45.55.195.193/

Pixel "Death Field"
http://45.55.195.193/viewtopic.php?f=73&t=26137
Page 1 of 1

Author:  Asklar [ Mon Nov 07, 2011 5:13 am ]
Post subject:  Pixel "Death Field"

If I spawn a pixel with a gun, and I attach this script
Code:
function Create(self)
self.StartX = self.Pos.X
self.StartY = self.Pos.Y
self.KeepVel = Vector(self.Vel.X,self.Vel.Y)
end

function Update(self)
self.Pos = Vector(self.StartX,self.StartY)
self.Vel = Vector(self.KeepVel.X,self.KeepVel.Y)
end


to it, it wouldn't move but it would keep it's velocity, right? Which means that even if it's not moving, it still has force, so if something runs at it, it will be damaged by the pixel?

Author:  CaveCricket48 [ Mon Nov 07, 2011 3:40 pm ]
Post subject:  Re: Pixel "Death Field"

Yep.

Author:  Asklar [ Mon Nov 07, 2011 7:58 pm ]
Post subject:  Re: Pixel "Death Field"

So I can create a wall of pixels that will kill everyone without being as laggy as putting

Code:
function Update(self)
for actor in MovableMan.Actors do
[Finding actors chunk]
ToActor(actor):GibThis()
end


instead?

Author:  Asklar [ Tue Nov 08, 2011 1:43 am ]
Post subject:  Re: Pixel "Death Field"

I see the future.

I see...

A blending machine...

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/