2Broke's Recent Forum Activity

  • Damn, this looks so logic and easy! Thank you WhosWho, you helped me a lot :-)

  • This is very beautiful! Thank you so much... it's not the kind of cardgame I wanna create, but I guess it's very helpful to learn more about the shuffle / draw-mechanics in general :-) The Code looks very weird! It's very hard for me, to follow the listed steps, even with the comments. But I'm very grateful - I will dive more into this and hopefully I'll get it soon. Can I ask you again for specific questions?

    Kind regards,

    Maurice

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello Guys, first of all I should say that I'm from Germany and my English is not very good. But I'll try my best, to ask in an understanding way and don't make it too hard for you to read.

    Im an absolutely Newbie, but I'm doing quite good for the amount of time that I spent to Construct 2. So, what is my Problem?

    Im trying to make my own Cardgame. I designed all the Layouts for the Menu with Photoshop and linked them to each other with the use of invisible sprites and instance variables. This is working.

    But now I'm on a very tricky point. I designed my Deck-Builder. For now, it's just very simple and I just made to little buttons, to switch between all the cards in my set. I added two Buttons, which are called "Previous" and "Next".

    So, when the User is clicking on Next, he should see the next Card in the Gallery. Same for the other button, just with an insert-effect.

    I defined an simple Array with 5 units on the x-Axis. Then, I set up the position from my Sprite to the Previewwindow from myLayout. I added more sprites to the animations of the first one I gave them an ID_Name. For example:

    ID_Card1

    ID_Card2

    ID_Card3

    I was hoping, that I could easily switch between the sprites with a global number - card_num. But this is not working for me.

    I did it this way:

    Set animations to "ID_" &Cards.at(card_num) (play from beginning)

    Set text to cards.at(card_num) < so there will also be a text, that will show the name of the chosen card.

    And now my most hated part:

    I did a Button-Event. On Clicked, this button should add 1 to my global. I used the a system-action, to make it work -> System -> "Add 1 to card_num"

    But when I click my button, the sprite is not changing my Images. I can't find a solution for this problem. Hopefully you guys can help me!

    Thank you so much,

    Maurice

2Broke's avatar

2Broke

Member since 24 Jun, 2018

None one is following 2Broke yet!

Connect with 2Broke

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies