Page 1 of 1

Gravity script?

PostPosted: 15 Feb 2021, 23:06
by KalocoHD
I am wondering... Does a Gravity Script exist, that can change the Gravity in a sector? :?

Re: Gravity script?

PostPosted: 16 Feb 2021, 10:39
by DevonST
sector.settings.set_gravity(float gravity);

For example: sector.settings.set_gravity(5.5);

See also ScriptingSector in the SuperTux wiki.

Re: Gravity script?

PostPosted: 16 Feb 2021, 12:56
by KalocoHD
Thx :)

Re: Gravity script?

PostPosted: 17 Feb 2021, 11:45
by KiyanTheBluePenguin
Well That Was Easy.