Jump to content

  • Log In with Google      Sign In   
  • Create Account


Creating an engine like Prelude Of The Chambered


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 Dakk   Members   -  Reputation: 121

Like
0Likes
Like

Posted 22 November 2011 - 11:19 AM

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

Sponsor:

#2 Daimon   Members   -  Reputation: 102

Like
1Likes
Like

Posted 23 November 2011 - 05:33 AM

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:
Posted Image

Uploaded with ImageShack.us



#3 Dakk   Members   -  Reputation: 121

Like
0Likes
Like

Posted 23 November 2011 - 07:05 AM


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:
Posted Image

Uploaded with ImageShack.us



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

thank you!

#4 Dakk   Members   -  Reputation: 121

Like
0Likes
Like

Posted 24 November 2011 - 02:27 PM



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:
Posted Image

Uploaded with ImageShack.us



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

thank you!


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.

#5 Daimon   Members   -  Reputation: 102

Like
0Likes
Like

Posted 25 November 2011 - 02:19 AM

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!








#6 Dakk   Members   -  Reputation: 121

Like
0Likes
Like

Posted 25 November 2011 - 07:14 AM


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!








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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS