Laser beam

Started by , Tue 14/10/2003 10:07:57

Previous topic - Next topic

Neutrino

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

SSH

Probably using the Raw drawing functions is the best way to do it. Look them up in the manual...
12

Scummbuddy

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
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Neutrino

 :-\ 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

SSH

That's what RawSaveScreen and RawRestoreScreen are for!

So:

Save screen
Draw the laser
Start a timer

rep_ex:

timerexpired => restorescreen
12

SMF spam blocked by CleanTalk