cli345
5
9
cli345

@programming.dev

cli345 2 points 2 years ago

Thank you very much for your feedback. ๐Ÿ™‚

path: 0 9438999 9459135, hotness: undefined, score: 2, children: 0
cli345 2 points 2 years ago

Here, for example, is how the showMessage function would work:

  • $MessageLabel is a field defined by the programmer in Godot.
  • The showIn(p_message, p_place) function shows the message p_message in the field p_place.
  • waitSeconds(2) waits 2 seconds.
  • When the 2 seconds are elapsed, the second branch waitSeconds(2) is finished and so the parallel block is exited (because of exitWith branch 2) and the other branch (the first one) is definitely interrupted (because my parallel exitWith branch N does so).
  • The interruption of the first branch showIn(p_message, $MessageLabel) makes the $MessageLabel invisible.
path: 0 15518809 15519620, hotness: undefined, score: 2, children: 0
cli345 2 points 2 years ago

Yes, that's why I hope others will be able to join me. In the meantime, you can try FuncSug in the Playground. ๐Ÿ™‚

path: 0 15516435 15518855, hotness: undefined, score: 2, children: 2
cli345 2 points 2 years ago

Thanks ๐Ÿ™‚

path: 0 15519199 15519684, hotness: undefined, score: 2, children: 0
cli345 2 points 2 years ago

Thank you for your kind wish! ๐Ÿ™‚

path: 0 15516435 15518855 15523663 15524712, hotness: undefined, score: 2, children: 0
cli345 1 point 2 months ago

I like this overview.

The gameplay loop is what unites all games and game engines, although it may be veiled within the engine, replaced by abstractions or handler functions (callbacks). (Part 1.1)

Incidentally, in my view, it reproduces the common belief that a game has to be structured as a main loop that might be hidden to the programmer in which case s/he has to associate actions(handler functions) to events. This example attempts to prove that it's not always the case.

path: 0 25054385, hotness: undefined, score: 1, children: 0
cli345 1 point 2 years ago

Thank you, Kissaki, for the crossposting :)

path: 0 15424924, hotness: undefined, score: 1, children: 0
cli345 1 point 2 years ago

Thank you for your very useful feedback :)

A native representation of HTML tags is a good idea: I'll have to do that.

For ...---, I wanted a big split symbol between branches (||========) and a small split symbol between the two steps inside a branch (...---). ... because the branch continues and --- to mark a smaller split than ==========.

I intend to add a syntaxic sugar for:

parallel(select N) ||
||==============
    myFunction(arg1,...,argM)
...--------
    restOfBranch1
||=============
    myFunction(arg1b,...,argMb)
...-------
    restOfBranch2

that would be:

choose N by myFunction
    * arg1,...,argM
        restOfBranch1
    * arg1b,...,argMb
        restOfBranch2
path: 0 15410862 15424879, hotness: undefined, score: 1, children: 0
cli345 1 point 2 years ago

Yes, it's very different from what is done in G'MIC. Here, the language is preferably adapted to user interactions. There aren't many in G'MIC. ๐Ÿ™‚

path: 0 15518809 15519086, hotness: undefined, score: 1, children: 0

thanks for using Leebra!

go to feed...