jobel's Recent Forum Activity

  • I have 3 different string vars like:

    appleVar = "apple3"

    pearVar = "pear1"

    mangoVar = "mango4"

    what is the best way to figure out which one has the highest number?

    I thought about setting a new var from this:max(int(right(appleVar,1)),int(right(pearVar,1)),int(right(mangoVar,1)))

    but then I only get the number and not the name. anyone have an idea how to get the name and the number?

    EDIT: also I don't care about ties (apple2, pear2, mango2), in that case I'd take a random one.

  • would love a post mortem on Mighty Goose! it would help me to know what is possible with c3/chowdren.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • but it also resets all groups to their initial activation state.

    aha! this is super helpful. Thanks!

    also thanks Kyatric!

  • Hi I'm wondering if the System Action "Restart Layout" is any different from using the System Action "Go to Layout" of the same one you are currently running?

    I have a turn-based game where I send the player to a gameplay action layout.

    But sometimes there are two turns that need to happen so I occasionally have to run the gameplay action layout 2 times (with different data).

    After my first run of the gameplay action layout, it needs to happen again but load different data in the On Start of Layout.

    At the End of Layout (on the first run) I just flip a boolean that says I've already run this layout once. Then I check it in On Start of Layout.

    Is this the best approach? And does Restart Layout work the same way as Goto Layout?

  • what do people use for public bug reporting? I heard Mantis was good and its free.

  • The best was the greyed out screen that you came back to after running a preview. It happened only sometimes... and was on going for at least 4-5 months.

    although we think it was the Editor UI animations that you can uncheck in Settings. After I unchecked it, it stopped happening... but no one knows for sure if that was it. Seems like it...

    If I encounter a weird bug in C2, I immediately know what caused it and how to fix it. If I encounter a weird bug in C3, I'll probably have to spend days trying to diagnose it.

    SketchyLogic

    This is doubtful, the engine/editor is identical. I've only had a few browser issues, but none were deal breakers. And honestly I've had C2 crash on me a number of times where I lost work.. whereas if there is any crash issue with C3, it allows me to save it first.

    The interface feels a little different, but it really isn't. And honestly when I go back to C2 its not a good experience. The slow mouse-scrolling speed alone is gut-wrenching. Its uglier (subjective I guess) and harder to read.

    Also just knowing that they won't be supporting it is scary as hell. Like what if Windows adds something that breaks it? or an exporter breaks? I would not take that chance. It's already scary using 3rd party plugins on a supported engine!

  • I've put my entire event sheet in a group and put my vars in there - unless I have includes that need access to those vars (which unfortunately I need to do since editor performance is an issue) and still making variable assignments is quite cumbersome.

    For instance, I no longer use System Compare Variable but instead always opt for System Compare Two Variables since I can just type part of the name of my variable.

    I think any more than 5-6 variables in a dropdown is just ergonomically wrong (from a human factors engineering perspective).

  • oosyrag oh I'm definitely of that mind of old school programming practices. If I end up using "too many" globals in construct its not because I don't understand that, but rather having to adapt to using that scope with things like event sheets. So that's why I use these forums to help figure out the best practices.

    However that dropdown you have to admit, even in a small project I really don't like it... just speaking ergonomically.

    I do use Dicts for showing the frame, but you still need a variable name to know what you are changing, I'd rather not use 2 Dicts that are very undescriptive.

    I haven't used C2 in a couple years other than to transfer projects.

    I had one decent sized project that used the Spritefont+ plugin and it was a little bit of a pain to get into C3, but I did it.

    I honestly hate that C3 is in a browser. I use my browser for everything and I never liked it for gamedev. But I just accept it now. But I do use #includes a bunch so that helps a little for editor performance.

    I can't imagine any C2 plug-in being that great that you couldn't find a way to do something similar in C3.

    I could never go back to C2 just because of all the updates to C3, you can't go back. To not be able to use Functions the way C3 does alone is a deal-breaker for me.

  • I should clarify about typing it out. The nice thing about System Two Values is I can type any part of the variable name and it helps me auto complete it.

jobel's avatar

jobel

Member since 27 Jul, 2013

Twitter
jobel has 8 followers

Connect with jobel

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies