rexrainbow's Recent Forum Activity

  • AndreasR

    "For each cell" will travel all logic X, Y of a board. For example, board size is 8x8, then "For each cell" will go through all these 8x8 cells.

    Logic layer in my board is called "logic Z", it could be a number or a string. For example, logic Z =0 is a based layer for tiles. Usually I will put chess on logic Z =1. So I use logic Z 0, 1 in this case.

    ( "For each cell" will not check logic Z, it only check all logic X,Y )

    I will add a "condition: For each LZ ( in a specific LXY )" later..

  • AndreasR

    I added the position alignment to the cell in the previous sample capx.

    See the event 9:

    Set position of tile to ( Board.PXY2NearestPX( tile.X , tile.Y ) , Board.PXY2NearestPY( tile.X , tile.Y ) )

  • AndreasR

    Yes, a position wrapping might be necessary in your case.

    One possible solution is put a tile under the "drag-able" sprite (3D tile), and pin to the the "drag-able" sprite. Then you could still use the position of tile to detect the logic position ( LXY ).

  • AndreasR

    Here is a demo of dragging tile on an isometric board. ( source capx )

    • drag tile from board to pull it
    • drop tile to an empty cell to push it on board.

    Is the hot spot of your tile/chess sprite not on the center?

  • AndreasR

    GridMove

    Set property "MoveTo" to "No" to disable built-in moveTo behavior. Therefor, you could control the movement by yourself.

    Board

    Uses condition: is empty to test empty is correct. Transfer PXY to LXY using

    • Board.PXY2LX( puzzle.X , puzzle.Y )
    • Board.PXY2LY( puzzle.X , puzzle.Y )

    Here is a sample capx which drag a chess between two boards.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • See the source code of official function plugin.

  • Update

    rex_firebase_room plugin (work in progress)

    • modify the data structure stored in firebase database
    • modify the interface of "action:create room"
    • add "action: join random room"
    • add "action: kick user"
    • add black/white list supporting ( add/remove user into the black/white list )
    • add "on (door) opened", "on (door) closed" event, "action: open (door)", and property "Door control" to close the door when room is full ("Auto" mode)

    Here is a demo of joining random chat room, or create a new room.

    Each chat room only could have 2 users-

    The 1st user will create a new room

    The 2nd user will join a room, then room is full

    The 3rd user will create a new room

    ...

    ( source capx , please run it on your firebase project, you will see the rooms stored in database)

  • METR1C

    Sorry, I will not make mobile specific plugins.

  • andykenobi

    Firebase had updated to v3. It is recommended to use firebase api3.

  • Vallar

    Overwrite properties (API Key, Server Key, Storage Key,...) in rex_firebase_apiv3 by yours.

  • I could log the received message in console log. It is worked. And you can see the message data in dashboard before you close the app web page.

    Here is the minimum capx of simplemessage plugin.

  • I have no idea why it does not work, you might provide a very simple test capx to me to debug it.

rexrainbow's avatar

rexrainbow

Early Adopter

Member since 4 Apr, 2011

Twitter
rexrainbow has 84 followers

Connect with rexrainbow

Trophy Case

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

Progress

15/44
How to earn trophies