[Old Pinned]Welcome to the SuperTux Levels and Add-ons Forum

Timer for a ST Level

Postby SuperTuxFan SalomonD » 14 Apr 2022, 01:22

1. First go to "Objects" then "Sector"
2. Select the timer or clock icon on left and put it on anywhere of the screen
3. Right click to the Timer Icon on
4. Finnaly put the timer on whatever you want, like: 300 Timer

I hope this help you ;)
Sign,
SuperTuxFan
User avatar
SuperTuxFan SalomonD
 
Posts: 106
Joined: 18 Jan 2021, 19:14
Location: Earth

Re: Welcome to the SuperTux Levels and Add-ons Forum

Postby ProTux » 22 Apr 2022, 08:21

still going
im back
ProTux
 
Posts: 115
Joined: 04 Nov 2018, 15:27
Location: the world

Re: Welcome to the SuperTux Levels and Add-ons Forum

Postby Good13 » 26 May 2022, 14:55

Hi I am new to forum. I need help with FPS because my fps are getting so poor in supertux Before it was not like that but now it’s getting poor. What to do??!?
Good13
 
Posts: 10
Joined: 24 May 2022, 11:04

Re: Welcome to the SuperTux Levels and Add-ons Forum

Postby KiyanTheBluePenguin » 11 Jun 2022, 18:46

Good13 {l Wrote}:Hi I am new to forum. I need help with FPS because my fps are getting so poor in supertux Before it was not like that but now it’s getting poor. What to do??!?

Is there any other info? It's kinda required for help.
User avatar
KiyanTheBluePenguin
 
Posts: 218
Joined: 15 Dec 2019, 15:15
Location: Antarctica. Obviously

Re: Welcome to the SuperTux Levels and Add-ons Forum

Postby SuperTuxFan SalomonD » 14 Jul 2022, 01:17

Bear bear dolan 1 {l Wrote}:Does anyone know if there is any tool that blocks the camera view in the level editor?

Try this:
Camera.set_mode("manual");
Sign,
SuperTuxFan
User avatar
SuperTuxFan SalomonD
 
Posts: 106
Joined: 18 Jan 2021, 19:14
Location: Earth

Re: Welcome to the SuperTux Levels and Add-ons Forum

Postby SuperTuxFan SalomonD » 17 Jul 2022, 01:36

Bear bear dolan 1 {l Wrote}:
SuperTuxFan SalomonD {l Wrote}:
Bear bear dolan 1 {l Wrote}:Does anyone know if there is any tool that blocks the camera view in the level editor?

Try this:
Camera.set_mode("manual");

I don't want to block the camera view like that. I want to block the camera view for a part of the level, being automatic. Will I have to draw?


Enable Developer mode (on the game files) and with F2 in the debug mode put the show player position
Then you have the coordinates.

So when you want to the camera block on that position, save all numbers then in the scrip trigger put this:

Camera.scroll_to(*first numbers*, *second numbers*,*time you want to the effect*);
Like this: Camera.scroll_to(3000, 400, 5);
Sign,
SuperTuxFan
User avatar
SuperTuxFan SalomonD
 
Posts: 106
Joined: 18 Jan 2021, 19:14
Location: Earth

Re: Welcome to the SuperTux Levels and Add-ons Forum

Postby AllyTheOcelot » 23 Jul 2022, 21:56

Bear bear dolan 1 {l Wrote}:
SuperTuxFan SalomonD {l Wrote}:
Bear bear dolan 1 {l Wrote}:Does anyone know if there is any tool that blocks the camera view in the level editor?

Try this:
Camera.set_mode("manual");

I don't want to block the camera view like that. I want to block the camera view for a part of the level, being automatic. Will I have to draw?


1st of all, why are you asking this under the old welcome post for the add-ons? This is off-topic, and you really should have made a new topic to ask about this in ST add-on Discussions. You've already been warned for spam, arguing, and posting off-topic, so try not to get warned again :)

Secondly, to actually answer your question, you can use the lightmap tiles to draw regions around areas you may want blocked from vision, and then you can fade the tilemap using:

<tilemap name>.fade(<alpha value to fade to>, <time>);
Mewo
AllyTheOcelot
SuperTux Moderator
 
Posts: 68
Joined: 11 Nov 2018, 11:39

Who is online

Users browsing this forum: No registered users and 1 guest

cron