- AVS Presets
- AVSRock, the asteroid-shooting AVS game
Archive: AVSRock, the asteroid-shooting AVS game
Neoavs
19th April 2004 18:56 UTC
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!
TomyLobo
19th April 2004 19:15 UTC
here is what i typed in a text box while playing your game :D
adsd
iawwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwawdqasaqasaaqsddddddqdqqwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwqqqdddddddddddddddddddddddddqsqdqdwwwaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaawwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwqasssqwwwwwwdqsddddddqdwwwwwwwwwwwwwwwww
wwwwwwwwwwwadqdddwwwsqassssssssssssqwaaqdssssssssssssssssssssssssssssssssss
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
ssssssssssaqdddqawwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwdqdsddqddqwaaaaaaaaaaasaqwaaaaaaaaadqddqsaqddddddddddddddddddddddddddd
dddddsqddddddddsswqaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaad
score=680 :)
Neoavs
19th April 2004 19:36 UTC
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
TomyLobo
19th April 2004 20:16 UTC
well, if i press WASDQ in the AVS window, it is passed to winamp
S toggles shuffle, which i don't want :)
Warrior of the Light
19th April 2004 20:27 UTC
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.
hungryskull
19th April 2004 23:34 UTC
As cool as it is that you created a rock shooting game in AVS. It's really boring, the crosshair moves super slow.
TomyLobo
20th April 2004 00:08 UTC
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 :)
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;
Tuggummi
20th April 2004 09:45 UTC
Boring and not exactly what i expected :igor:
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...
Neoavs
20th April 2004 15:05 UTC
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)
TomyLobo
20th April 2004 18:40 UTC
(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
hungryskull
22nd April 2004 00:42 UTC
[offtopic]AVS needs a feature to prevent the keyboard input from affecting everything else, without a textbox[/offtopic]
Warrior of the Light
22nd April 2004 11:10 UTC
^
|
Belongs in wishlist
But I agree, we DO need such a thing