smartytwiti's Recent Forum Activity

  • Any help by any member will be appreciated.

  • Hey

    Ashley:

    From the doc :

    Auto-join room

    Join the first available room with the given game, instance and first room name. The player must be connected and logged in to the signalling server. The first player to join a room becomes the host. Be sure to use a unique name for the Game. For example if "myroom" is full, it will try "myroom2", "myroom3", etc. This effectively arranges all joining peers in to games of a particular size. If the room is locked when full, then late-joiners are not allowed; if left unlocked and a peer leaves after the game starts, a newly joining peer may be added back to the game to top it up to the Max peers again. Upon joining, On joined room triggers.

    I'm a bit confused:

    1) Why must i specify the room name if the engine already looking for an available room automatically?

    2) I wonder also how to manage several rooms rather than using a same room name like what you done in the tutorial? database is needed in that case?

    3) Can Auto-join room create new rooms if it can't find any available room ?

    Best regards.

  • I tested my game on chrome this day without any problem. Try to update chrome also make sure that webgl is activated.

    Cheers

  • Must be reported as a bug ?

  • farflamex: Can you put some links regarding this subject?

    Thanks in advance

  • Fixed using LayoutWidth & LayouHeight or ViewPort.....

    But still wonder why just WindowWidth & WindowHeight gives me a wrong Size?

  • Try Construct 3

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

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

    I'm making a card game, the problem is when i move a card to the bottom-right of the window game:

    Card MoveTo (WindowWidth, WindowHeight)

    this didn't work accurately:

    https://drive.google.com/file/d/0B38Ir6KoVvgHdlBkVUlCNjF2dlE/edit?usp=sharing

    However when i move it to 0,0 like that:

    Card MoveTo (0, 0)

    The card is well moved to the 0,0:

    https://docs.google.com/file/d/0B38Ir6KoVvgHSVBNNEQwcmFESzg/edit?pli=1

    Can anyone explain how to solve this ?

    Thx.

    PS: I'm running with fullscreen LetterBox scale, margin set to 0,0 and the image point is set to the top-left of each cards.

  • Hi,

    This is my very first question here

    I'm creating an online card game, i followed kittiewan's tutorial:https://www.scirra.com/tutorials/280/creating-a-memory-match-game

    Also i took a look at this thread : https://www.scirra.com/forum/viewtopic.php?t=64076&start=0

    The way of making those two games above is almost the same:

    Create a sprite object and then store all cards in an animation, so that every card represent an animation frame, and then to show differents cards on the fly they used the Set Animation Frame To action ......

    Please correct me if i'm wrong:

    I'm looking for a way to make a flexibal and maintenable game, i found the method (using animation to switch between cards) not really good, because i can't animate a particular card(using a animation frame again) anymore...

    My idea is to create a sprite object for every card, so that i can add an animation to some cards and so on...

    Any advice/idea about those two methods? pros/cons?

    Tanks in advance!

smartytwiti's avatar

smartytwiti

Member since 23 Jun, 2014

None one is following smartytwiti yet!

Connect with smartytwiti

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies