skymen's Forum Posts

  • Thank you

  • To what name may I credit this? Is

    "Text Effects by oosyrag" enough, or do you have anything else you need credited?

  • Well, in the meantime, I used your method and it worked

    Thanks ^^

    EDIT: Omg. Your Text effects are amazing!

    Do you allow me to use that in any future game I make?

  • oosyrag Indeed, that's an idea. I'll try it out.

    However, I can't access your file, because you gave me the link to the file on your homepage. You should have clicked "Share", created a link, and then given me that link.

  • Hey, I'm trying to do text commands to add some power to my dialogues, however, I still have some questions about Regular Expressions.

    Let's say I have this text:

    Hello \nI have twenty \i[1] gold coins and three \i[5] potions. \nThat's pretty cool.[/code:1v5oohwz]
    
    Let's say this icon    a potion. This is how the text should render:
    
    [quote:1v5oohwz]Hello
    I have twenty  potions. 
    That's pretty cool.
    
    
    However, I have a few problems when it comes to showing icons.
    I'm using this regex to detect \i[X] : [code:1v5oohwz]"\\i[([0-9]+)\]","g"[/code:1v5oohwz]
    I want to (in thatt order):
    [ul]
    *Count how many "\i[X]" I have in my text (DONE)
    *For each "\i[X] get three values: The X it contains, the line it's on and it's X position compared to the text's hotspot (in order to create and correctly place the icons). For this one I have a problem as in RegexMatchAt, the Index gives me the Xth \i[X] but not the X.
    *After all Icons are created, replace all \i[X] with "     " (DONE)
    [/ul]
    
    So, what I'd like to know is how do I extract a part of a string (aka from the beginning until my \i[X]) and extract that X when I have multiple commands in the same text.
  • Yeah, I guess there are plenty of ways to do this. I'm still figuring this out. I'm not even sure if I want to do that on Construct anyways, and not just good old RPG Maker.

  • Well, I'm not new to Construct, and it's my fault for assuming everyone would understand what I'm talking about.

    What I mean by a "RPG Maker like event system" is a common feature in top down RPGs.

    You can set multiple "events" that are represented by a box on your map. Each box contains some piece of code that can be run using a defined trigger: Automatic, parrallel process, Action Button, and collision.

    For the moment, this is quite easy to set up on construct. What is harder tho, is how that piece of code is processed.

    In RPG maker, you associate a list of actions to each event, and those actions are realised one at a time. Some are realized together, some need to pause the event processing and so on.

    For exemple, if I need to make a cutscene containing two NPCs walking along and talking, all I'd have to do would be to set a move route to each NPC, have it loop (or, not, depending on what's wanted) and then add the "message" action and set the actual message as a parameter. This message actions are listed one after another, and the next message action is not processed if the previous one has not been ended (aka the enter have been pressed to terminate the current dialogue). However, the message actions do not prevent the NPCs from walking. So you have to set it so some action can restrain other actions from happening but not all of them.

    I have a very blurry idea of how to do this using a 3D dictionnary, a list or an array. But it's very sketchy, and I'm not sure how to do it in a way so it's extensible.

  • Hello, I'd like to know if there is anyway to have something working like RPG maker where you set up a list of actions and execute one action at a time. I really can't find how to do that without having some hard time having to test each condition end. Sometimes, it's not even possible.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok I'll be uploading the demo to the scirra arcade

    EDIT: Here you go: https://www.scirra.com/arcade/other-gam ... ials-10334

  • There is already an exemple right here: http://airtailstudios.comxa.com/Water%20Essential/

  • UPDATE: The pack is finally available on the store.

    https://www.scirra.com/store/royalty-fr ... -pack-2762

  • Water Essentials Pack — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-game-templates/water-essentials-pack-2762

    <h3>Description</h3><div class="deshr"></div><p>This template contains 3 types of water:</p>

    • Dynamic Water
    • Static Water
    • Physics Water

    <h3>More Information</h3><div class="deshr"></div><p>For more information on what the pack contains and how all of it works, check the documentation.</p><h3>Needed Addons</h3><div class="deshr"></div><p>You will need the Canvas plugin and the Alpha Threshold effect for these to work:</p><p>Canvas plugin: scirra.com/forum/plugin-canvas_t64239%3C/p%3E%3Cp%3EAlpha Threshold: scirra.com/forum/effect-alpha-threshold_t74372%3C/p%3E%3Ch3%3EDemo%3C/h3%3E%3Cdiv class="deshr"></div><p>Try out the demo here: airtailstudios.comxa.com/Water%20Essential/%3C/p%3E%3Ch3%3EFree Version</h3><div class="deshr"></div><p>If you want to get your hands on the product before paying, try the free light pack: mega.nz

    Use this topic to leave comments, ask questions and talk about Water Essentials Pack

  • Well to be honest, I planned to sell it for 1/2£. I don't want it to be too expensive.

  • UPDATE: I finished making the pack. I'm commenting its code, and then I'll write a tutorial on how to use it and what does every var do that I'll distribute along with the .capx.

  • winkr7 I love you xD

    Well, I will indeed have a light version distributed for free.