Author Topic: 3D/Raycasting Game ideas  (Read 9842 times)

0 Members and 2 Guests are viewing this topic.

Offline njaddison

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 176
  • Rating: +24/-27
    • View Profile
3D/Raycasting Game ideas
« on: November 15, 2011, 04:02:39 pm »
Hi guys.
I just read Chocksta's post about Tiny3D viewer.
He hasn't posted it yet, or I might be late.
So until he does (if he hasn't already),
we rely on raycasting for our 3D gaming needs.

My ideas are:
Wolfenstein 3D (in Lua)
Doom (this time in Lua, since nDoom is only compatible with ndless)
and a Capture the Flag like game, maybe with cube shaped vehicles.
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/5f42ec78e054645d.png" alt="NerdTests.com says I'm a Highly Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!">
</a>


Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: 3D/Raycasting Game ideas
« Reply #1 on: November 15, 2011, 04:05:21 pm »
i think you just have to become a little more realistic.. ndoom and/orwolfenstein in lua is impossible, that language is just too slow (interpreted) to do al that 3D design..

--edit--
raycasting is drawing a view around you in 3D by checking which ray reflect what object (like irl), so you get a real 3D view.. somewhere on this forum, there's a tutorial for it, but i don't know where
« Last Edit: November 15, 2011, 05:00:19 pm by Nick »

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: 3D/Raycasting Game ideas
« Reply #2 on: November 15, 2011, 04:11:14 pm »
what is raycasting?



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 3D/Raycasting Game ideas
« Reply #3 on: December 29, 2011, 02:37:15 am »
Yeah I agree it would be kinda too slow (at least in the current versions of Lua) so we have to remain realistic. It's possible to do raycasting in Lua, but even with no texture you get 10 images per second max at low quality.

what is raycasting?
http://en.wikipedia.org/wiki/Ray_casting

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: 3D/Raycasting Game ideas
« Reply #4 on: December 29, 2011, 03:13:03 am »
i think you just have to become a little more realistic.. ndoom and/orwolfenstein in lua is impossible, that language is just too slow (interpreted) to do al that 3D design..

I wouldn't go so far as to say it's impossible. Even 84+ BASIC has a wolfenstein port of somewhat reasonable quality. That said, it wouldn't be nearly as good as a C version could be and would take a lot of skill in the language.

If you didn't mind memory usage, you could always take the old Doom cheat and compute lookup tables of almost every possible angle to speed up rendering :P
« Last Edit: December 29, 2011, 03:14:21 am by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 3D/Raycasting Game ideas
« Reply #5 on: December 29, 2011, 03:18:03 am »
Didn't it run at 1 frame per minute? :P