Hajin's Forum Posts

  • This time it is hard to guess where the bug is... But I noticed that there are 3 successive double primes in the 1st row. Can u try to delete the extra double primes?

    Actually... when I replace all those """s into "s, every output becomes 0. (just like when they're not surrounded with ""s)

    I looked into the cutscene.csv (with notepad++) and there were also """s, so I just let them there. (I'm now getting afraid of trying something more with OpenOffice... lol)

    Oh and the issue of the API call... I just added the functions needed after the dialog (ex: "YesMove") into the "on_destroy_dialog" and everything got solved. Hallelujah!

  • Answer to myself, I found it.

    Shouldn't have used too long img URL (I used my tumblr's img URL.) I changed it to twitter's, and now it works. Maybe it's because of the spam prevention I guess...

  • I found it!

    It was the semi-colon. My .csv's seperator (on OpenOffice) was set to semi-colons, so after struggling with these options on OpenOffice, I came back to the notepad++ and edited (replaced all ';' by ',') and finally it works. Thanks!!

    BTW... here I got another one. About the API calls.

    Is another API call no longer available?

    (In the V1.1, I added a kind of custom API call like below...)

    (the Function2 "YesMove" enabled player's move, which is disabled with Function "NoMove" at the 'create_dialog')

    I tried this on V1.2 but seems it doesn't work anymore.

    well that's question after question... Thanks always.

  • I can't find my new post on the Store's comment page (though I flipped to the next page of it)...

    Last nignt I thought it might be a temporary problem so waited till today, but it's still same, and the another post I just tried is also nowhere.

    (On My Profile page, I see the number of my Total Post is increased, but when I click the number, it shows just old posts before the new post.)

    Does anyone know why??

  • Hey Jomo!

    I imported the V1.2's new events, and edited my .csv script (following the API parameter A~F form), but here I faced a problem:

    I set my testing paragraph's 'tag' to 'test1' (in my .csv),

    but when I preview, It keep shows error msg 'Assertion failure: Scenario: Could not find tag test1'.

    I thought I adapted every changes of the new version, but maybe I missed something...... I'm keep looking for the missed point but couldn't find any clue.

    Can you give me an advice of what kind of situation can cause this error?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Sorry for the late reply!

    I downloaded the new version(1.2) and followed your new tutorial, checked the new example capx.

    Making choices... It must be impossible to discover just myself, and I might had to find other way to realize it, but with this, I can make a choice dialog so simply! The .pdf manual near to a school textbook and the detailed comments in the .capx, they helped me alot to find out the structure of the paragraphs easily, in spite of my short English.

    And also, the explanation for the parameters(A~F) was very helpful, as it was becoming vague after my hectic days, and this organized document reminded me of them right away!

    Well, that's my impression of the new version. And here, I must add one thing......

    The question I asked last time('How can I make pause during the line...?') was, Actually...... what I wished to do is, to express the hesitating or dithering of the speaker, like

    "Oh...(cut, wait input) L... (little pause) Let me think about it(low speed)......"

    I should have explain more properly, sorry.

    But I feel I don't have to regret entirely... as we could see this wonderful new version, and learn adding choice forks.

    The answer to the new question above (old, actually...) is just my hope, it would be a happy event to fine a solution but that's when you have some time to spare, and I already appreciate your nice support.

    Now I should go digest this new example more carefully. Thank you!

  • You amazed me Jomo, such instructions with screenshots! I followed the way you've shown.

    (It took more time than I expected, trying new Open Office and struggling with the fullwidth“”s, and trying to add new tags to enable the pausing in .csv, etc...)

    First, the issue 1, 2 are successfully solved! I must thank you for introducing this fine open-source office software as I've been using only Notepad++ and Hancell(which is a native Korean Excel-like software) to edit csvs. At first I tried to add "s in C2's (Scenario) Load command directly but had to see Syntax errors, then tried with those familiar programs but failed, and tried with the Open Office, and finally succeeded!

    And now, the remaining is, the issue 3.

    The events work well (pausing & resuming the lines) as you've instructed (using the keyboard trigger to test), but the problem is...: As I tried to apply it as a tag(like <class='p'></class> makes pausing, <class='g'></class> gives resuming... by making the events Functions), it never works.

    Maybe this kind of applied work is too difficult to a novice like me, but if there could be any further advices, I would try again till success, unless it tires you too much.

    Thank you for the kind support!

  • Hi Jomo!

    I got your nice module and the manual, and happily tuning it for my project, but here I found some issues:

    1. Is it impossible to show a variable's value(e.g. player's name which the user gave) in the dialog content?

    It seems the Scenario object's 'MEM' feature can do that, but if I enable the 'MEM' feature (setting the Scenario's 'Eval mode' to 'Yes',) it disables showing every strings(Only numbers can be shown then.) Is there any way to show a variable's value in the lines?

    2. How should I change line of the content manually?

    In the .csv script, I tried using '& newline &' but seems it doesn't work there: "ABC" & newline & "DEF" shows just "ABC"...

    3. How can I pause the typing for a moment(set typing speed lower while typing)...?

    I'm struggling with the 'set special font class custom2' group, adding new tags and actions about typing, just to watch error messages says "Javascript error!Uncaught TypeError Cannot read property 'IsActive' of null ..." I think it's not here to add this kind of option, can you give us some tips?

    That's huge questions at once... Just some advices or tips would be much appreciated.

    Thanks!

  • I found the mistake! In the ceil(), I was dividing a variable which contains the value of loopindex, which starts from 0.

    ex) ceil(Variable_of_loopindex/n)

    So this became ceil(0/20) = 0, while I was thinking it should be ceil(1/20) = 0.05.

    Simple mistake caused by being unfamiliar with 0-based index!

  • Try (round((21/20)*100)/100

    This will divide 21 by 20, giving you 1.05, multiply it by 100 to give you 105, round to closest integer (if it wasn't already an integer) and then divide by 100 to give you 1.05.

    I think this isn't matching with my needs right now, but your explanation for the formula makes my thoughts much clearer. Thanks for the tip!

  • Wrong, ceil(21/20) gives 2.

    Really??? Then I must have missed or misunderstood something in the test...... got to check again. Thanks for the reply!

  • Using ceil(), it seems this rounds up a number only to the 10ths, while I want them up to the 100ths.

    ex) ceil(21/20) = ceil(1.05) = 1, while I need 2 for that.

    How can I make it round up to 100ths?

  • Hi guys.

    I set my workspace of C2 (interface positions) fitted for my displays(dual monitors) and was pretty happy with it,

    but every time I restart C2, they go back to the plain(default) state.

    (among several instances of C2, I closed the adjusted one last, as I thought that would save the adjusted workspace)

    (the monitor 1 and 2)

    The adjusted position is so ideal that I want to maintain, but on the 'Preferences' dialog I couldn't find any related option(only 'reset'), so I've searched the manual, tutorials and forum but couldn't find any good help...

    I think it has something to do with registry(regedit), anyone know the way...?

    Thanks!