Logo

[SM5] Creating Theme questions

登録 ログイン フォーラム戻る

ポスト #1 · 2013-07-01 05:45:54amにポスト 10.8年前

Offline zGHRs
zGHRs Avatar Member
36 ポスト
China
Reg. 2013-07-01


Last updated: 2013-07-01 05:52am
Hello, every stepmania players. Because my old account can't be accessible due to both I forogtten the password and I have forgotten the registerred e-mail. So I have to register a new account to ask a theme question:

Now I am creating an SM5 theme, Like of this:
http://img33.imageshack.us/img33/8242/4jqi.jpg
(The Green Square Area)

http://img28.imageshack.us/img28/5335/p25t.jpg
(The Yellow Square Area)

How to solve the problem with the ratio in widescreen? I want to make the Stream display should not be ranout or fillover the lifemeter bar. Have it got any elites to get some points?

ポスト #2 · 2013-07-02 04:10:53amにポスト 10.8年前

Offline dbk2
dbk2 Avatar Member
332 ポスト
Not Set
Reg. 2012-04-30


Last updated: 2013-07-02 04:12am
I suspect the problem has to do with the "container" image you've made and how you've chosen to render it.

The SM Theming Wiki has a page on Sizing Commands here: http://kki.ajworld.net/wiki/Commands:Main

My guess is that you have the size of the Lua actor for the container graphic hardcoded to a value. You may want to make it more flexible, taking SM constants like SCREEN_WIDTH into consideration.


-- maybe you have something like this...?

LoadActor("container.png") .. {
InitCommand=cmd( zoomto, 200, 20; );
};

--maybe try something like this

LoadActor("container.png") .. {
InitCommand=cmd(zoomto, SCREEN_WIDTH/2 - 40, 20 );
};

ポスト #3 · 2013-07-02 10:42:41amにポスト 10.8年前

Offline SoundFX09
SoundFX09 Avatar Member
125 ポスト
United States
Reg. 2012-07-25


Last updated: 2013-07-02 10:45am
I might as well Ask my Question for help here, If it's okay.

I want to put Modifiers on My DDR X3 Theme to Display inside the Red Box During Gameplay. Anyone know how?

http://i1268.photobucket.com/albums/jj578/SoundFX09/2013-07-01_2330352_zps2330d6fc.jpg

By Modifiers I mean these:


http://i1268.photobucket.com/albums/jj578/SoundFX09/x25_zps1468d2d0.png

http://i1268.photobucket.com/albums/jj578/SoundFX09/x2_zps22640c85.png

http://i1268.photobucket.com/albums/jj578/SoundFX09/x15_zps1c1f2222.png

http://i1268.photobucket.com/albums/jj578/SoundFX09/x1_zps1e702a65.png

ポスト #4 · 2013-07-02 10:22:52pmにポスト 10.8年前

Offline dbk2
dbk2 Avatar Member
332 ポスト
Not Set
Reg. 2012-04-30

Do you only want speed modifiers or do you want ALL play modifiers (like... Reverse, Tornado, Little, etc.)?

ポスト #5 · 2013-07-03 04:34:33amにポスト 10.8年前

Offline SoundFX09
SoundFX09 Avatar Member
125 ポスト
United States
Reg. 2012-07-25


Last updated: 2013-10-29 07:04am
Quote: dbk2
Do you only want speed modifiers or do you want ALL play modifiers (like... Reverse, Tornado, Little, etc.)?

Just Speed modifiers please. It would be a Good place to start.

ポスト #6 · 2013-07-03 06:18:40amにポスト 10.8年前

Offline 2DXFTW
2DXFTW Avatar Banned
21 ポスト
United States
Reg. 2013-06-29

"meow meow rawr"
I don't know how exactly to make a theme, but now since I've seen this thread, can anyone help me?

A, E, I, O, Fuck you. Cool

ポスト #7 · 2013-07-03 09:03:52amにポスト 10.8年前

Offline SM MaxX
SM MaxX Avatar Member+
910 ポスト
United States
Reg. 2012-08-30

