oosyrag's Recent Forum Activity

  • Sorry button without the . was probably correct, as the element itself. Maybe try making the css selector .mybuttonclass and putting mybuttonclass into the class property of the button object in your project?

  • I just tried this myself and it's actually not working as I expected either, will mess around with this a bit and update.

    Edit - derp the animation frame starts at 0 and the animation frame count starts at 1, so the current animation frame needs to be compared to animationframecount-1.

    dropbox.com/s/jer37gojqns6on3/incrementdeckexample.c3p

    Event sheet 1 is the way mentioned by tarek, which is probably the most compact way, where different animations in the same sprite objects are separate decks.

    Event sheet 2 is using different objects for different decks. You can put them in a family (which I don't currently have access to) as well to make things simpler.

  • .button, not button.

  • I believe saving to local storage is hidden/disabled in chrome where you have the ability to save directly to the local file system available.

  • For a larger set of data, I would use an array, with an instance variable to store the picked value. Upon randomly selecting an index, delete it out of the array, and store the value in the instance variable. You can push it back into the array when the next value is chosen.

  • Functions don't preserve picking, so you're selecting all spheres as it is right now anyway, which may be your problem.

  • I'm not sure if loopindex works with For Each?

    Try using Repeat (or For) sphere.count times instead.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • First thing that comes to mind would be to have different animation frames as the card in each deck, then it's simple enough to progress to the next animation frame.

    Proceeding to the next deck would be on trigger, if current card = deck size, destroy current deck and create next deck.

    You can also use the advanced random plugin with permutation tables to keep track of shuffled decks if you want.

  • I don't even see any sprite scaling in the example given, so the simplest approach would be to have the sprites orbit, and sort z-order by y position.

  • construct.net/en/make-games/manuals/construct-3/system-reference/system-actions

    Set canvas size

    Set the size of the canvas area in the page, if appearing inline to the page (i.e. a fullscreen mode is not used). If a fullscreen mode is in use, this effectively changes the size of the Viewport size project property, which adjusts the size of the viewport.

  • Do you have the correct object picked when running on start of layout?

  • What arguments are you sending to the function on start of layout?

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 39 followers

Trophy Case

  • 12-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
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

22/44
How to earn trophies