Vector or something

Started by radiowaves, Wed 25/04/2007 13:11:30

Previous topic - Next topic

radiowaves

Hello!

I've been making this game and now I have reached to the point where I need to know if it is possible to use vectors in AGS, maybe with some script or module or something? Well, basically, I need just one vector active at the time. I want a wirelike line behind a moving characterlike sprite, so a little curve in it is needed too. You can see an example in Gateway II: http://www.newgrounds.com/portal/view/372340 while picking up the TV wire in first room.
I warn you, I am absolutely new to AGS scripting and don't know much anything. So, if it is possible to do this, I will probably need your help or "crafted from wood and painted red" example.

Thank you.
I am just a shallow stereotype, so you should take into consideration that my opinion has no great value to you.

Tracks

GarageGothic

#1
I didn't test the game you link to, but I think you're talking about vector graphics, not mathematical vectors (which there is a module for), right?
Try looking up the RawDraw functions in the manual and see if they won't do the trick.

Ashen

#2
Take a look at ths thread, from a few days ago. Basically, what GG said - RawDraw functions. (It'll be easier for you, if you don't need to span multiple rooms.)
I know what you're thinking ... Don't think that.

radiowaves

Ah ok, thanks guys, at least I know this is possible. Now I must gain some programming skills.
I am just a shallow stereotype, so you should take into consideration that my opinion has no great value to you.

Tracks

SMF spam blocked by CleanTalk