So as some of you know, I have been working on a top down 2D game, and finally (with the help of some great resources!) managed to get some procedural terrain generation happening.
For those who don’t know, I will just sum it up, by showing you a video of where the game is up to right now.
8k8oLnWopMw
As you can see, there is no auto-tiling/tile transitions. And despite spending hours upon hours googling for resources on how to go about creating an auto-tile system, I still find myself sitting in my chair, scratching my head as to how I can implement an auto-tiling system efficiently.
These are the best resources based on what other people have said, and from what I have seen myself:
http://www.gamedev.net/page/resources/_/technical/game-programming/tilemap-based-game-techniques-handling-terrai-r934
http://www.saltgames.com/2010/a-bitwise-method-for-applying-tilemaps/
Now I don’t know if it’s because I have the flu, have had very bad sleep, haven’t been eating properly, am stressed from work, am sore from the gym and have been dedicating just about every moment of my minimal free time to programming research and work…but I read those links, and for some reason I can’t seem to fully understand them, I kind of understand, but without some kind of source code example, I find myself thinking “huh?”
I just feel stupid that I can’t seem to understand how to implement this when so many other people eagerly point out that link and the other links as being the best resources, then saying they’ve implemented the system within 2 hours.
I’ve been trying to understand it for 2 days and haven’t gotten anywhere, it’s frustrating and disheartening that I can’t even understand something that is apparently so simple
I really don’t even know what to ask, the only way I could understand it is to see source code, or pseudocode.
Could anybody please explain the implementation side of thigns better than those articles, or post example code or pseudocode?
Your help will be greatly appreciated, and I think when I understand it, I will be writing a tutorial for others to understand it too.