rexrainbow's Forum Posts

  • Zharzew

    Thanks for these suggestions, I will try.

  • jayderyu

    It is possible to have a single "sprite text" absolutely. There will be a single plugin if it is an official one.

    The problem is, I'm just a part time plugin maker. I need to find a way to reduce the maintenance effort.

    Combined plugins will more easier to maintain (and less bugs), since I don't need to copy most code to create another arrangement of characters, for example.

  • California

    I agree, delta distance is not a suitable name in this case. I will try to fix it. Tracing is a great option. Or... Spacing?

  • Tokinsom

    Yes, it could pick all characters by condition. I had update the example demo. Now it will set scale of each character randomly.

    I will try to make arrangement more better for showing text, thanks for suggestion.

  • Update

    Fix bug found by delgado

    delgado

    Uh, sorry, my fail. I had updated this behavior now, hope it could fix this bug.

  • delgado

    I see, do you put revive behavior at non-sprite object?

  • The Plugin: Layouter and Behavior: Layouter_Linear could be used to arrange sprites.

    Here are two examples.

    Card layout - linear

    Plugin: Layouter + Behavior: Layouter_Linear

    Card layout - cyclic

    Plugin: Layouter + Behavior: Layouter_Cyclic

    • click card.
  • Demo

    • Put some text in textbox

    The text are shown by sprites (not an image only, it's a sprite for each character), the sprite object has a sine behavior to control the angle.

    Capx

    Related plugins

    Plugin: Layouter (Update: 2013/06/09)

    Behavior: Layouter_Linear (Update: 2013/06/09)

    Behavior: Layouter_Text

    There are 3 parts for showing text by sprites

    1. there have some sprites in a box -- Plugin: Layouter

    2. arrange (set position, angle) these sprites -- Behavior: Layouter_Linear

    3. set frame index of these sprites according to character in text -- Behavior: Layouter_Text

    Steps of create sprite text:

    1. put a Plugin:Layouter

    2. add Behavior: Layouter_Linear, and Behavior: Layouter_Text into this Layouter object

    3. add a sprite with text images.

    <img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/screen2-12_zps4173d59a.png" border="0">

    4. set the properties of Behavior: Layouter_Linear, for example

    • the delta distance is the distance between two characters.

    5. set the character -> frame index mapping.

    <img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/screen1-31_zpsdaac5d88.png" border="0">

    6. in event sheet, assign the character sprite (Behavior: Layouter_Text action: set character object)

    7. Now you could show text by sprites (Behavior: Layouter_Text action: set text).

    More.

    • "Plugin Layouer Condition : Pick instances" could pick all characters in this layouter object.

    ----

    Now, the Behavior: Layouter_Linear only could arrange sprites in a single line. I will try to add another arrange mode to support multi-lines, or a spiral mode might be interesting.

  • dasa

    RecorderList is a string, one way to save it is showing at a textbox, then copy it into a file.

  • dasa

    The recorder is a level design tool for music games, to record the key press (or something else). You could save the result to a file. Put each record list into different file.

    Then create another capx to be game-play application. Get these saved files by AJAX.

  • Try Construct 3

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

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

    Try to support compression mode:"zlib" and "gzip"

    The decompression lib is comes from imaya / zlib.js.

  • megatronx

    Yes, just embedded "turn page" in these action/expression.

    It will be better to assign page name at "expression:At" (3 or 4 parameters mode) and using "Action:Set entry at page" to assign page name clearly to avoid confused in multi-pages environment.

  • megatronx

    The "action: turn page" will be embedded at "Action:Set entry at page" since it need to assign a page name.

  • Update:

    Add "Action:Set entry at page".

    megatronx

    Here it is.

  • megatronx

    I see, I will add another action to set entry, which could assign the page name.

    Thanks for notification.