Archive: Simple Game


7th December 2003 01:33 UTC

Simple Game
I finally decided to stop procrastinating and try working with AVS again and started reworking all of my presets. I decided to do something with the mouse control, and this is what I came up with. The game is pretty straightforward, keep the black lines from reaching the bottom.

(btw...is there any easy way to only trap the first 'click' so that click+drag doesn't regiser on the buttons?)

[EDIT]Realized I forgot to turn off Enhanced Deflate in winzip. Same file, though.[/edit]


7th December 2003 01:40 UTC

i kinda like it, not much more to say


7th December 2003 11:43 UTC

kinda reminds me of that rat game in sam&max :)


7th December 2003 17:36 UTC

OK. And somebody can probably help with the holding down the button thing.


7th December 2003 20:57 UTC

Entertaining for like 15 seconds until you get into the pattern of just clicking across in order. Needs to have more randomization.

814 is my current high score.


7th December 2003 20:59 UTC

make that 1236


7th December 2003 22:12 UTC

Re: Simple Game

Originally posted by m²k
(btw...is there any easy way to only trap the first 'click' so that click+drag doesn't regiser on the buttons?)
Yeah you can do that. Each frame, only register a mouse click if the mouse was not down on the last frame. It shouldn't be too hard to do that. Just set a variable at the end of your code to the getmousekb(3) on that frame. Then on the next frame, compare that variable to the current getmousekb(3). Very addicting game, nice work!

9th December 2003 01:53 UTC

Originally posted by NemoOrange
Entertaining for like 15 seconds until you get into the pattern of just clicking across in order. Needs to have more randomization.

814 is my current high score.
Will fix that...

11th December 2003 05:52 UTC

Yeah you can do that. Each frame, only register a mouse click if the mouse was not down on the last frame. It shouldn't be too hard to do that. Just set a variable at the end of your code to the getmousekb(3) on that frame. Then on the next frame, compare that variable to the current getmousekb(3). Very addicting game, nice work!
I suspect that would just toggle on off on off each frame as you hold down the mouse button.

11th December 2003 05:54 UTC

or maybe i should just check things before i deflate them so.


12th December 2003 21:40 UTC

Improved...


12th December 2003 22:56 UTC

I made it so holding down the mouse doesn't work.


13th December 2003 11:07 UTC

You should make it FPS independant. It went way to fast, until I adjusted the framerate slider. You can also very easy that way, just set the framerate slider to 10 or something fps.