Nabu's Forum Posts

  • I'll give it a try as soon as I got time for it, and post a feedback here. Everything looks charming and the palette brings childhood memories.

    You may look for two amazing games :

    Spectable by GrahfMetal https://grahfmetal.itch.io/spectacle

    Ponderabilia by Moloko https://www.adventuregamestudio.co.uk/site/games/game/1751

    They are mostly unknown, although being rare gems.

  • Thank you for the example, it's simple and straightforward. I used to do this with Rojohound's Paster plugin for Construct 2, but I can't figure out to make it work in one of my C3 project though, where I do lots of Z Elevation changes.

    Edit : Finally managed to do it, thanks !

  • The Paste action of the Drawing Canvas in asynchronous and requires the system action "Wait for previous action" before completion. Thus if I use a small canvas to paste objects from game layout (like every tick or x ticks) and then move this canvas to display pasted objects elsewhere, everything is black.

    It works with every 0.1 seconds, giving the time for the asynchronous pasting, but it flickers.

    Tagged:

  • Yes, Javascript has been useful more than once to access some things impossible from the editor, or at runtime. Thank you for posting a bug report.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, yes it does in some ways. Read the documentation about scripting, and also instance picking under Object Interface.

    https://www.construct.net/en/make-games/manuals/construct-3/scripting/scripting-reference/object-interfaces/iinstance

  • This is a very cool project, with good atmosphere and nice old school graphics. I hope you'll make it full of mystery, good luck !

  • Good luck ! I didn't take a look at the c3p yet, but the demo is ok and the art is nice. I also use 2D terrain procedural generation and it's a wonderful world.

  • You can change canvas Z Order but not Z Elevation, why ?

    Is this planned in future updates ?

    I just found that there is a Z Elevation value for the DrawingCanvas in the debugger, that you can change at runtime. You can also add DrawingCanvas as a child to some other object via hierarchy. But you can't directly change it via events at runtime.

  • Thank you for your reply. Same about readability. After some tests it appears to be slightly faster than conditions, but as you said it only concerns extreme cases, like really intensive loops.

  • Hello, just a simple question :

    What is the difference between Pick by Evaluate and conditions, in terms of picking, system handling picking and performance ?

    Between something like this (in one event block) :

    - Object.var1=?

    - Object.var2=?

    - Object.var3=?

    - Object.var4=?

    And this :

    - Pick Object by evaluating (Object.var=?, Object.var2=?, Object.var3=?, Object.var4=?)

    Does the first iterates through all objects, check them for first condition, narrow the SOL to selected ones, start again and do the same for every conditions ? So it's multiple SOL and one condition check by object ?

    Does the second loop through all objects and check for every conditions and the return a final SOL ? So it's one SOL and multiple checks on every objects ?

    Second would be better in terms of performance ?

  • With pleasure.

  • In this case you have to send a message from the peer to the host, apply it and broadcast the new information to every peer.

    Do you have a small project with just connection handling and color choosing ?

  • Hello,

    Use the Mouse object for detecting clicks on your text object via conditions.

    Then you have the built-in Browser object that allows you to do this via "Open URL in new window" action.

  • Hello,

    Put the values inside an array, then choose a random value from that array like :

    randomIndex = round(random(0, Array.With-1))

    value = Array.At(randomIndex)

    Then delete this array entry like :

    Array.Delete(randomIndex)

    This way, the randomly chosen value is removed from the array and your can iterate once more for a second roll (with another random index).

  • Hello,

    If you want the host to choose a color, then pick it and broadcast the information to all peers. Then make the changes peer side according to.

    From host :

    Multiplayer => Broadcast action with a tag like "ColorSet" or something.

    On peer :

    Multiplayer => On message "ColorSet" do whatever events you want to change color.