bartalluyn's Recent Forum Activity

  • Hi rafaeltrigo

    thank you for the vote of confidence, and challenge accepted.

    I will change this tomorrow, and let you know.

  • Hi,

    I think it can be done using a simple algorithm that loops through the shapes.

    For each shape

    - "pretend to drag it to the left"

    see if there is a match horizontally

    Yes: Add UID's of matches to a temp array

    No: continue

    see if there is a match vertically

    Same yes/no logic

    - "pretend to drag to the right"

    same

    - "pretend drag up.." & same

    - "pretend drag down.." & same

    Finally highlight the UUD's somehow

    something like that. maybe there are more optimal way, but i'm all for easy solutions

    Hope that helps

  • Hi,

    maybe you can check my tutorial on multiplayer card game where I do some serialzation between peers using json.

    youtu.be/BpnkIL7XvvA

    Hope it helps

    Cheers!

  • Hi,

    if you want another take on how to create this type of games, maybe you can find inspiration on my youtube channel. For example, the endless runner

    youtu.be/AzcBG4OYZU0

    or even may piano tiles, which also constantly keeps on spawning things, but only not pillars like flappy bird, but piano tiles;

    youtu.be/6Lyj2oQexGU

    Check them out, hope it helps!

    Cheers

  • Hi,

    you can watch my tutorial on match 3 game on my youtube channel.

    It's fully functional, so maybe you can get more insights here.

    Hope it helps

    youtu.be/9ISEJK8vtZI

    Cheers

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    You can check this tutorial of mine on sudoku. Not really a quiz but it also stores array data and loops through them. Maybe that helps

    youtu.be/Rq0iQGcVQtc

    cheers

  • Hi,

    check out my video tutorial on this, i think it does approximately what you want

    youtu.be/AzcBG4OYZU0

    cheers

  • Hi,

    if you haven't already, you can check my newest tutorial on probability tables:

    youtu.be/MQgzoBmCMng

    cheers!

  • Hi,

    you can check my youtube channel for the solitaire and multiplayer card game video's where there is a lot of shuffling and picking going on.

    youtu.be/E1zqEGLeCyI

    youtu.be/BpnkIL7XvvA

    cheers

  • what if you use the persist behavior?

    Make a separate instance variable and every time you change the frame, also set the instance variable to that frame number.

    On start of layout set frame to that instance variable

    I think the persist behavior should retain the instance variable

    but maybe I don't understand the business case fully...

  • According to me it depends if all the possible sprites are already predefined in the game.

    If so, you might just build an interface to save a sequence of sprites in an array.

    For example: you make 1 sprite with 10 possible frames. You create an array and populate with numbers 0 to 9 at runtime, and you make a routine to loop through the array and set the correct frame.

    If, on the other hand you want to upload your own custom sprites at runtime, I don't really know...

    You can find plenty of examples of looping through arrays on my youtube channel, for example in the bubble shooter

    youtu.be/Skc7JJOYSOI

    changing animation frames at runtime is easy, for example found in solitair when flipping cards around :

    youtu.be/E1zqEGLeCyI

    I hope to have helped you

  • You do not have permission to view this post

bartalluyn's avatar

bartalluyn

Member since 22 Apr, 2018

Twitter
bartalluyn has 33 followers

Trophy Case

  • 6-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • x62
    Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies