Jump to content
  • Advertisement
Pepsidog

How to get started with engine development.

Recommended Posts

Whenever I make a game, I usually just use unreal or unity, since they work great for most things.  Unfortunately, there are exceptions.  How would you create an ascii art engine?  The only real requirements are collision detection, events, multi-color rendering, basic 2d pathfinding, and turn based actions.

Edited by Pepsidog

Share this post


Link to post
Share on other sites
Advertisement

Basically the math is quite the same as you have to translate your characters/ pixels to the screen properly and do some z-buffer stuff. I saved a Console Rendering Engine some time ago on GitHub. It already implements some of the stuff you need and for the ASCII-Art, have a look at what these guy did on YouTube. I had a look at the source code and it seemed to be pretty easy to get it running.

I don't know about youre desired rendering API, using the console for example lets you do 8 bit coloring straightforward, using something like OpenGL this will become a bit more tricky.

Collision detection is kind of a physics system, however there is no real how-to for this. Anything else is related to your gameplay code

Share this post


Link to post
Share on other sites

It depends what you mean when you say ASCII art engine, i know some games just do it in the shader and use traditonal engines. you could program exclusivly in the console the way One Lone Coder does it:

You could check out Real Time Collision Detection for learning some of the base collision algorithms:

https://realtimecollisiondetection.net/

There is also this github from a different book that has some useful algorithms:

https://github.com/gszauer/GamePhysicsCookbook

For Basic Path Finding, check out the book programming game AI by example, the source code has been put on github here is the specific folder with algorithms relating to graphs:

https://github.com/wangchen/Programming-Game-AI-by-Example-src/tree/master/Common/Graph

 

Share this post


Link to post
Share on other sites
On 10/23/2019 at 12:14 PM, Jman2 said:

It depends what you mean when you say ASCII art engine, i know some games just do it in the shader and use traditonal engines. you could program exclusivly in the console the way One Lone Coder does it:

You could check out Real Time Collision Detection for learning some of the base collision algorithms:

https://realtimecollisiondetection.net/

There is also this github from a different book that has some useful algorithms:

https://github.com/gszauer/GamePhysicsCookbook

For Basic Path Finding, check out the book programming game AI by example, the source code has been put on github here is the specific folder with algorithms relating to graphs:

https://github.com/wangchen/Programming-Game-AI-by-Example-src/tree/master/Common/Graph

 

Wow, that's a lot of info to process, still will take that into account for the future, many thanks!

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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!