MrMiller's Recent Forum Activity

  • I could easily do this in Construct Classic, but I'm not certain if C2 has all the extensions. I want to do something basic like this:

    • Use .ini files to manage text.
    • Have a search box that can search the text by keywords or by an ID number attached to a block of text inside the .ini file
    • Have a scrollable results box
    • Have a popup box or new page that displays a clicked result

    Is this do-able in C2?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • And here is a picture of what the event code should look like, just in case:

  • You definitely want to download the latest version of Construct Classic.

    When you do that, you can take advantage of the attached .cap file with the event code you need:

  • Thanks for the follow-up, Aphrodite. Sounds like some more good ideas to explore. No need to apologize, your tip was exactly what I needed

    Thanks again!

  • Very practical code setup there. I just had to add a "Trigger once" condition because it wouldn't stop adding without it, I also dropped the +1 for loopindex (no effect, no issue) and instead of using a loop repeat event (wasn't responding but no effect, no issue) I used a "For" and named "CurrentSum" as the loop, then set it 0 to 3 :

    + System: Start of layout

    -> INI: Set INI file to AppPath + "math.ini"

    + System: Trigger once

    + System: For "CurrentSum" from 0 to 3

    -> System: Add INI.ItemValue("Math", "Value"&loopindex) to global variable 'CurrentSum'

    -> Text: Set text to global('CurrentSum')/3

    Thanks so much, Aphrodite! This prevented an ugly expression. I really appreciate the help!

  • I've attached the .cap and .ini to this post in a zip file

    I have an .ini file with three values:

    Value1

    Value2

    Value3

    I'm adding all three values, then dividing them by three to get the sum. Here is expression:

    INI.ItemValue("Math", "Value1")/3+INI.ItemValue("Math", "Value2")/3+INI.ItemValue("Math", "Value3")/3

    It works fine, the math comes out right of course, but I plan to do this with as many as 20 values so the expression is going to wind up very long.

    I know I'm probably having wishful thinking, probably nitpicking myself, but is there a way to shorten it without screwing up the math?

  • I have a very old release so I suppose I'll have to update it to see, if it's an included example. If it's a .capx available someplace then I can't seem to find it in search.

  • Sorry to bump, but man it would be awesome to have voice commands for in-game controls. Not sure how well it would work though.

  • Something I've always found helpful was to create a file with a bizarre and very broad data system, like an .ini file just full of a bunch of things that make no sense with the useful data separations all using code names and even still having that data buried well inside all of the fluff. This way, if the user wanted to screw around with the game (and of course cheat it) he'd have to be some kind of super-genius to figure out how to separate the fluff data from the actually useful data.

    As a side note, Jayjay is dominating the CC board! <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Go to your layout folder to the right, make sure you click the + symbol next to the layout folder to open the layout list tree, then click on a layout, and then drag the layout you clicked on and drop it to the first spot on the tree.

  • Rex

    Is it possible to get rid of the video timeline and volume controls?

    And is there a way to layer objects on top of the video?

  • ^^^ Never said Wii or NDS (never mentioned NDS) were lucky. There is no luck involved. The Wii just happened to be the right product at the right time for Nintendo and they benefited from the fact that the motion control plug-n-play games (which had existed on the market long before the Wii) never really got much market penetration mostly due to poor marketing, so the Wii appeared as a new innovative product when it fact it wasn't at all.

    I do completely agree that the Wii U is terrible.

MrMiller's avatar

MrMiller

Member since 4 May, 2010

None one is following MrMiller yet!

Trophy Case

  • 14-Year Club
  • Email Verified

Progress

15/44
How to earn trophies