I think I saw an object shooting diagonally on one of Dr Dos's streams recently but I can't recall where I saw that, nor can I figure out how it was done. Can someone enlighten me please, or did I imagine it? @_@
Thanks!
Diagonal shooting
Moderators: Commodore, Zenith Nadir
Re: Diagonal shooting
One way to do it would be to use an external editor (e.g. KevEdit or ZZTQED) to set an object's direction to a diagonal direction where there is a wall in the way, and then use #SHOOT CW FLOW to shoot a bullet. I don't know if this is the method they used, nor have I seen that stream.
I have set up a NNTP to discuss ZZT and other stuff.
Re: Diagonal shooting
Ah okay, thanks! I didn't know what the X Step and Y Step properties do. It'll work for my purposes by putting water around 'em to keep 'em stationary.
Re: Diagonal shooting
Yep, this is how we did it! Be aware that if the object #walks any direction that is not flow, it will lose the ability to shoot diagonally (because flow is now not diagonal). But you can still use / or ? without affecting it.
Re: Diagonal shooting
X Step and Y Step set the direction. For all pieces in the ZZT built-in editor that you can set the direction, it is same meaning, but for the following pieces you can also set the direction:emmzee wrote:I didn't know what the X Step and Y Step properties do.
- BULLET: Direction of movement.
- HEAD: Current direction of movement.
- OBJECT: Direction of #WALK.
- RUFFIAN: Current direction of movement.
I have set up a NNTP to discuss ZZT and other stuff.