rexrainbow's Recent Forum Activity

  • I had made Tween2Effect behavior to pass the tween value into effect. It could extend the usage of tween behavior.

  • Tween2Effect

    (Updated: 2014/01/29)

    Passing tween value into (this sprite/current layer/current layout) effect to control the result of effect.

    demo capx

    Usage:

    1. add tween behavior , user could use lite tween or tween (the older version of tween behavior). Then add tween2effect behavior under tween behavior.

    2. configure tween behavior, user need to set tweened properties to "Value".

    3. configure properties of tween2effect.

    Name: the name of controlled effect

    Index: the parameter index of controlled effect

    In the demo capx, Index to 3 will pass the tween value into "R Replace" parameter.

    Target: set to "Instance" to control this sprite.

    Now user could control the effect by setting the tween behavior without adding any event.

    Each tween2effect will need to add one tween behavior above that. In the demo capx, user need to add 3 pairs of tween and tween2effect

    - tween
    [ul]
    	[li]tween2effect[/li]
    	[li]tween[/li]
    	[li]tween2effect[/li]
    	[li]tween[/li]
    	[li]tween2effect[/code:1jci08yr][/li]
    [/ul]to control the "R Replace", "G Replace", "B Replace" at the same time.
    
    Set the property "Target" to "Layer" could control the parameter of the effect at current layer, since the behavior will be put in a sprite (or a rex_layer object) and this sprite will be put in a layer.
    Set the property "Target" to "Layout" could control the parameter of the effect at current layout.
    Make sure that the effect had been added in the target (layer, layout, or sprite).rexrainbow2014-01-29 04:07:46
  • Ashley

    Since the key of initial loading is file "offline.appcache". It might be better to have an exported option in C2 editor which could turn on/off the file "offline.appcache" (have it or not, maybe).

    The action of loading asserts from server manually is another issue. I like it, too.

  • jayderyu

    You could create 2 layouts, put 2 sprite for each layout. Export and run it at browser, see the loading info at console, these 2 images will be loaded (AJAX request) in the beginning.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As we know, C2 engine will load all images from website when open the index.html.

    But the loading-time might not be acceptable. For example, there has a background image for each layout.

    So my request is, the engine might have an option to load the necessary image when go to the layout. It means, there are some AJAX requests for each layout begin, of course.

  • farieh

    You could use more then one repository tool for each C2 folder.

  • farieh

    Sorry, I have no time and I don't know why to implement this feature.

  • Noncentz705

    You might put all possible types into a family, then use "condition:pick by UID" to pick the deleted target (put into this family), then destroyed it.

  • Update

    Add inline style. Capx

    <style="color:#F00;">Some text</style>
    <style="font-family:Georgia;">Some text</style>
    <style="font-size:20px;">Some text</style>
    <style="font-weight:bold;">Some text</style>
    <style="font-style:italic;">Some text</style>
    [/code:l1uhxgay]
    
    or mix them
    [code:l1uhxgay]<style="color:#F00;font-size:20px">Some text</style>[/code:l1uhxgay]rexrainbow2013-12-17 16:56:28
  • xoros

    This plugin only could define font style by events now. I might try runtime support next time.

  • Put return values into a dictionary or an array.

  • Document, plugin and sample capx are included.

    Another tag text-like plugin: BBCode text.

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