Author Topic: [Lua] RayCaster  (Read 44046 times)

0 Members and 1 Guest are viewing this topic.

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: [Lua] RayCaster
« Reply #15 on: July 11, 2011, 01:29:17 pm »
Spoiler For Spoiler:
And now please try to make this in the high quuality like EPIC CITHADEL
If you'll be able to make that, You'll be really very good.

What's about windows in the walls, or doors?
*insert supercool signature*

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: [Lua] RayCaster
« Reply #16 on: July 11, 2011, 01:34:19 pm »
This is real nice, good job Chockosta!

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Lua] RayCaster
« Reply #17 on: July 11, 2011, 01:40:11 pm »
This is real nice, good job Chockosta!
Nope...
This is aMAZE-ing
not funny ?
EDIT: I answer myself: no.
Anyway, awesome.
« Last Edit: July 11, 2011, 01:40:41 pm by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: [Lua] RayCaster
« Reply #18 on: July 11, 2011, 02:53:48 pm »
I think you should go ahead and make a 3d maze game out of this. It would be much more conveient to control than the one in TI-BASIC.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: [Lua] RayCaster
« Reply #19 on: July 11, 2011, 11:30:01 pm »
For things like windows, you might be able to get away with just putting in a different texture..
Doors could all be "locked", as in they're not actual doors but textures as well :P
Vy'o'us pleorsdti thl'e gjaemue

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: [Lua] RayCaster
« Reply #20 on: July 11, 2011, 11:50:48 pm »
If you want the engine to run at 1fps, then textures for doors and windows would work. (not to mention textures would take up a huge amount of space due to the fact lua only uses double floats) Lua is impractical for making something like this, so hats off to Chockosta for pushing the limits of Lua the way it is right now.
« Last Edit: July 11, 2011, 11:52:02 pm by t0xic_kitt3n »

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: [Lua] RayCaster
« Reply #21 on: July 12, 2011, 12:22:15 am »
So solid walls it is :P
Vy'o'us pleorsdti thl'e gjaemue

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] RayCaster
« Reply #22 on: July 12, 2011, 01:54:34 pm »
Unfortunately, I only can draw plain walls, like Toxic_Kitten said.
But i could add "non-3D" sprites (like in Doom).
Unfortunately, image drawing sucks. I look for a way to add sprites...

And thanks to everybody for your comments !

EDIT : I've added some colors. I will look better on the CX :)
« Last Edit: July 12, 2011, 02:21:04 pm by Chockosta »

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: [Lua] RayCaster
« Reply #23 on: July 13, 2011, 09:23:25 am »
looks great!



What's about a little map, to see, where you are (Shown while pressing special key)

So would windows be possible?



to Chockosta:
In your sign is no RayCaster. It's missing.
« Last Edit: July 13, 2011, 09:25:23 am by p2 »
*insert supercool signature*

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: [Lua] RayCaster
« Reply #24 on: July 13, 2011, 09:32:46 am »
What's about a little map, to see, where you are (Shown while pressing special key)

So would windows be possible?
I thought this was supposed to be a maze game. I think that would be better without the map personally
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Lua] RayCaster
« Reply #25 on: July 13, 2011, 09:36:34 am »
Of course, if it is a maze, the map must not be shown. But if it becomes a FPS or a GTA, the map is a good idea.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: [Lua] RayCaster
« Reply #26 on: July 13, 2011, 09:51:03 am »
Of course, if it is a maze, the map must not be shown. But if it becomes a FPS or a GTA, the map is a good idea.
That would be a good idea
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline Chockosta

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 447
  • Rating: +169/-6
    • View Profile
Re: [Lua] RayCaster
« Reply #27 on: July 13, 2011, 10:01:31 am »
A map is really easy to add. Good idea :)

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Lua] RayCaster
« Reply #28 on: July 13, 2011, 10:07:11 am »
(
Of course, if it is a maze, the map must not be shown. But if it becomes a FPS or a GTA, the map is a good idea.
That would be a good idea
This is not my idea, give credits and +1s to p2.
)
And don't forget to display where in the map you are ;D
« Last Edit: July 13, 2011, 10:08:22 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: [Lua] RayCaster
« Reply #29 on: July 13, 2011, 10:08:16 am »
thanx.

But would it be possible to add windows into the walls?
And what sort of game would you make of it?
*insert supercool signature*