04-02-2005, 09:08 AM
Quote:Thanks guys i will give it a try later. Inform you how it turn out.
PS: Can any game be created?? Like a third person shooter??
fps can be done http://forum.qbasicnews.com/viewtopic.php?t=8985
Problem with the w,a,s,d commands
|
04-02-2005, 09:08 AM
Quote:Thanks guys i will give it a try later. Inform you how it turn out. fps can be done http://forum.qbasicnews.com/viewtopic.php?t=8985
04-02-2005, 05:29 PM
Quote: Yeah, I can't even get it to work period in widow mode, IDE and the test screen thing... :wink: Whenever i do that the arrow keys do not work. You could do Code: IF press$ <> (rightarrow.can't remember offtop of my head) and press$ <> (left arrow) AND press$ <> (up arrow) AND press$ <> (downarrow) THEN press$ = (UCASE$(press$)) i think that will work though there probebly is a quicker and eaisier way to do it (i get things done, but the WAY i do it is VERY no0b)
url=http://www.sloganizer.net/en/][/url]
04-02-2005, 07:13 PM
No, they want work if you trying to do them both at the same time.. you need a good multy key funtion for apps like that... I really ment that for like RPGs, to stop and pick up items, look at items, ect..
04-03-2005, 07:27 AM
Rattra:
I think you were misinterpting my post. I was commenting on how it makes the press sting upper case lol :lol:
i]"But...it was so beautifully done"[/i]
04-04-2005, 09:40 PM
Quote: No, they want work if you trying to do them both at the same time.. you need a good multy key funtion for apps like that... I really ment that for like RPGs, to stop and pick up items, look at items, ect.. Would my way allow the arrow keys and buttons to be used or not?
url=http://www.sloganizer.net/en/][/url]
04-05-2005, 01:01 AM
To bad there isn't a onkeydown() event trap like in Javascript. Cause then you could make a function handler that stores it into an array. Then when you check for the keys in your program you could check for all the key that been pressed in your array, then just clear the array.
i]"But...it was so beautifully done"[/i]
04-05-2005, 02:30 AM
FB has a great keyhanderler built in, along with mouse...
Key: IF MULTIKEY(code for key) THEN.... Mouse: GETMOUSE x, y, wheel , buttons SETMOUSE x, y, info 'Locate, & hide or show.. if I'm remember it that bit right.. :wink:
04-05-2005, 04:31 AM
Ya well I still magage in QB....don't worry I got nothing against FB, I'm wating till I get SpaceMerc done first....
i]"But...it was so beautifully done"[/i]
|
« Next Oldest | Next Newest »
|