rexrainbow's Forum Posts

  • Joskin

    An adventure game demo

    This is a more complete demo with grid move by keyboard and wander for npc.

  • This is a story for finding golden flowers

    AVG demo

    • arrow key to move player's character
    • hit other characters to open conversation

    : press any key or click to continue

    • click text on choice box to make a choice

    Capx

    • Less then 50 events

    Dependance:

    Plugin

    Board

    SquareTx

    TMX Importer

    Timeline

    Instance group

    Function

    Scenario

    FSM

    CSV2Fn

    Behavior

    Grid move

    Timer

    Text scrolling

    Text typing

  • Update

    "action:start scenario" will not start if tag is not valid.

    • tag "" means started at first command line
  • Update:

    Add expression:PXY2LX, PXY2LY in Board plugin, These could get logic X or logic Y from physical x and physical y. For example, get logic X and logic Y from current cursor position. Return (-1) if position is not in the board.

    Also please update SquareTx and HexTx plugins

  • Sheepy

    I strongly suggest user creates csv by excel or google document, that will be more clear, especial the string with newline or ",".

    (Moreover, user could color the cell of csv in excel or google document)

    Yes, user could create random(a,b) by using a+Math.random()*b, since the parameter will go through eval -- it could do some calculation.

    reference - Math object

  • User could use delay command and wait command to create a conversation.

    Capx

    CSV:

    0,print,'A: Good morning'
    wait,,
    0,print,'B: Hi'
    wait,,
    0,print,'A: Are you hungery?'
    wait,,
    0,print,"'B: No, I just ate something.'"
    wait,,
    0,print,'A: Well...'
    wait,,
    0,print,'B: I should go'
  • Sheepy

    Try this scenario plugin, it is an advanced version of worksheet.

  • ScenarioJ

    Motivation

    rex_scenario plugin runs external commands (script) in csv format, which can be edited in excel, open office, or google document. It could not handle control commands like for loop, while, if..else if ... else.. well. So I tried to find another command (script) format with a better editor. Then I found that I could use C2 event sheet to be the external commands (script) editor, and save commands (script) in JSON format.

    This rex_scenarioJEditor plugin provides actions/conditions/expressions to build external commands (script), then gets the content of commands (script) in JSON string, runs it in rex_scenarioJEngine object.

    Snapshot of editor:

    • Editor: Create Scenario-Json commands. These commnds (script) could be saved into a string variable or an external text file.
    • Engine: Execute Scenario-Json commands which created from rex_scenarioJEditor plugin.

    ----

    Scenario

    I move the document of this plugin to here. Hope it would be more easier to understand.

    Scenario behavior , the behavior version of scenario plugin.

  • Try Construct 3

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

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

    Fix a small bug

  • Update

    Add action:Pause timeline, action:Resume timeline.

    • action:Pause timeline will pause the update of timeline, it will pause all timers registed on it.
    • action:Resume timeline will resume the update of timeline.

    User could add more then one timeline then pause one of them.

    For example,

    Then user could use Pause/Resume the second timeline (timer behavior) to pause the sprite's action without stop text typing.

  • My friend told me that his account rocky10529 had been blocked, could Tom help him?

  • Fimbul

    Yes, for me, "behavior" is one kind of plugin.

    But the question is, many users does not know what is fsm, so I had not release this plugin.

  • The reason is the animation changed in your case. I'm not sure what the root cause is.

    Uh, you might download tmximporter plugin again. I forget the last update date.

  • Fimbul

    Arima

    FSM (finite state machine) architecture could be implemented in plugin.

    I thought plugin is a good way to reuse events, since reuse-able events is a function-like structure, it has parameters and return values or some actions.

  • Update

    • Add PushOutSolid behavior to interact with solid object, this behavior is extracted from 8-direction behavior.
    • Update moveTo behavior to re-calculate velocity when position changed by event/other behavior (for example, PushOutSolid behavior).

    Here is a demo for moveTo with solid object.

    • click any point to move to.

    Capx

    Note: PushOutSolid behavior must put under other behavior.

    Goury

    Here it is~