Easy Module #1 - Dialog module (Templates)

Discuss Scirra's 2D Asset Store

Post » Fri Jun 03, 2016 12:25 am

Jomo,

I noticed that the body and the header both have margin_l and margin_r. Are these values shared between the two? I couldn't find a way to distinguish the two when setting the parameters.
B
6
S
1
Posts: 31
Reputation: 703

Post » Fri Jun 03, 2016 3:28 am

DoobieDoctor5000 wrote:Jomo,

I noticed that the body and the header both have margin_l and margin_r. Are these values shared between the two? I couldn't find a way to distinguish the two when setting the parameters.


@DoobieDoctor5000
Ooops! you've find a bug. Currently the margin_l/margin_r only apply to footer area. And I did miss these settings for header and body :shock: Please use title_offset_x/ title_offset_y and content_offset_x/ content_offset_y as a workaround.
Providence University, lecturer.

Tatung University, lecturer.



Consultant per question: USD$15 / time

Consultant by month: USD$300 / month

Customized project: USD$2500 / capx
B
76
S
16
G
4
Posts: 195
Reputation: 7,606

Post » Sat Jun 04, 2016 9:34 am

I... I don't know how I feel about this. I feel great because there's a workaround, but I feel bad for making more work for you. At least you have everything planned out in your instructions. Honestly you could go either way; fix the bug or update the workaround into the manual. Thank you! You're always great at responding to questions.
B
6
S
1
Posts: 31
Reputation: 703

Post » Mon Jun 06, 2016 1:54 am

Are your modules no longer on the store? I was thinking of purchasing this one and now I can't view it :(
B
17
S
4
G
1
Posts: 14
Reputation: 1,503

Post » Mon Jun 06, 2016 5:12 am

Providence University, lecturer.

Tatung University, lecturer.



Consultant per question: USD$15 / time

Consultant by month: USD$300 / month

Customized project: USD$2500 / capx
B
76
S
16
G
4
Posts: 195
Reputation: 7,606

Post » Thu Feb 16, 2017 8:54 am

Hi @jomo i bought this template but CutScene_APIs_install is a little bit confusing.
in step 5 it says to copy e_emoduale_button_template to e_emoduale_dialog_custom2. but what about the other event sheet ? also e_emoduale_dialog_custom2 doesn't exists in Game file what exists is e_dialog_custom2
B
12
S
4
Posts: 16
Reputation: 968

Post » Fri Feb 17, 2017 3:13 am

Pooya72 wrote:Hi @jomo i bought this template but CutScene_APIs_install is a little bit confusing.
in step 5 it says to copy e_emoduale_button_template to e_emoduale_dialog_custom2. but what about the other event sheet ? also e_emoduale_dialog_custom2 doesn't exists in Game file what exists is e_dialog_custom2


Hi~ @Pooya72 , <CutScene API installation guide> assumes the reader had finished <Dialog Template Installation
Guide>(this is address in blue in Step#1). So the other event sheets should be copied to your working project already.

I checked my v1.2 capx, and there is no <e_dialog_custom2> event sheet. Could you double check at your end?
Providence University, lecturer.

Tatung University, lecturer.



Consultant per question: USD$15 / time

Consultant by month: USD$300 / month

Customized project: USD$2500 / capx
B
76
S
16
G
4
Posts: 195
Reputation: 7,606

Post » Fri Feb 17, 2017 4:30 am

@jomo

actually this part was a little bit confusing :
This step is a simple copy-and-paste operation of C2 event sheet. Change to <dialog_template.capx> and change to event sheet <e_eModule_button_template>, use <ctrl + a> to select all events and actions, use <ctrl + c> to copy them. Then go back to our new <e_eModule_dialog_custom2> event sheet, push <ctrl + v> to paste them all.

Now its solved in platformer example i should try again with my original project.

2) How can i resize cutscene size ?i want to make it smaller.
B
12
S
4
Posts: 16
Reputation: 968

Post » Fri Feb 17, 2017 5:28 am

Pooya72 wrote:@jomo

actually this part was a little bit confusing :
This step is a simple copy-and-paste operation of C2 event sheet. Change to <dialog_template.capx> and change to event sheet <e_eModule_button_template>, use <ctrl + a> to select all events and actions, use <ctrl + c> to copy them. Then go back to our new <e_eModule_dialog_custom2> event sheet, push <ctrl + v> to paste them all.

Now its solved in platformer example i should try again with my original project.

2) How can i resize cutscene size ?i want to make it smaller.


You can change the parameters (offsetx/y, box_w/_h, title_offset, icon_offset. OriginalWindowWidth/OriginalWindowHeight are C2 expression to measure screen size.) Please remember you have to change these parameters both under Parameter 0 = "R" & Parameter = "L" conditions.
Image
Providence University, lecturer.

Tatung University, lecturer.



Consultant per question: USD$15 / time

Consultant by month: USD$300 / month

Customized project: USD$2500 / capx
B
76
S
16
G
4
Posts: 195
Reputation: 7,606

Post » Fri Feb 17, 2017 5:16 pm

Thx for your fast respond
B
12
S
4
Posts: 16
Reputation: 968

PreviousNext

Return to Scirra Store

Who is online

Users browsing this forum: No registered users and 2 guests