Gravity script?

Gravity script?

Postby KalocoHD » 15 Feb 2021, 23:06

I am wondering... Does a Gravity Script exist, that can change the Gravity in a sector? :?
KalocoHD
 
Posts: 32
Joined: 30 Mar 2019, 14:53

Re: Gravity script?

Postby DevonST » 16 Feb 2021, 10:39

sector.settings.set_gravity(float gravity);

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

See also ScriptingSector in the SuperTux wiki.
User avatar
DevonST
 
Posts: 122
Joined: 18 Mar 2018, 11:01
Location: Germany

Re: Gravity script?

Postby KalocoHD » 16 Feb 2021, 12:56

Thx :)
KalocoHD
 
Posts: 32
Joined: 30 Mar 2019, 14:53

Re: Gravity script?

Postby KiyanTheBluePenguin » 17 Feb 2021, 11:45

Well That Was Easy.
User avatar
KiyanTheBluePenguin
 
Posts: 170
Joined: 15 Dec 2019, 15:15
Location: My Location Is Just Earth.

Who is online

Users browsing this forum: No registered users and 1 guest