Release SuperTux2


Hi again,

I think I tried every single alpha / NPOT related option in @ptitSeb 's GL4ES, but to no avail :(

I'll try to run SuperTux2 along with "perf top" to understand where the problem is.

EDIT: I'm not sure "perf to" can spot where the GPU spends the most time though...

Cheers, Magic Sam
 
Last edited:
Hi all,

@Loic2003 : I confirm your latest version works like a charm :) Thank you !

Another issue I found: the game slows down quite a lot (~30 FPS -> 20 FPS) when there's a specific texture involved... If I'm not mistaken, its images/tiles/snow/background2.png.

IIRC, that file is an 8 bits RGBA 256x96 PNG. I wonder whether the transparency and / or the NPOT texture size has something to do with it...

Cheers, Magic Sam
Transparency isn't dealing with this, because every texture in supertux are with transparency. Also, there are some other NPOT images, as images/tiles/snow/convex.png.
But can I have a save game and the level involved with it? (Note: it is supposed to run at 32 FPS, which is half the origial speed of 64 FPS.)
[doublepost=1526821277,1526803591][/doublepost]
Hey my kids and I love the SuperTux games. Are there any thoughts to doing the SuperTux2 level editor too?
Hello,
The last build has the level editor.

Hi all :)

@Loic2003 : I just reached the end of the icy world (Castle of Nolox). That level is not playable at all because of a weird graphical glitch. I'll try to provide you with some screenshots and / or a saved game, so that you may reproduce that issue on your end.

There are several other issues with this build, but more on that later :)

Cheers, Magic Sam
[doublepost=1526229992,1526229273][/doublepost]Hi again !

I'm attaching a saved game to this post. I hope that helps :)

Cheers, Magic Sam
This was a bug caused by a texture copy. It should be fixed in the new build:

v0.5.1-415-g035128fee: build 06:
--------------------------------------------
  • Levels with lightmap are now displaying well.
 
Hi all,

@Loic2003 : do you really need a saved game to reach level 1 ? ;) :p This texture is quite common throughout the game, you shouldn't have any difficulty finding it.

On a side note, this latest release is on average much slower than the previous one.

On rare occasions it peaks at ~40 FPS, but most of the time it runs at ~20 FPS (on my Rebirth at 600 MHz, without music to avoid stuttering). The world map is even slower (~10 FPS).

Cheers, Magic Sam
 
Hi all,

@Loic2003 : do you really need a saved game to reach level 1 ? ;) :p This texture is quite common throughout the game, you shouldn't have any difficulty finding it.

On a side note, this latest release is on average much slower than the previous one.

On rare occasions it peaks at ~40 FPS, but most of the time it runs at ~20 FPS (on my Rebirth at 600 MHz, without music to avoid stuttering). The world map is even slower (~10 FPS).

Cheers, Magic Sam
So it appears, during the testing, that SuperTux2 prints a lot of times on the screen. This has been slightly decreased (see the glLessCall branch on my repo and commits a759a56 & 317128b ) but I still need to reorganize the texture printing...
After that it should reduce the number of GL prints from more than 500 to about 100 I think, so it will probably increase speed.
 
So it appears, during the testing, that SuperTux2 prints a lot of times on the screen. This has been slightly decreased (see the glLessCall branch on my repo and commits a759a56 & 317128b ) but I still need to reorganize the texture printing...
After that it should reduce the number of GL prints from more than 500 to about 100 I think, so it will probably increase speed.
Not "printing" but "drawing"
 
Back
Top