Nintendo Switch Friend Code: SW-1495-0040-1058
"I play too much touhou"
You'll need to be more specific than that
http://i.imgur.com/EvGgqSs.png

ポスト #8 · 2013-07-03 10:21:15amにポスト 10.8年前

Offline 2DXFTW
2DXFTW Avatar Banned
21 ポスト
United States
Reg. 2013-06-29

"meow meow rawr"
Quote: SM MaxX
You'll need to be more specific than that
What do you mean?

A, E, I, O, Fuck you. Cool

ポスト #9 · 2013-07-03 10:22:56amにポスト 10.8年前

Offline SM MaxX
SM MaxX Avatar Member+
910 ポスト
United States
Reg. 2012-08-30

Nintendo Switch Friend Code: SW-1495-0040-1058
"I play too much touhou"
like, do you want to know how to make a theme in general or have specific theming questions or what?
http://i.imgur.com/EvGgqSs.png

ポスト #10 · 2013-07-03 10:26:03amにポスト 10.8年前

Offline 2DXFTW
2DXFTW Avatar Banned
21 ポスト
United States
Reg. 2013-06-29

"meow meow rawr"
Quote: SM MaxX
like, do you want to know how to make a theme in general or have specific theming questions or what?
Mostly the bolded part in general.
A, E, I, O, Fuck you. Cool

ポスト #11 · 2013-07-04 09:55:57amにポスト 10.8年前

Offline zGHRs
zGHRs Avatar Member
36 ポスト
China
Reg. 2013-07-01

Quote: dbk2
I suspect the problem has to do with the "container" image you've made and how you've chosen to render it.

The SM Theming Wiki has a page on Sizing Commands here: http://kki.ajworld.net/wiki/Commands:Main

My guess is that you have the size of the Lua actor for the container graphic hardcoded to a value. You may want to make it more flexible, taking SM constants like SCREEN_WIDTH into consideration.


-- maybe you have something like this...?

LoadActor("container.png") .. {
InitCommand=cmd( zoomto, 200, 20; );
};

--maybe try something like this

LoadActor("container.png") .. {
InitCommand=cmd(zoomto, SCREEN_WIDTH/2 - 40, 20 );
};

I have got a new question, What file can we put this code to direct the LifeMeter Bar? Or I make the new lua to direct the LifemeterBar?

ポスト #12 · 2013-07-04 10:48:40amにポスト 10.8年前

Offline dbk2
dbk2 Avatar Member
332 ポスト
Not Set
Reg. 2012-04-30


Last updated: 2013-07-04 10:49am
Quote: zGHRs
What file can we put this code to direct the LifeMeter Bar? Or I make the new lua to direct the LifemeterBar?

The file you change depends on how you are coding your theme...

Are you making your own theme, or using someone else's and changing graphics?

If you are making your own theme, the code will be in the file that you made to load the lifebar frame graphic.

If you are using someone else's theme and changing graphics, you can search through their lua files to find which one has the name of your lifebar frame. What is your lifebar frame called? That's what you should look for in lua.

For example, if your lifebar frame was called lifebarframe.png then you should look for

LoadActor("lifebarframe")..{

somewhere in one of the ScreenGameplay lua files.

ポスト #13 · 2013-07-04 03:09:21pmにポスト 10.8年前

Offline razorblade
razorblade Avatar Member
1,099 ポスト
Not Set
Reg. 2011-03-01


Last updated: 2013-07-04 03:13pm
It's inside [StreamDisplay] that controls the size of streaming life bar.
Try this in your theme's metric.ini:


[StreamDisplay]
PillTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
local fItemWidth = ( 230 / numItems ) \
self:x( ((itemIndex-(numItems/2))*fItemWidth) + ( numItems / 2 ) ); \
self:zoomtowidth(fItemWidth); \
self:zoomtoheight(14);
end;
TextureCoordScaleX=-30
NumPills=26


登録 ログイン フォーラム戻る

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-27 22:37:57
このページは0.012秒サーバータイム使用する。
Theme: starlight · Language: japanese
Reset Theme & Language