Laurent's Forum Posts

  • Thank you !

    Actually I can't change the whole database structure that has more than 50000 items. Moral and Weather are two among 150 different fields...

  • Hi dop2000

    Thank you for the suggestion ! Unfortunately, the CSV plugin doesn't wourk with the latest version of Construct 3. I turned the csv into json, it may help to be more Construct3 compatible. Here is the link : https://www.dropbox.com/s/d244shnhug9yhd9/TestFile.json?dl=0

    One of my big question here, is how to populate the dropdown list with Names in a case and Dates in the other case as to trigger display as indicated.

  • I have a huge csv database that looks like this :

    It's a very simplified version but it gives a precise look of the structure.

    I need to be able to organise the results of this database in two ways :

    - display content by name

    - display content by name.

    To do that, that I'd like to scan the database for names and have access to them through a dropdown list. This would organise a name's informations by date and should look like this (grey rectangle is dropdown list):

    Also, I'd like to scan the database for dates and have access to them through a dropdown list. This would organise a given dates' informations by name and should look like this (grey rectangle is dropdown list):

    Do you have an idea on how to do that ? CSV test file is available here : https://www.dropbox.com/s/1alwud24umbt95i/TestFile.csv?dl=0

    Tagged:

  • Thanks R0J0hound

    I'll explore this.

  • I'd like to change sprite object origin runtime. I have multiple instances of an object and at a certain point of the game, gravity is applied and I want every instance to fall with a rotation applied to a different part to every instance. Image leaves falling from a tree or pieces of paper detaching a the same time form a board where they are pinned.

  • Perfect ! Thank you !

    Does the layout event sheet can have an influence on the global layer ? (change text, etc..)

  • Oh ! I guess this is what i saw. Would you have an example ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I remember something where a layer is given the name of a layout so this layout can be part of another layout.

  • It's all in the title : I'd like to have a layout embed in my current layout.

    I know it's possible, I did find a way here back in the day but can't lay may hands on it again.

    Tagged:

  • You do not have permission to view this post

  • You're a genius !!!!

    I added a Trigger once condition and everything is fine now !

    Thank you !!

  • Hello,

    I tried your approach with the onTap code in a group being enabled when necessary. And it is still the same.

    I dont't understand why every action is working (destroy, variable changes value) but only layer visibility is not. Is there something special with this action that causes this ??

  • Your first 2 requirements get met state and isMoving and then you tell the system to wait 1 second. After 1 second did you touch the button as well as overlap an enemy as well as hex overlap player.

    Yes, every conditions are ok.

    The thing is that after "Touch button", every event occur (meaning Pick and Overlapping are also met) : Destroy enemy & Set occupied to 1. Only Set layer 2 invisible doesn't work.

  • Thnaks both of you, and thanks winstreak for taking the time for the clear video !

    I understand what's going on here. By the way, exemple here was not very well chosen because my real problem doesn't involve the possibility to use the Else statement.

    I can't post the all code but here is the segment that poses problems :

    In here, everything works well when the highlighted line is not present (wait 1 sec) : Layer 2 is shown on screen (Red button and Fight text are on this layer) and when button is clicked, layer 2 is set to invisible and State is changed to its correct value.

    But when action "System > wait 1 sec" is added, everything works the same but "system > set layer 2 invisible" is not triggered.

    What happens here ??? I really don't get it.

  • I came across a strange behaviour here. In this little code where everything looks fine, clicking the green button doesn't switch layer 0 where Red square is, as it should. Button is active because because it triggers correctly Flash behaviour.

    Did I miss something ??

    https://www.dropbox.com/s/nf1lm16l1e5w3ah/SetLayerInvisible.c3p?dl=0