Steam'i Yükleyin
giriş
|
dil
简体中文 (Basitleştirilmiş Çince)
繁體中文 (Geleneksel Çince)
日本語 (Japonca)
한국어 (Korece)
ไทย (Tayca)
Български (Bulgarca)
Čeština (Çekçe)
Dansk (Danca)
Deutsch (Almanca)
English (İngilizce)
Español - España (İspanyolca - İspanya)
Español - Latinoamérica (İspanyolca - Latin Amerika)
Ελληνικά (Yunanca)
Français (Fransızca)
Italiano (İtalyanca)
Bahasa Indonesia (Endonezce)
Magyar (Macarca)
Nederlands (Hollandaca)
Norsk (Norveççe)
Polski (Lehçe)
Português (Portekizce - Portekiz)
Português - Brasil (Portekizce - Brezilya)
Română (Rumence)
Русский (Rusça)
Suomi (Fince)
Svenska (İsveççe)
Tiếng Việt (Vietnamca)
Українська (Ukraynaca)
Bir çeviri sorunu bildirin
if y-8 > room_height
{
if room_exists(obj_location.south)
{
room_goto(obj_location.south)
y = 0+8
}
}
if y-8 < 0
{
if room_exists(obj_location.north)
{
room_goto(obj_location.north)
y = room_height-8
}
}
if x+8 > room_width
{
if room_exists(obj_location.east)
{
room_goto(obj_location.east)
x = 0+8
}
}
if x-8 < 0
{
if room_exists(obj_location.west)
{
room_goto(obj_location.west)
x = room_width-8
}
}
I created an 'outside room' event and placed this code in it. Also I've added coding to the rooms which is the follow:
location = instance_create(0,0,obj_location)
with (location)
{
north = -1
south = -1
east = room2
west = -1
}
I've ticked Persistent.