Important alert: (current site time 7/16/2013 2:35:17 AM EDT)
 

winzip icon

Orby 3D RayCaster

Email
Submitted on: 7/10/2006 1:44:21 AM
By: Hou X 
Level: Advanced
User Rating: By 19 Users
Compatibility: VB 6.0
Views: 18136
author picture
(About the author)
 
     I decided to tackle this project simply because of my curiosity in custom 3D and ray casting engines. This is a simple collect-'em-up game demonstrating the recursive raycasting engine that I have developed. It supports multi-layering for animated water and semi-transparent glass windows. It also supports simple sprites and other neat little features. This is written in purely VB and windows API, no DirectX or OpenGL. Check out the code for more detail. Do not forget to explore all corners and to take the time to enjoy the sceneries!!

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 2 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

7/10/2006 3:13:28 AMRobert Rayment

Small viewport. Note: awkward if you break in for low res in IDE, as expected. Variations on these methods - search 'Simon Price'. Very nice code 5/5.

(If this comment was disrespectful, please report it.)

 
7/10/2006 4:36:11 AMPaul Turcksin

Did not run in IDE, but compiled was OK. Impressive job!! Question: how do you catch the little green balls and/or move to the next level?
(If this comment was disrespectful, please report it.)

 
7/10/2006 8:21:35 AMHou X

just walk into the balls to collect them.
(If this comment was disrespectful, please report it.)

 
7/10/2006 10:10:55 AMTimo

amazing. i can not belive that vb6 works that speedy. nice made editor. thank you.
(If this comment was disrespectful, please report it.)

 
7/10/2006 2:55:06 PMAgustin Rodriguez

Congratulations, finally something understandable
(If this comment was disrespectful, please report it.)

 
7/10/2006 7:42:07 PMdafhi

very beautiful! i noticed Get / SetDiBits and CreateDibSection. Robert showed that StretchDiBits is very fast. I should post an example in a couple days
(If this comment was disrespectful, please report it.)

 
7/10/2006 10:12:05 PMHou X

I forgot to mention. You might have noticed, but there are some maps I left out of the game. You can use Load Level to play these maps.
(If this comment was disrespectful, please report it.)

 
7/10/2006 11:11:36 PMJoaquin Marcher

good work hou, this is amazing
(If this comment was disrespectful, please report it.)

 
7/11/2006 3:08:43 AMCris Friolo

Wow nice start 5
(If this comment was disrespectful, please report it.)

 
7/11/2006 5:47:38 AMMadGamer

This Is Great. Well Done!! Only one thing that I want to know is there a way to change the screen res make the refresh rate go back to what it was before. Because whenever I run this program it changes my refresh rate to 60 hertz. I thought that you would like to know just incase you didn't notice, you probably did though :). The only way I have found to correct this is to use DirectX or OpenGL to change the screen res. Thank you. Rate 5 Excellent
-MadGamer.

(If this comment was disrespectful, please report it.)

 
7/11/2006 2:04:28 PMdreamvb

hi very nise indeed this has to be the only REAL raycaster made in VB that is not all 90 degree angaled walls, very well done, tho using some Dx or open GL may speed it up a little, and it look almost cool with textures, I know you can use ASM rotations to speed up this to get it to run very fast, I once found a Port of Wolf3D engine that loads the maps and renders them like Wolf3D that uses ASM in VB email me and I send the URL were I got it from may give you some ideas.

5 form me*****
(If this comment was disrespectful, please report it.)

 
7/12/2006 10:36:56 AMdreamvb

hi tryed to email you the link two times and it faild unless your email is not correct, anyway here is the link I found.

http://natas8.com/projects.html

(If this comment was disrespectful, please report it.)

 
11/7/2006 1:18:41 AMAeric

5 stars for this 3D Pac-Man game. Maybe it will be more exciting with some Monsters. ;)
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.