rexrainbow's Recent Forum Activity

  • 4pedja

    I could not see the image you post.

  • amkp

    Official sprite plugin, runtime.js, line 97 -> line 28

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • so does that mean that nobody has tried this with xdk?? I'm thinking of implementing a solution for my game (which is finally built on xdk) using rex rainbow's plugin for firebase but i'd like to know in advance if it will be a waste of time....

    Someone had exported Firebase on xdk already

  • kingpirux

    Thanks for this explanation, now I understand the "pattern generator". It might be too general to make a plugin, a sequence of events might be a more better solution.

    And yes, I changed the plugin name to "Gashapon", but I could not change the folder name of this plugin right now.

  • jatin1726

    Send pm to me, the author of that plugin, or left message in this page.

    BTW, I tested this plugin with camera only at ipad3, it worked fine in both front and rear camera. I don't have other devices to reproduce that bug.

  • kingpirux

    You are right, the name is not exactly matching the behavior of this plugin, it is a kind of random value generator.

    I will edit the title of this thread, but I could not edit the display name of this plugin, because that this plugin had been published in my friend's book.

    What behavior do you expect in a "pattern generator"?

  • matriax

    You are right, it is a bug.

    I had fixed, please updating rex_dragdrop2 behavior again.

  • Update

    rex_dragdrop2 behavior:

    • add property "Axis angle" to rotate the axis, or set it by "Action:set angle".

    This feature only works when the property "Axis" is "Horizontal" or "Vertical". (sample capx)

    matriax

    Try this updated.

  • matriax

    The steps of executing are-

    1. (before event tick) Position of scaler_right changed by dragging. Since this scaler_right could be moved in both axis, it should be put on current dragging point.

    2. (during event tick, i.e. condition: every tick) Get the distance between scaler_right (which is located at current dragging point) and scaler_left, and set the width of sprite according the disctance

    3. (after event tick) Pin the position of scaler_right to the image point, like official pin behavior. Therefor the position of scaler_right will be changed. It will not locate at current dragging point.

    4. render.

    The problem is - position of scaler_right in step2 is not equal to the final position in step4, remove the pin to image behavior to see the real position in step2.

    I moved my demos on my github repository finally.

  • matriax

    Please provide a very simple capx to demonstrate your requirement.

    For now, it seems that you want to resize sprite when dragging.

  • rho

    I will try to add this feature later, add it into TODO.

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