Qbasicnews.com
1 key challenge revisited - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: QbasicNews.Com (http://qbasicnews.com/newforum/forum-3.html)
+--- Forum: Challenges (http://qbasicnews.com/newforum/forum-10.html)
+--- Thread: 1 key challenge revisited (/thread-8179.html)

Pages: 1 2 3 4


1 key challenge revisited - Rattrapmax6 - 10-03-2005

Quote:
rpgfan3233 Wrote:
Rattrapmax6 Wrote:
Cha0s Wrote:
Code:
screen 13, , , 1

That game sucks.... :lol:

j/k (I know you was showing Dio full screen mode...) :rotfl:
What are you talking about!? You can make up whatever imaginary game you want from a blank screen! :-P
It doesent use a key for input, it's dissqualified!

:lol: [yoda]Only one key there is, no more, no less.[/yoda]


1 key challenge revisited - whitetiger0990 - 10-04-2005

Simple solution
Code:
screen 13, , , 1
do:loop until inkey$="g"



Hehe I'll think of a game. I was going to enter the old one but didn't


1 key challenge revisited - KiZ - 10-04-2005

Quote:I was going to enter the old one but didn't

Me too :) I had an awesome game called the running man, where you had to make a man jump over obstacles while running. Pretty tricky, but fun none the less :D


1 key challenge revisited - urger - 10-04-2005

Rules question:
Could mouse clicks be used as the "one key" if only the status of the mouses buttons were monitored? Positioning of the mouse wouldn't matter, only the fact that it was clicked.


1 key challenge revisited - whitetiger0990 - 10-04-2005

Couldn't you easily replace that with a keyboard key?


1 key challenge revisited - Z!re - 10-04-2005

Quote:Rules question:
Could mouse clicks be used as the "one key" if only the status of the mouses buttons were monitored? Positioning of the mouse wouldn't matter, only the fact that it was clicked.
If only ONE if the mouse buttons count ya..

Well, as long as they dont do different things, if you want you can trap all keys, and all mouse movement and input.. as long as it only ends up doing one thing.

Code:
if inkey$ = "q" or inkey$ = "w" or [...] or mouseBTN <> 0 or mouseX [...] then
Do one thing
end if



1 key challenge revisited - urger - 10-04-2005

Woohoo Big Grin
Introducing my entry into this compo: Circulousity
In production screenshot:
[Image: 4558-t.png]
Select thumbnail to open a fullsize image (warning: very large)
Developed and running under Ubuntu


1 key challenge revisited - red_Marvin - 10-08-2005

Must the key be a physical key on the keyboard/mouse/etc or can
it be a key/button in a gui?

-> if you click at area A you choose new game, B=exit, C=help ...
Z=The gameplay input method.

It will still be a binary way of inputting (on or off) and the only way to
act in the game (the other buttons in the gui is for menu's and stuff)


1 key challenge revisited - Z!re - 10-11-2005

You can do whatever you want for menus etc..
you can have a clickable button to bring up a menu, to pause or to quit..

The GAME, has to be driven by a single key, or mouse button...


Menus, pause, or other such things, do NOT count as game keys..


1 key challenge revisited - red_Marvin - 10-12-2005

So no gui simulated-single-button based input then... OK