Raycasting problems

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!
Post Reply
izidor
Veteran
Posts: 110
Joined: Wed Apr 22, 2009 3:13 am
Contact:

Raycasting problems

Post by izidor »

I need help with my raycaster. I have already made it possible to use textures but one texture is one line. Example:

0
1
1
1
1
1
1
0
0
1
0
1

0 represents one color and 1 some other color. If you still do not understand what am I talking about look at this example:

11
01
10
00
11
00
11

I can not achieve this. I can have only one row in my texture. So I can have only one texture repeating it self, maximum 4 to 5 because more looks bad. http://izidorsqbsite.phatcode.net/Downl ... iculum.zip, here you can download the game to understand it better.
So, if anyone could help me with my raycaster so it can use 100*100 textures please reply and post your e-mail address or send it in a message so I can send you source code. Some other tips are appriceated too.

Izidor.
MalkomK
Newbie
Posts: 6
Joined: Fri Apr 08, 2011 12:12 pm

Post by MalkomK »

The screenshots are broken. You should post your source and update the screens if you want help.
Post Reply