Want a function that works like
(sysVectorPolarOffset center angle radius), but uses pixels instead of range for radius? Try this function below! Copy-and-paste it to within the <Globals> of your mod, or wherever your code can access it.
Code: Select all
(setq ex912VectorPolarPixelOffset (lambda (theCenter theAngle thePixels)
; range 1 = 24 pixels.
(sysVectorAdd
theCenter
(sysVectorDivide
(sysVectorSubtract
(sysVectorPolarOffset theCenter theAngle thePixels)
theCenter
)
24
)
)
))
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!
Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.