Hi,
In Star Control 2, both the player's mother ship (point defence weapon) and the arilu saucer vessel had direct energy beam weapon.
If the enemy vessel was close enough the beam would fire in any direction and hit the enemy.
MY FIRST QUESTION IS - Can I create something like this for my AGS game.
If so there are some points I find disturbing. :-\
1) what sort of image should the beam. Can I use a "short beam" and have AGS multiply it till x,y matchs that of character 'enemy vessel'.
Or do I need to create a dozen beams with different lengths.
2) In attempting to create the illusion of 'fire in any direction', I believe the "region" option is the way to do it.
Each region is a fire direction, so I can have 6 or 8 directions. Any better option?
I would appreciate any suggestion (even if it is - "forget it, it is undoable...yet") ;)
Neutrino
Probably using the Raw drawing functions is the best way to do it. Look them up in the manual...
If you should find that AGS can not do what you want, cause I do remember that game, and it was fun, check out http://www.gamemaker.nl/index.html
:-\ Hmmm,
Shh, thanks for coming to the rescue (again & again...) ;)
The manual says Raw Drawing functions are permanent, I am looking for a flash of beam (less than a second long) Can I time the Raw Drawings? ???
Scummbuddy, you got me intrigued. 8)
The SC2 like scenario I presented is PART of an AGS based quest that I'm working on.
Are you saying I can create this with 'game maker' and afterwards integrate it into the AGS game?
Any more ideas? bring them on.
Neutrino
That's what RawSaveScreen and RawRestoreScreen are for!
So:
Save screen
Draw the laser
Start a timer
rep_ex:
timerexpired => restorescreen