Creating an engine like Prelude Of The Chambered

Started by
4 comments, last by ChristofferKrook 12 years, 4 months ago
I have No idea at all of how to create this 2.5D(?) engine. It is composed with minecraft like block walls and the enemies and such are billboarded to allways face you.

I tried thinking it over, and i tried to make it, and i have yet to succed.

He does it in a really smart way. He has an image wich the colour of a pixel decides what "block" will be placed there..


Could someone here please think it over and try to write down how one would create this type of engine? I dont mean post the complete code, but just pseudo code the techniques used and expain the mindset one would require.

Thanks in advance!

Here is the creating of / video of end result
http://www.youtube.c...h?v=KcfFJ6pNEZk

and here is the source code (I cannot understand it that well since iäve programmed for just 1.5 years and i am not at that level where i can just read code and understand it)
http://www.ludumdare...preview&uid=398
Advertisement

I have No idea at all of how to create this 2.5D(?) engine. It is composed with minecraft like block walls and the enemies and such are billboarded to allways face you.

I tried thinking it over, and i tried to make it, and i have yet to succed.

He does it in a really smart way. He has an image wich the colour of a pixel decides what "block" will be placed there..


Could someone here please think it over and try to write down how one would create this type of engine? I dont mean post the complete code, but just pseudo code the techniques used and expain the mindset one would require.

Thanks in advance!

Here is the creating of / video of end result
http://www.youtube.c...h?v=KcfFJ6pNEZk

and here is the source code (I cannot understand it that well since iäve programmed for just 1.5 years and i am not at that level where i can just read code and understand it)
http://www.ludumdare...preview&uid=398





Hello Dakk!


Maybe you should check out this tutorial:

http://www.permadi.c...cast/index.html

it explains the theory behind creating a ray casting, or "2.5D" Engine. I hope this will help you!




On a completely unrelated note, I'm currently using the techniques from this document to create an oldschool ray casting engine for the console, ASCII Art shading included:
asciic.jpg

Uploaded with ImageShack.us


[quote name='Dakk' timestamp='1321982350' post='4886610']
I have No idea at all of how to create this 2.5D(?) engine. It is composed with minecraft like block walls and the enemies and such are billboarded to allways face you.

I tried thinking it over, and i tried to make it, and i have yet to succed.

He does it in a really smart way. He has an image wich the colour of a pixel decides what "block" will be placed there..


Could someone here please think it over and try to write down how one would create this type of engine? I dont mean post the complete code, but just pseudo code the techniques used and expain the mindset one would require.

Thanks in advance!

Here is the creating of / video of end result
http://www.youtube.c...h?v=KcfFJ6pNEZk

and here is the source code (I cannot understand it that well since iäve programmed for just 1.5 years and i am not at that level where i can just read code and understand it)
http://www.ludumdare...preview&uid=398





Hello Dakk!


Maybe you should check out this tutorial:

http://www.permadi.c...cast/index.html

it explains the theory behind creating a ray casting, or "2.5D" Engine. I hope this will help you!




On a completely unrelated note, I'm currently using the techniques from this document to create an oldschool ray casting engine for the console, ASCII Art shading included:
asciic.jpg

Uploaded with ImageShack.us


[/quote]

Oh my god! I cannot thank you enough! This is EXACTLY what i was looking for!

thank you!

[quote name='Daimon' timestamp='1322047981' post='4886848']
[quote name='Dakk' timestamp='1321982350' post='4886610']
I have No idea at all of how to create this 2.5D(?) engine. It is composed with minecraft like block walls and the enemies and such are billboarded to allways face you.

I tried thinking it over, and i tried to make it, and i have yet to succed.

He does it in a really smart way. He has an image wich the colour of a pixel decides what "block" will be placed there..


Could someone here please think it over and try to write down how one would create this type of engine? I dont mean post the complete code, but just pseudo code the techniques used and expain the mindset one would require.

Thanks in advance!

Here is the creating of / video of end result
http://www.youtube.c...h?v=KcfFJ6pNEZk

and here is the source code (I cannot understand it that well since iäve programmed for just 1.5 years and i am not at that level where i can just read code and understand it)
http://www.ludumdare...preview&uid=398





Hello Dakk!


Maybe you should check out this tutorial:

http://www.permadi.c...cast/index.html

it explains the theory behind creating a ray casting, or "2.5D" Engine. I hope this will help you!




On a completely unrelated note, I'm currently using the techniques from this document to create an oldschool ray casting engine for the console, ASCII Art shading included:
asciic.jpg

Uploaded with ImageShack.us


[/quote]

Oh my god! I cannot thank you enough! This is EXACTLY what i was looking for!

thank you!
[/quote]

Ok, i changed my mind. There are NO good tutorials for this. Where did you learn how to do this? This is advanced for me.

The document you linked shows very well WHAT to achieve and WHAT i need to do, but it does not show HOW i do it.


Ok, i changed my mind. There are NO good tutorials for this. Where did you learn how to do this? This is advanced for me.

The document you linked shows very well WHAT to achieve and WHAT i need to do, but it does not show HOW i do it.


Hello,


just because it does not provide a lot of pseudocode (or code snippets in any language) it does not mean that it does not show you HOW to do it.

Yes, it seems very theoretical at first, but reading it carefully and taking notes should bring you closer to your goal. It is easier to implement once you understand the concept :-)

Also, at the end of the tutorial is a download link for an example project using this technique in java, which should help you understand it better.




If there are still specific points unclear, feel free to ask!







[quote name='Dakk' timestamp='1322166462' post='4887383']
Ok, i changed my mind. There are NO good tutorials for this. Where did you learn how to do this? This is advanced for me.

The document you linked shows very well WHAT to achieve and WHAT i need to do, but it does not show HOW i do it.


Hello,


just because it does not provide a lot of pseudocode (or code snippets in any language) it does not mean that it does not show you HOW to do it.

Yes, it seems very theoretical at first, but reading it carefully and taking notes should bring you closer to your goal. It is easier to implement once you understand the concept :-)

Also, at the end of the tutorial is a download link for an example project using this technique in java, which should help you understand it better.




If there are still specific points unclear, feel free to ask!







[/quote]

I cannot execute the code in Eclipse. I can open it and view it, but i cannot run it :/ Any idea of why? Could you provide a simple and better commented example? (I know i am asking for alot, sorry :/)

Thanks in advance

This topic is closed to new replies.

Advertisement