
08-31-2011, 11:40 AM
|
|
Registered User
|
Join Date: Jul 2004
Posts: 18
|
|
|
Since Testbed is gone, I can't really mess around with the script anymore, but there was a command in v6, drawobject, that I was playing around with to draw ganis onto the drawingpanel. It was still really buggy though, and allowed either rotation or alpha-transparency, but not both. The example posted above was a pretty basic script, but it should work if you just add more drawimages.
"hoyt_white.png" Was simply a white square image that was stretched over the drawingpanel, I used a gani to draw light images on the panel in alpha mode 2, then used alpha mode 2 for the entire drawing panel. You run into slowdowns pretty fast with more light sources depending on the computer. You also have to compensate for screen movement and light source movement due to the slow updating of the drawing panel. I was able to do glowing projectiles with the shoot command, and have colored light sources, but unable to do image rotation. Some of this may have changed with the newest version of v6 but I havn't gotten a chance to test it since Testbed went offline. |
|
|
|