http://quickhost.qbtk.justicejuice.com/d....php?id=53
Ok. Here we go. A precise raycaster that supports 64x64 textures, mouse, etc.
Done in
PureQB! And it is lightning fast as well! ^_^
I get around 15Fps on my p100, and 34FPS for my 1.7GHz p4
what do you guys think?
Its roots are in the raycasting tutorial by Joe King. My compliments on a great set of raycasting tuts.
What have you done with the grass?
Psychadelic!
=)
Two words: Speed limiter!
Tap forward and your across the level
BTW: 48fps (if that is the number shown at end) AMD Duron 850MHz... hehe...
Great work!
The wall texture looks neat. I suppose I've never seen an engine that fast in PureQB. I got around 20 fps on my p2 233.
Only the "animated" floor is a little ... well, after watching it for a minute I feel dizzy. And I recommend to add a multiple key-handler.
Heh heh
Oh yea, i apoligise for the "animated grass". It actually is a reeeeally lazy fix to make the grass look better, two tone, you know. It is just until I learn how to make a floor mapper for it. =D
I tried implementing a multipe key handler, but on slower computers it wouldnt work because it wouldnt detect the release keys due to being too slow. I guess I could find some way around this tho.
Z!re: I purposely left a speed limiter off, so that you could see the pure unadulterated speed of it. =D
Quote:BTW: 48fps (if that is the number shown at end) AMD Duron 850MHz... hehe...
:o My computer, apparently twice the cpu power of yours, has a lower frame rate.
hifty: Consipracy.
What OS?
Allmighty windows 98 SE, custom.
Ran it again, after tweaking some, 64fps hehe.
All praise win 98.. lol...
The grass really look awfull :barf: .. a single color would have been better, now it just looks like a misstake
Hehe...
But very nice raycaster. Perhaps make a full engine? Support for external maps aso? Multiple textures? Monsters? Scripts?
Quote:Ran it again, after tweaking some, 64fps hehe.
:o What.. ahem... tweaking did you do?
Quote:The grass really look awfull :barf: .. a single color would have been better, now it just looks like a misstake
=/
that was uncalled for
:lol:
And I tried it with a single colour. Looked booooring. =)
Quote:But very nice raycaster. Perhaps make a full engine? Support for external maps aso? Multiple textures? Monsters? Scripts?
Yep, thats what Im planning for development. But I will have to see how far my understanding for this stretches. I would like to implement a floor mapper first. Then there wont be anymore Blech grass
and it will looks even better =D
Tweaking: Fresh boot, turn off everything not needed by DOS. Ran it. 64fps. (63.6xxxxxxx or 63.7, can't remember, lol)
Hehe, it looks nice, and with a floor mapper it will look great =)
Perhaps lighting?, Fog effect?, Real-Time addable objects, even walls?... nanana, maybe I should just make a wishlist? :wink:
EDIT: Ran it without FFIX: FPS: 17
is ffix pure qb? if it isn't, then your raycaster isn't pure qb. (well it is pure qb, but isn't as fast as it seems)
Quote:is ffix pure qb? if it isn't, then your raycaster isn't pure qb. (well it is pure qb, but isn't as fast as it seems)
I call ffix "QuickBasic patch"
I think it shouldn't be treated like any other library...
Quote:EDIT: Ran it without FFIX: FPS: 17
Really? The speed reduction that I get isnt nearly that much! Maybe somehow your computer loves FFIX. lol
(I get exactly half the FPS without FFIX, funny how you get only about a quarter...)