Sign in to follow this  
ChristofferKrook

Creating an engine like Prelude Of The Chambered

Recommended Posts

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..


[b]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.[/b]

Thanks in advance!

Here is the creating of / video of end result
[url="http://www.youtube.com/watch?v=KcfFJ6pNEZk"]http://www.youtube.c...h?v=KcfFJ6pNEZk[/url]

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)
[url="http://www.ludumdare.com/compo/ludum-dare-21/?action=preview&uid=398"]http://www.ludumdare...preview&uid=398[/url]

Share this post


Link to post
Share on other sites
Daimon    102
[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..


[b]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.[/b]

Thanks in advance!

Here is the creating of / video of end result
[url="http://www.youtube.com/watch?v=KcfFJ6pNEZk"]http://www.youtube.c...h?v=KcfFJ6pNEZk[/url]

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)
[url="http://www.ludumdare.com/compo/ludum-dare-21/?action=preview&uid=398"]http://www.ludumdare...preview&uid=398[/url]
[/quote]




Hello Dakk!


Maybe you should check out this tutorial:

[url="http://www.permadi.com/tutorial/raycast/index.html"]http://www.permadi.c...cast/index.html[/url]

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:
[URL=http://imageshack.us/photo/my-images/100/asciic.jpg/][IMG]http://img100.imageshack.us/img100/4673/asciic.jpg[/IMG][/URL]

Uploaded with [URL=http://imageshack.us]ImageShack.us[/URL]

Share this post


Link to post
Share on other sites
[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..


[b]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.[/b]

Thanks in advance!

Here is the creating of / video of end result
[url="http://www.youtube.com/watch?v=KcfFJ6pNEZk"]http://www.youtube.c...h?v=KcfFJ6pNEZk[/url]

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)
[url="http://www.ludumdare.com/compo/ludum-dare-21/?action=preview&uid=398"]http://www.ludumdare...preview&uid=398[/url]
[/quote]




Hello Dakk!


Maybe you should check out this tutorial:

[url="http://www.permadi.com/tutorial/raycast/index.html"]http://www.permadi.c...cast/index.html[/url]

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:
[url="http://imageshack.us/photo/my-images/100/asciic.jpg/"][img]http://img100.imageshack.us/img100/4673/asciic.jpg[/img][/url]

Uploaded with [url="http://imageshack.us"]ImageShack.us[/url]


[/quote]

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

thank you!

Share this post


Link to post
Share on other sites
[quote name='Dakk' timestamp='1322053553' post='4886866']
[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..


[b]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.[/b]

Thanks in advance!

Here is the creating of / video of end result
[url="http://www.youtube.com/watch?v=KcfFJ6pNEZk"]http://www.youtube.c...h?v=KcfFJ6pNEZk[/url]

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)
[url="http://www.ludumdare.com/compo/ludum-dare-21/?action=preview&uid=398"]http://www.ludumdare...preview&uid=398[/url]
[/quote]




Hello Dakk!


Maybe you should check out this tutorial:

[url="http://www.permadi.com/tutorial/raycast/index.html"]http://www.permadi.c...cast/index.html[/url]

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:
[url="http://imageshack.us/photo/my-images/100/asciic.jpg/"][img]http://img100.imageshack.us/img100/4673/asciic.jpg[/img][/url]

Uploaded with [url="http://imageshack.us"]ImageShack.us[/url]


[/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.

Share this post


Link to post
Share on other sites
Daimon    102
[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.
[/quote]

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!






Share this post


Link to post
Share on other sites
[quote name='Daimon' timestamp='1322209195' post='4887558']
[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.
[/quote]

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this