[ANIMATED TITLEPIC] Showing only 1(last) Frame

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
HAL9000
Posts: 266
Joined: Fri Mar 16, 2018 7:44 am
Contact:

[ANIMATED TITLEPIC] Showing only 1(last) Frame

Post by HAL9000 »

Animated Titlepic [GZD 3.4.1] is not working.
Only Last Frame is showing in the TITLEPIC, instead of the entire animation.

Titlepic Files:
Deleted

ANIMDEF CODE
Spoiler:
How the Animation is supposed to look like:
Spoiler:
Last edited by HAL9000 on Sun Jul 15, 2018 6:31 pm, edited 1 time in total.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Post by Graf Zahl »

Fixed. But your mod still doesn't work because you animate Graphics/Titlepic/TITLEPIC.PNG instead of TITLEPIC. No, that's not the same - the engine won't even pick your TITLEPIC.PNG as the default but (guess what?) the last frame you saw on various occasions because that's the last found name which truncated to 8 characters results in TITLEPIC.
User avatar
HAL9000
Posts: 266
Joined: Fri Mar 16, 2018 7:44 am
Contact:

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Post by HAL9000 »

Graf Zahl wrote:Fixed. But your mod still doesn't work because you animate Graphics/Titlepic/TITLEPIC.PNG instead of TITLEPIC. No, that's not the same - the engine won't even pick your TITLEPIC.PNG as the default but (guess what?) the last frame you saw on various occasions because that's the last found name which truncated to 8 characters results in TITLEPIC.
Yeah, I've noticed after I've uploaded.
Thanks for the fix!
This should also work on Credits and conback, right?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Post by Graf Zahl »

Not on Conback. That is set up differently. I won't change this because it can be activated in game where an oversized animation for that image can really cause serious problems if it fills up the entire GPU memory.
CREDITS is run through the same code as TITLEPIC so that should work as-is.
User avatar
HAL9000
Posts: 266
Joined: Fri Mar 16, 2018 7:44 am
Contact:

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Post by HAL9000 »

Ok, Thanks for the info(and fix)!
User avatar
Void Weaver
Posts: 724
Joined: Thu Dec 18, 2014 7:15 am
Contact:

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Post by Void Weaver »

Sorry for my stupidness, but I have the same trouble as OP had.
Can somebody explain me please how to correct define multiple TITLEPIC's *.png, since file name limited only 8 characters?

MAPINFO

Code: Select all

gameinfo
{ titlepage = "TITLEPIC" }
ANIMDEFS

Code: Select all

TEXTURE Graphics/TITLEPIC
	pic "Graphics/TITLEPIC01" tics 7
   pic "Graphics/TITLEPIC02" tics 7 
	pic "Graphics/TITLEPIC03" tics 7 
	pic "Graphics/TITLEPIC04" tics 7
User avatar
HAL9000
Posts: 266
Joined: Fri Mar 16, 2018 7:44 am
Contact:

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Post by HAL9000 »

Code: Select all

Texture TITLEPIC
    pic "Graphics/Titlepicanim/TITLE00.PNG" tics 2 
    pic "Graphics/Titlepicanim/TITLE01.PNG" tics 2 
    pic "Graphics/Titlepicanim/TITLE03.PNG" tics 2
    pic "Graphics/Titlepicanim/TITLE04.PNG" tics 2

It must be Texture TITLEPIC not TEXTURE Graphics/TITLEPIC
User avatar
Void Weaver
Posts: 724
Joined: Thu Dec 18, 2014 7:15 am
Contact:

Re: [ANIMATED TITLEPIC] Showing only 1(last) Frame

Post by Void Weaver »

Thank you very much, all works perfect!
Post Reply

Return to “Closed Bugs [GZDoom]”