rexrainbow's Recent Forum Activity

  • xoros

    Okey, I will make an action to assign width and height without clean all chess.

  • You do not have permission to view this post

  • Update:

    [Plugin] Layout2Board

    • add an alert message when setting wrong grid width & height, wrong grid width & height will cause non-integer logic index.
  • Try Construct 3

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

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

    1. "Action:Reset board" could assign board height and width ,and reset the board to empty.

    2. "Expression: BoardWidth, BoardHeight" could get board height & width (you need to download the new version of board plugin again)

  • Yann

    1. expression:AND, OR could support more then 2 value AND/OR , for example: A & B & C

    edittime.js

    AddNumberParam("a", "BitField","a");
    AddNumberParam("b", "BitField","b");
    AddExpression(0, ef_return_number | ef_variadic_parameters, "AND", "Two Operand", "AND", "Return a AND b.");

    runtime.js

         // the example expression
         exps.AND = function (ret,a,b)     // 'ret' must always be the first parameter - always return the expression's result through it!
         {
           ??var val = a & b;       ??
           ??if (arguments.length > 3)
           ??{
                 var i, cnt=arguments.length;
                 for(i=3; i<cnt; i+=1)
                     val &= arguments[ i ];
           ??}
              ret.set_int(val);                    // return our value
         };

    2. Bit.NOT(0) will return -1 , not 1 , since the return value is sign.

    for example: 0 = 32bit 0 , NOT 0 will become 32bit 1 , in sign , it will be (-1).

    So it might be better make a Boolean NOT I guess...

  • Update:

    [Behavior] Grid move -

    Add "condition: On get destination's solid", "action: Set destination's solid", to assign "logic" solid property from event.

    So that user could decide the chess could move to the tile or not more easily at event sheet.

    Sample capx

    This feature is an option, user could still use official solid behavior to block the moving.

  • Update:

    Add "expression:MapProp" and "condition:for each map property" to support reading map properties.

  • Gamezilla

    1. Right click the download link

    2. save the file

    3. the file is a 7z zip file actually, unzip it

    Or you could use my plugin repo.

  • Update:

    Parsing XML in win8. (Reference from XML plugin, thanks Ashley )

  • Update:

    Add

    • "condition:For each layer property", "expression:Current layer property name, Current layer property value"
    • "condition:For each tileset property", "expression:Current tileset property name, Current tileset property value"
    • "condition:For each tile property", "expression:Current tile property name, Current tile property value"

    to retrieve properties.

    Note: these conditions would not retrieve properties in order since properties was saved in a hash table.

rexrainbow's avatar

rexrainbow

Early Adopter

Member since 4 Apr, 2011

Twitter
rexrainbow has 87 followers

Connect with rexrainbow

Trophy Case

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

Progress

17/44
How to earn trophies