Search found 193 matches

by elsairon
Jan 12, 2008 20:06
Forum: Libraries Questions
Topic: Crossplatform keyboard input library? (mostly solved)
Replies: 10
Views: 3316

MichaelW, thanks. This will work well for the windows part.

Thanks Sisophn2001, your solution solves my main concern.
by elsairon
Jan 12, 2008 18:57
Forum: General
Topic: NUMLOCK and SCREENEVENT
Replies: 3
Views: 2007

Works great here, fbc 0.18.3 on winxp.
by elsairon
Jan 11, 2008 13:27
Forum: Game Dev
Topic: Bullet-Cloud:New WIP sidescroller by ME!
Replies: 13
Views: 10578

Tried out your game last night. Pretty nice, and hard as well. I wasn't able to get more than 75 points or so, although I did notice my score going up as I played.

Good work, looking forward to future versions :)
by elsairon
Jan 11, 2008 13:19
Forum: Libraries Questions
Topic: Crossplatform keyboard input library? (mostly solved)
Replies: 10
Views: 3316

Multikey does not return events for numpad keys with respect to the numlock toggle. Inkey does. Perhaps Multikey could be improved, were would be a good place to start with this? Edit: After some forum searching I notice this issue has been around and has no clear solutions. Library that allows chec...
by elsairon
Jan 11, 2008 4:34
Forum: Projects
Topic: Roguelike walk around demo with simple field of view
Replies: 23
Views: 6979

Ok. Got the speed issue handled. Changes - much tweaked multikey input handler. - los function passes params byref instead of byval. - per suggestion only 4 movement keys (up, down, left, and right) About the keyhandler: There is a controlled delay between keypress to game function events. Initially...
by elsairon
Jan 11, 2008 1:53
Forum: Projects
Topic: Roguelike walk around demo with simple field of view
Replies: 23
Views: 6979

dabooda wrote:Just my 2c's but I would use toggles. like so ...
<snip example>
This keeps your key from reading more than once.
Thanks. I think this will solve the issue.
by elsairon
Jan 11, 2008 1:49
Forum: Projects
Topic: Roguelike walk around demo with simple field of view
Replies: 23
Views: 6979

My keyboard works fine. So the numpad works fine using both the first and the second examples? BTW, I'm with dabooda on this. Shees, you can easily code using MULTIKEY so the user needs to press keys REPEADETLY, or that a key reacts first time you press and then every [insert_number] of loops. What...
by elsairon
Jan 10, 2008 23:01
Forum: Libraries Questions
Topic: Crossplatform keyboard input library? (mostly solved)
Replies: 10
Views: 3316

The main reason I ask is that I have had some users reporting that certian keys do not work when using inkey input routines. Specifically the numpad. Setting up constants for scancode values in advance seems to not work for all users. Is there a way to detect what values are bound to keys, and then ...
by elsairon
Jan 10, 2008 22:15
Forum: Documentation
Topic: I think I found a bug in wiki > Help...
Replies: 3
Views: 2698

Here is a link to the current CatPg for Operators. http://www.freebasic.net/wiki/wikka.php?wakka=CatPgOperators It's kind of difficult to document/look up symbol characters. Perhaps what we need is one page listing all the uses for different characters. I think an operator symbol list could be made ...
by elsairon
Jan 10, 2008 22:04
Forum: Sources, Examples, Tips and Tricks
Topic: A simple 3D render method
Replies: 21
Views: 6096

Nice!

Add texture support for the poly's and non visible poly culling you're set ... :P
by elsairon
Jan 10, 2008 21:43
Forum: Projects
Topic: Roguelike walk around demo with simple field of view
Replies: 23
Views: 6979

Smooth animation is not needed with turn based one key one action RL demo ;) My main concern for testing multikey was to get support for all keyboards. Predefined scancodes for Inkey seem to break for different users (I assume because of different keyboard layouts). I'll probably have to add in some...
by elsairon
Jan 10, 2008 21:21
Forum: Libraries Questions
Topic: Crossplatform keyboard input library? (mostly solved)
Replies: 10
Views: 3316

Crossplatform keyboard input library? (mostly solved)

Looking for a library that has good cross platform keyboard handling and keyboard detection (for example, detect and support azerty, qwerty, etc. keyboards).

The only libs I have heard of mentioned for this are the curses variants.

Are there any other good ones?
by elsairon
Jan 10, 2008 18:55
Forum: Projects
Topic: Roguelike walk around demo with simple field of view
Replies: 23
Views: 6979

Here is another test. Multikey input is used to set a flag variable. The flag is used in a switch to initiate the games functions. The flag variable and the keybuffer is cleared in each input loop iteration, and it still produces multiple moves!. I conclude (so far), the best course will use inkey f...
by elsairon
Jan 10, 2008 18:19
Forum: Archive
Topic: [Alzir] 3-Week Roguelike outcome...
Replies: 17
Views: 10788

FYI: Error when using FB 18.3 in Alzir.bas

Lines 226 - 231

Code: Select all

      '' Wipe monsters!
      for y as integer = 0 to ubound( monster,2 )
         for x as integer = 0 to ubound( monster,1 )
            SetTile Monster( x, y ), m_empty
         next y
      next x
The x,y after nexts are out of order.
by elsairon
Jan 10, 2008 16:21
Forum: Archive
Topic: [Alzir] 3-Week Roguelike outcome...
Replies: 17
Views: 10788

A TODO list. Well, there is a tiny bit of TODO left in the Alzir.bas at the start. Off the top of my head, I had:- Diary pages:- These are pages found once every 5 or so dungeon levels, that tell the story of a previous adventurer who failed to escape. By reading the pages you find out what he did ...