Qbasicnews.com

Full Version: Bumpmap experiment
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
www.geocities.com/shashiraja_1/3dfloor.zip

Press space to alternate between normal and bumpmapped.
Tell me what you think.(FBCST is the freebasic version)

Also....
How come the program refuses to exit when I press escape, though it worked fine in qb?
very cool little demo....the bump effect is convincing......well done
That really cool,. Big Grin=b

But for your question, I looked at your code, really simple, you're checking for both k$ and INKEY$, this always screws up keypresses, don't know why.. here, change this:

Code:
IF INKEY$ = " " THEN mode = -mode

To this, and it works well as you will see...

Code:
IF k$ = " " THEN mode = -mode

:wink: , Really cool still!!!