WiRico's Forum Posts

  • 4 posts
  • Thanks for the idea. I will check it out!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I see how making one sprite with different animation frames could work. However I still do feel stuck.

    I'm not sure how I could get a card slot from the battle slot to choose which animation frame to be from the 8 selections. Is there a way to choose from the eight cards that are selected by the players, and change that specific sprite to a random one of those frames?

    This is probably on me, but I also don't see how the instance variables would work in that situation. Even if all of the cards in the deck had a "deck=1" instance variable, is there a way to change the sprite to a random animation frame from all of the cards with the "deck=1" instance variable?

  • I am making a card game in which the players can make a deck with 8 cards, and when you press play the players will have four slots during "battle" for their cards. I want each slot to choose one random card from the eight that the player chose before battle and create an instance of it on the battle slot. The only problem is that this group of 8 changes based on the player's action. This makes families useless because they cannot be changed during runtime. Is there a way I can group cards together in a way one random one can be chosen for each slot, and so that the group can be changed by the player?

    I also thought about using instance variables as groups but I haven't found a solution that works yet.

    Tagged:

  • Alternatively, you might need to only make 2 animation frames, although this would only apply if the robot sinks to the same depth in the lava. For instance, you can make a smaller invisible object maybe halfway down in the lava. Then set an event for when the robot overlaps with it to switch to frame 2 (the frame with half of the robot.) That way the robot would stay in its new form unless the frame is switched back to 1.

  • 4 posts