McKack's Recent Forum Activity

  • I'm no expert at Construct but I would have done something along the line of this (it picks cards at random instead of assigning a random value and is flexible since you can place any equal number of cards in the layout, not only 20):

    #Global values, ho!

    Global number cardIDs = 1

    Global number cardCount = 0

    #Count the number of cards and store in global value

    On start of layout

    • set cardCount to number of cards in the layout (card.Count)

    #Assign the IDs to cards that don't have one (ID = 0) at random

    cardCount > 0

    card ID = 0

    Pick a random card instance

    • Set (card) ID to cardIDs
    • Subtract 1 from cardCount
    • Add 1 to cardIDs

    #This resets the ID enumerator halfway through assigning

    cardIDs = (card.Count/2)+1

    • Set cardIDs to 1
  • Awesome! Looking forward to it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm currently looking into the same problem.

    Looks like for now you'll have to "hack" the plugin if that's even possible, to give you the user_id. It should already know it since hi-scores are supported but it seems it's all internal. Studying the code I guess you should be able to "simply" copy paste one of the expressions and alter them so you can retrieve the user_id.

  • Suggestion.

    I don't know how hard it would be, and I'm guessing Scirra will introduce this some time in the future themselves. But I'm currently killing myself setting up level(layout) changing by having to make an event list of every single level available in a game bound to a variable's specific value for example, instead of a changing the level by expression.

    Long story short: "Go to layout by expression".

    Now, I guess it's technically an action, but an expression-dependent action so it might be a good addition to the Extra Expressions plugin.

    For your consideration, thanks!

  • Wow, this is a godsend for a project I'm currently working on with random points popping up on the screen. I had created my own string to sprites font "engine" using events but it was somewhat bugged and laggy with lots of points at the same time, so thanks a ton for creating this!

  • Sounds promising.

    Secured myself a Pro copy and looking forward to the C2 integration!

McKack's avatar

McKack

Member since 15 Sep, 2011

None one is following McKack yet!

Connect with McKack

Trophy Case

  • 13-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies