Working Raycasting example! WolfenLöve 3D if you will...

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Working Raycasting example! WolfenLöve 3D if you will...

Post by Nixola »

Jasoco won't let die a project like this. Sadly, he may "abandon" it for some months...
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
substitute541
Party member
Posts: 484
Joined: Fri Aug 24, 2012 9:04 am
Location: Southern Leyte, Visayas, Philippines
Contact:

Re: Working Raycasting example! WolfenLöve 3D if you will...

Post by substitute541 »

Should I ignite the spark?
Currently designing themes for WordPress.

Sometimes lurks around the forum.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Working Raycasting example! WolfenLöve 3D if you will...

Post by Jasoco »

substitute541 wrote:Should I ignite the spark?
Define "spark".

And "ignite".

And "the".
User avatar
substitute541
Party member
Posts: 484
Joined: Fri Aug 24, 2012 9:04 am
Location: Southern Leyte, Visayas, Philippines
Contact:

Re: Working Raycasting example! WolfenLöve 3D if you will...

Post by substitute541 »

Jasoco wrote:
substitute541 wrote:Should I ignite the spark?
Define "spark".

And "ignite".

And "the".
Lol, sorry for my bad grammar. I don't live in US... I live in Philippines.. :3
Currently designing themes for WordPress.

Sometimes lurks around the forum.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Working Raycasting example! WolfenLöve 3D if you will...

Post by Jasoco »

I was asking what you meant by igniting the spark. I made a funny. But I was also wondering what you meant. How are you going to ignite a spark?
User avatar
substitute541
Party member
Posts: 484
Joined: Fri Aug 24, 2012 9:04 am
Location: Southern Leyte, Visayas, Philippines
Contact:

Re: Working Raycasting example! WolfenLöve 3D if you will...

Post by substitute541 »

Jasoco wrote:I was asking what you meant by igniting the spark. I made a funny. But I was also wondering what you meant. How are you going to ignite a spark?
Ah, my mind was kinda ... processing lots of information, so yeah, I ended up switching words. It was supposed to be "ignite the fuse" but somehow, spark came up in my mind and I accidentally replaced "fuse" with it.
Currently designing themes for WordPress.

Sometimes lurks around the forum.
User avatar
OmarShehata
Party member
Posts: 259
Joined: Tue May 29, 2012 6:46 pm
Location: Egypt
Contact:

Re: Working Raycasting example! WolfenLöve 3D if you will...

Post by OmarShehata »

substitute541 wrote:
Jasoco wrote:I was asking what you meant by igniting the spark. I made a funny. But I was also wondering what you meant. How are you going to ignite a spark?
Ah, my mind was kinda ... processing lots of information, so yeah, I ended up switching words. It was supposed to be "ignite the fuse" but somehow, spark came up in my mind and I accidentally replaced "fuse" with it.
"Ignite the spark" is the correct expression, be confident :P

Implying you're going to revive interest in this project, he's asking how you were planning on doing that.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Working Raycasting example! WolfenLöve 3D if you will...

Post by Jasoco »

OmarShehata wrote:
substitute541 wrote:
Jasoco wrote:I was asking what you meant by igniting the spark. I made a funny. But I was also wondering what you meant. How are you going to ignite a spark?
Ah, my mind was kinda ... processing lots of information, so yeah, I ended up switching words. It was supposed to be "ignite the fuse" but somehow, spark came up in my mind and I accidentally replaced "fuse" with it.
"Ignite the spark" is the correct expression, be confident :P

Implying you're going to revive interest in this project, he's asking how you were planning on doing that.
That's exactly what I was asking.
User avatar
IndieKid
Citizen
Posts: 80
Joined: Sat Dec 22, 2012 7:05 pm
Contact:

Re: Working Raycasting example! WolfenLöve 3D if you will...

Post by IndieKid »

Can you please tell me what exactly I need to do to add textures to walls. I'm some kind of newbie to LÖVE. If it is needed I can send my current state of Raycasting Game. Thanks.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Working Raycasting example! WolfenLöve 3D if you will...

Post by Jasoco »

My project is currently not in progress. You should probably ask the other guy currently doing Raycasting.

viewtopic.php?f=5&t=12069

I'm currently tied up with 3D polygons.

Short answer, if you've coded it correctly, and I assume you have if you have successfully replicated the numerous demos availble on the internet, you divide each wall tile into quads, figure out where along the wall the ray is hitting, (The value will be between 0 and 1 as a decimal value. Simply multiply that by the tile width you use and floor it to get your quad number) and display that quad.

Go to that link above. That is where most active discussion will be taking place until I decide to take up this project again.
Post Reply

Who is online

Users browsing this forum: No registered users and 217 guests