eli0s's Forum Posts

  • You do not have permission to view this post

  • Ashley , what I ask doesn't change the way Line of Sight behavior works now, it just adds a visual representation of the cone, an approximation that could be very useful for both debugging and gameplay design-wise purposes. For a more accurate detection, we could just add proxy objects and define the boundaries however we like.

  • Ashley , any chance to add a "visual cone of view" to the Line of Sight behavior..? Something like this..?

    Making this with the Shadow&light object is too bothersome and it doesn't work with low value angles...

    Here is the capx for anyone interested for this method.

  • You could use proxy objects to detect other parts of your big character. See the following capx (it's very messy code-wise, but you should get the idea).

    https://www.dropbox.com/s/if0hvfv8jg2rndz/LoS.capx?dl=0

    What I would very much like to see ( Ashley ) is a visual LoS cone, either for gameplay purposes or just for debugging.

  • rexrainbow , as always you rock! I just wish that those functions were somehow more integrated into the basic text object and easily accessible without the need to have a lot of different plugins/behaviors that use their own logic.

    I mean some basic formatting within the text object like ...[\b] or

    ...

    [\size] or ...[\color] or even [shadow]...[\] would really add some coherence to the workflow (forward slash is inverted for displaying reasons)...

    Anyway, I'm glad you are around though!!! Thank you for your amazing work!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Zebbi , you can do it with an extra event. Here, I've updated the example to reflect this.

  • Miu3 , well, the "Typing" behavior does provide a lot of useful actions and conditions that are easily accessible. I didn't remember that there are other plugin dependencies but if you make this initial step and set the behavior in C2, the rest are pretty easy, trust me, much easier than copying code all the time...

  • Miu3 , I agree with you, the text object needs a lot of attention and it should support a lot more features, like multiple charachter size, bold/italic/underline, per-line alignment, multiple colors etc.

    The typing effects further add to the user experience on the one end, while making the development part easier on the other end...

    Meanwhile, there are some behaviors made by rexrainbow that add some functions and enhance the default text plugin.

    Typing

    Text Properties

    Scrolling

  • Zebbi , I agree with you, the official "Keyboard" plugin does the same thing better. If only it could register the "Spacebar"...

    An other issue is that there isn't a way to differentiate the left Shift/Ctrl from the right. This is a restriction inherited from the browsers or something...

    Anyway, keep it up!

  • Zebbi , my example above doesn't work for you? Or am I misinterpreting something, English isn't my strong suite!

  • Aww and there I was thinking it was perfect What problems does it produce?

    Well, have you tried pressing "Shift", "Enter", "Ctrl", the arrow keys, any of the numpad keys...? Either nothing happens, or totally incorrect characters appear. There are also differences between browsers, in Firefox, pressing "Shift" produces a graphical element but on Edge and Chrome nothing happens.

    I haven't checked it thoroughly, but the default "Keyboard" Plugin seems to be a lot more predictable and functional. It just doesn't register "Spacebar" as a string. But this can be easily implemented with an extra event.

  • rigar , you are welcome!

  • > This could be a valid way to do it... Although, it seems like "Spacebar" doesn't return a string...

    >

    > Ashley, is this normal...?

    >

    I managed to do it well with this: https://dl.dropboxusercontent.com/u/364 ... arCode.zip

    This method with Kyatric's plugin does return a string for "spacebar", but it produces a lot of other problems, in my opinion of course.

  • This could be a valid way to do it... Although, it seems like "Spacebar" doesn't return a string...

    Ashley, is this normal...?

  • I see... I never use the music folder, so I was unaware about this...

    I find it reasonable that the playback rate is limited to 1 or bellow, since if you accelerate the playback speed it will probably mess up the streaming of the audio file...