Blaqkwraith's Forum Posts

  • I have cards in a family and would like a way to call a certain number that spawn the cards on top of each other in random order. If there is an easier way to accomplish please let me know. I'm open to all suggestions.

  • Sorry I have 2 different ways that I'm spawning the cards.

    The original card is gone and the new one has spawned at location before I even click the card. Its reading value before I get a chance to interact with the card.

  • Thanks this will work more to my likening. One last question the program is running itself...how do I wait for a player action? Example its suppose to be on object touch then run action. Before I touch the object the new object is already spawned for value of the variable. Still very new to this.

  • I have cards that some have certain values like +1, +2, etc. I'm trying to make a loop that will run a certain number of times depending on the value. Example player draws +2 and the loop will run the action 2 times. I've tried all the loops and they don't stop after the 2 run throughs. I think a "For" loop is what I'm looking for but I'm not sure how to add to the counter after each run through?

  • I'm more of a visual learner, which is why I'm asking if you can show an example. If I can read the manual with a visual of how it works I will have a better understanding. If you can't make an example thats not an issue I'm sure there are other members who could possibly help me out.

  • Can you show me example of what you mean?

  • Yeah, the problem I’m having is getting these 2 extra cards to spawn at a certain location example (0,0) on top of each other. The user then will have to touch each back of the card that will flip face up with the bonus stats. Then the user will touch the back of last card. I’ve been messing around with the z order but not understanding. Do you mind giving me example?

  • I’m working on a card game that some of the cards allow the user to add extra cards. Example “test” card has a value of +2. I would like for 2 extra cards to spawn. I have it setup so the “test” card would be face up and there is a back of the card. The 2 extra cards would be spawned showing the back of the card allowing the user to touch the back to show the new random power ups. Not sure how to make the back of the cards spawn stacking on top of each other?

  • Ohhh...can you explain/show a function without a returning a value? If I understand correctly it seems like I make a function and then I can just map to a variable?

  • Yes its returning a value from the JSON data.

  • Sorry going to need a little more direction? I have an old event sheet that still allows me to use the call function. Example I have my "test" function with my array and the JSON data loaded in. I can then make an event start of layout and Call function test () and everything works. But with the built-in I'm confused how to make it work the same way.

  • Can you explain this please?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've looked all over but I'm looking for a particular situation. I have a function "test" that goes to an array that loads data from a JSON data file. How can I call this function "test" at the start of the layout?

  • Your having problems with HTML 5 on iOS?

  • Its not on their side due to everything working fine on PC. There has to be something with the way iOS caches. I can make the app work only on incognito with chrome. After that I can navigate without incognito no problems ( my guess everything is cached).