[boblog] Roguelike游戏中的随机地图产生
关于 roguelike 游戏,随机性是其独特魅力之一。
而地图的随机,则是 roguelike 游戏中不可或缺的一部分,尤其是对于热衷于地图探索的玩家而言。
在《Procedural Content Generation for C++ Game Development》这本书中有对随机地图生成算法的详细阐述。
下面是地图随机算法的具体实现的 demo 演示,可以看到,每次所产生的地图均不一样。
关于 roguelike 游戏,随机性是其独特魅力之一。
而地图的随机,则是 roguelike 游戏中不可或缺的一部分,尤其是对于热衷于地图探索的玩家而言。
在《Procedural Content Generation for C++ Game Development》这本书中有对随机地图生成算法的详细阐述。
下面是地图随机算法的具体实现的 demo 演示,可以看到,每次所产生的地图均不一样。
看起来不简单喔~
Hi @bobdos!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 5.595 which ranks you at #501 across all Steem accounts.
Your rank has dropped 3 places in the last three days (old rank 498).
In our last Algorithmic Curation Round, consisting of 249 contributions, your post is ranked at #155.
Evaluation of your UA score:
Feel free to join our @steem-ua Discord server
Congratulations @bobdos! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Click here to view your Board of Honor
If you no longer want to receive notifications, reply to this comment with the word
STOP
Do not miss the last post from @steemitboard: