Old 19th April 2004, 17:56   #1
Neoavs
Junior Member
 
Neoavs's Avatar
 
Join Date: Jan 2004
Location: Vilnius, Lithuania
Posts: 29
Send a message via ICQ to Neoavs
AVSRock, the asteroid-shooting AVS game

Finnaly it's done. Well it's its first release, expect more in the future.

Full documentation in AVS's comment. Requires AVS 2.81+
I think we all have Texer II so there's no need to include it. Made with TomyLobo's AVSTrans.

Comments/suggestions/bug reports/hi-scores (please don't cheat) are very welcome.

Have a nice day!
Attached Files
File Type: zip avsrock.zip (4.5 KB, 173 views)
Neoavs is offline   Reply With Quote
Old 19th April 2004, 18:15   #2
TomyLobo
Major Dude
 
TomyLobo's Avatar
 
Join Date: Feb 2004
Location: Germany
Posts: 580
here is what i typed in a text box while playing your game

adsd

iawwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwawdqasaqasaaqsddddddqdqqwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwqqqdddddddddddddddddddddddddqsqdqdwwwaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaawwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwqasssqwwwwwwdqsddddddqdwwwwwwwwwwwwwwwww
wwwwwwwwwwwadqdddwwwsqassssssssssssqwaaqdssssssssssssssssssssssssssssssssss
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
ssssssssssaqdddqawwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwdqdsddqddqwaaaaaaaaaaasaqwaaaaaaaaadqddqsaqddddddddddddddddddddddddddd
dddddsqddddddddsswqaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaad

score=680

If you can't say something nice, say something surrealistic.
TomyLobo is offline   Reply With Quote
Old 19th April 2004, 18:36   #3
Neoavs
Junior Member
 
Neoavs's Avatar
 
Join Date: Jan 2004
Location: Vilnius, Lithuania
Posts: 29
Send a message via ICQ to Neoavs
you don't need a text box, really, you can select the AVS window and just press buttons

and new bug:

- Somehow when you press 'play again?' in the game over screen, the information line is turned off, it isn't in the reset code, I wonder how it happens...

[edit]
this bug doesn't work all the time (like the one described in documentation), so i guess it won't bother too much.

btw.: score: 10220

Last edited by Neoavs; 19th April 2004 at 18:53.
Neoavs is offline   Reply With Quote
Old 19th April 2004, 19:16   #4
TomyLobo
Major Dude
 
TomyLobo's Avatar
 
Join Date: Feb 2004
Location: Germany
Posts: 580
well, if i press WASDQ in the AVS window, it is passed to winamp
S toggles shuffle, which i don't want

If you can't say something nice, say something surrealistic.
TomyLobo is offline   Reply With Quote
Old 19th April 2004, 19:27   #5
Warrior of the Light
Forum King
 
Warrior of the Light's Avatar
 
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
score: exactly 9000 (first run, with music on, died at the beginning of a new song :'( )
Suggestion:
Wrapping - when the crosshair exeeds the window limits, -1 becomes 1 etc, image too)
Isn't it way to easy to play just without music? Perhaps adding a builtin minimum BPM could help preventing this.

Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever
Warrior of the Light is offline   Reply With Quote
Old 19th April 2004, 22:34   #6
hungryskull
Major Dude
 
hungryskull's Avatar
 
Join Date: Feb 2003
Location: Somewhere in Canada
Posts: 776
As cool as it is that you created a rock shooting game in AVS. It's really boring, the crosshair moves super slow.

Darn, I can't think of anything to put here.
hungryskull is offline   Reply With Quote
Old 19th April 2004, 23:08   #7
TomyLobo
Major Dude
 
TomyLobo's Avatar
 
Join Date: Feb 2004
Location: Germany
Posts: 580
maybe faster asteroid spawn and mouse control?

if you do mouse control, please wrap the mouse coordinates, so one doesnt have to click (double-click) the AVS window all the time

code:

mousex=(((getkbmouse(1)+1)/2*(w-1)+w*10)%w)/(w-1)*2-1;
mousey=(((getkbmouse(2)+1)/2*(h-1)+h*10)%h)/(h-1)*2-1;


If you can't say something nice, say something surrealistic.
TomyLobo is offline   Reply With Quote
Old 20th April 2004, 08:45   #8
Tuggummi
Bin King
 
Tuggummi's Avatar
 
Join Date: Mar 2001
Location: Finland
Posts: 2,179
Boring and not exactly what i expected
I thought you would control a ship and shoot the asteroids with that and the asterdoids would shatter into little pieces which you also have to shoot... well you know.
Of course that would require loads of complicated formulas for collision, thurst & steer, shoot & hit etc...

Texer Resources

Im retarded... err i mean retired!
Probably both...
Tuggummi is offline   Reply With Quote
Old 20th April 2004, 14:05   #9
Neoavs
Junior Member
 
Neoavs's Avatar
 
Join Date: Jan 2004
Location: Vilnius, Lithuania
Posts: 29
Send a message via ICQ to Neoavs
Tuggummi: Yeah, I was thinking of a ship, but realized that you have to calculate stuff like rotation and sync that with moving direction, and it just became so difficult in my mind, so I was stuck with this crosshair variant. This is a version 0.5 so it is really not final release, but i may think of some asteroid explosions (the shatter thing), but really not into tiny pieces...

TomyLobo: can you explain be what that code does? I think it is easier to do the wrapping than that. And no, mouse control would be too easy... (imho). I know that s toggles shuffle, but i didn't find any other comfortable combination of buttons, so I chose the one that makes no drastic changes (shuffle is not fw 5secs or next song)

Hungryskull: you can set moving speed to go with your computer by changing the mf variable in first superscope (init section, way down in the bottom)
Neoavs is offline   Reply With Quote
Old 20th April 2004, 17:40   #10
TomyLobo
Major Dude
 
TomyLobo's Avatar
 
Join Date: Feb 2004
Location: Germany
Posts: 580
(getkbmouse(1)+1)/2*(w-1) <--- mouse x coordinate 0...w-1 on screen
then, w*10 is added to make sure that mouse coordinates below 0 (left of the AVS window) are above 0.
the whole thing is then modded with w to wrap it to 0...w-1
then it is converted back to -1...1 :
(...)/(w-1)*2-1

If you can't say something nice, say something surrealistic.
TomyLobo is offline   Reply With Quote
Old 21st April 2004, 23:42   #11
hungryskull
Major Dude
 
hungryskull's Avatar
 
Join Date: Feb 2003
Location: Somewhere in Canada
Posts: 776
[offtopic]AVS needs a feature to prevent the keyboard input from affecting everything else, without a textbox[/offtopic]

Darn, I can't think of anything to put here.
hungryskull is offline   Reply With Quote
Old 22nd April 2004, 10:10   #12
Warrior of the Light
Forum King
 
Warrior of the Light's Avatar
 
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,121
^
|
Belongs in wishlist

But I agree, we DO need such a thing

Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever
Warrior of the Light is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Visualizations > AVS > AVS Presets

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump