Instal Steam
login
|
bahasa
简体中文 (Tionghoa Sederhana)
繁體中文 (Tionghoa Tradisional)
日本語 (Bahasa Jepang)
한국어 (Bahasa Korea)
ไทย (Bahasa Thai)
Български (Bahasa Bulgaria)
Čeština (Bahasa Ceko)
Dansk (Bahasa Denmark)
Deutsch (Bahasa Jerman)
English (Bahasa Inggris)
Español - España (Bahasa Spanyol - Spanyol)
Español - Latinoamérica (Bahasa Spanyol - Amerika Latin)
Ελληνικά (Bahasa Yunani)
Français (Bahasa Prancis)
Italiano (Bahasa Italia)
Magyar (Bahasa Hungaria)
Nederlands (Bahasa Belanda)
Norsk (Bahasa Norwegia)
Polski (Bahasa Polandia)
Português (Portugis - Portugal)
Português-Brasil (Bahasa Portugis-Brasil)
Română (Bahasa Rumania)
Русский (Bahasa Rusia)
Suomi (Bahasa Finlandia)
Svenska (Bahasa Swedia)
Türkçe (Bahasa Turki)
Tiếng Việt (Bahasa Vietnam)
Українська (Bahasa Ukraina)
Laporkan kesalahan penerjemahan
As for globals, the game definitely doesn't do them currently from what I can tell. Every function is an individual unit. I'd recommend passing minimal data around with function arguments if there's something you actually need a global variable for. This is a surprisingly rare case, though.
def resetPos():
for i in range(get_pos_x()):
move(West)
for i in range(get_pos_y()):
move(South)
def getMapSize():
resetPos()
move(South)
move(West)
size = get_pos_x()+1
move(North)
move(East)
return size
then I just pass it through the functions, but get_world_size() would work nicely too now, also I would love an in game library where i can get built in functions rather than going through the unlock info menu I wash i could show you everything I've done up too now
Same with the timer. get_time() is enough.
It is not clear how function get_world_size() could not be seen. She goes with "for"
If not a secret - why do you need a global variable?
Me - to get through Maze - without unnecessary poking at the walls :)