Logo

Help with lifebars (for Stepmania 5.0.12)...

Register Log In Back To Forums

Post #1 · Posted at 2017-08-02 06:40:13pm 6.7 years ago

Offline ojitsack
ojitsack Avatar Member
42 Posts
Venezuela
Reg. 2007-08-26

Hello everyone, how are you?

I'm making a theme, and I need help in a part with the lifebars. The question is:
Is there a possible way to make the "over" bar of one colour for player one and another colour for player two?

THANKS!!!
"In normal and paceful times, mind and body trains with modest spirit. In conflictive times, one must dedicate to justice and look for the peace. This is the true sense of the real life."

Please visit my StepMania theme's website: StepMania Tacvicom Edition

Post #2 · Posted at 2017-08-04 08:36:09pm 6.7 years ago

Offline dbk2
dbk2 Avatar Member
332 Posts
Not Set
Reg. 2012-04-30


Last updated: 2017-08-04 09:03pm
The relevant source code for 5.0.x is here.

My limited ability to read C++ leads me to believe that your the answer to you question is no. If you were hoping to do something like...


./YourTheme/Graphics/LifeMeterBar over P1.png
./YourTheme/Graphics/LifeMeterBar over P2.png

...the engine's source code is not written to allow that.

You could opt to not use the engine's LifeMeterBar and instead create your own LifeMeter(s) using Lua. Simply Love does this, and it got the idea from the Moonlight theme.

If you are not comfortable with Lua, however, I would not recommend this as a place to start learning.

Post #3 · Posted at 2017-08-04 09:09:05pm 6.7 years ago

Offline MadkaT
MadkaT Avatar Member
820 Posts
Not Set
Reg. 2009-11-24

Yes, as dbk2 have said is not posible, via regular theming, you have multiple solutions, but the easiest one is to skip/remove the LifeMeterBar over image, and via lua loading the overlay image, you could do it in Gameplay decorations or Gameplay overlay, that depends of your lifebar codings.

Post #4 · Posted at 2017-08-05 02:26:05am 6.7 years ago

Offline ojitsack
ojitsack Avatar Member
42 Posts
Venezuela
Reg. 2007-08-26

Ok, thanks.

I'll find a way to "kill some logic" and make it...
"In normal and paceful times, mind and body trains with modest spirit. In conflictive times, one must dedicate to justice and look for the peace. This is the true sense of the real life."

Please visit my StepMania theme's website: StepMania Tacvicom Edition
Register Log In Back To Forums

0 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 4% · Database: 4% · Server Time: 2024-04-19 04:07:18
This page took 0.004 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language