如何为python游戏制作一个开放的世界地图(基于文本)

时间:2016-09-27 20:29:14

标签: python-2.7 dictionary pygame

我将如何在python中创建一个开放的世界地图?这是我长期困扰的事情!对我来说什么是好技巧? 如果这是一种适合我的编码风格的地图制作方式,那么我的代码就是

print "you can write Inventory to see what your weapon is, but in the beta sor far you cant equip weapons!"
JunkJet_Durability = "4"
DAM = [1,2,3,4,5,6,7,8,9,10]
JunkJet_DAM = "7"
JunkJet_Resistance = "2"
Inventory = JunkJet
Junk = 5
JunkJet_Ammo = 85
print "your locations to go to : RivetCity EverGreenMills  ArcJetLabs Shelter FarragutMetro Citadel RavenRock Vault92 LittleLamplight Vault101 RivetCityLab RivetCityMarket"
vald = raw_input()
print "hey look, i found a note, write Note to see what it says"
Note = "I heard that a place West of evergreen mills called ArcJet Labs.I heard theres a nice weapons stash and even some vault tec works"
print "maybe we should go to arcjet labs! lets go!"
gottoarcjetlabs = "YAY, were going."
dontgo = "NOO, i wanted to go!!,"
if gottoarcjetlabs  ==  True:
    print gottoarcjet
    if dontgo is False:
     dontgo

我觉得大部分技巧都不适合我?请帮忙。

0 个答案:

没有答案