Steam installeren
inloggen
|
taal
简体中文 (Chinees, vereenvoudigd)
繁體中文 (Chinees, traditioneel)
日本語 (Japans)
한국어 (Koreaans)
ไทย (Thai)
Български (Bulgaars)
Čeština (Tsjechisch)
Dansk (Deens)
Deutsch (Duits)
English (Engels)
Español-España (Spaans - Spanje)
Español - Latinoamérica (Spaans - Latijns-Amerika)
Ελληνικά (Grieks)
Français (Frans)
Italiano (Italiaans)
Bahasa Indonesia (Indonesisch)
Magyar (Hongaars)
Norsk (Noors)
Polski (Pools)
Português (Portugees - Portugal)
Português - Brasil (Braziliaans-Portugees)
Română (Roemeens)
Русский (Russisch)
Suomi (Fins)
Svenska (Zweeds)
Türkçe (Turks)
Tiếng Việt (Vietnamees)
Українська (Oekraïens)
Een vertaalprobleem melden
alterable value "gravcontrol" = 0 set gravity to (default value) and set y acceleration to 0
alterable value "gravcontrol" = 1 set gravity to 0 and set y acceleration to (whatever speed you prefer)
Just use invisible obstacles that set gravcontrol to 0 or 1 when you overlap them.
Hrm, if I'm not mistaken, the pmo object should handle that itself. Say if your max y accleration is 1000 and your current y acceleration is -100, it should gradually go to -1000.
If for whatever reason its not, then change the second event to something like this:
alterable value "gravcontrol" = 1 set gravity to 0 and set y acceleration to current y acceleration - 50.
What that does is subtract 50 from the current y acceleration. y accleration is backwards, so negative values move up, and positive values move down.