Dayvid86's Forum Posts

  • Nepeo

    You're talking nonsense!

    You must have taken the wrong file, the wrong subject at all!

    You have confused it with another one of my subjects!

    It doesn't matter.

    Thank you for your attempt to help, but it doesn't help me at all!

    I'm talking about the RPG Game Factory Project, all the files are there!

    I updated the first message.

    My archive contains two folders: "Projet" and "Jeu"

    "Projet" = C3

    "Jeu" = Test

  • Sorry, can't understand.

  • Well, I posted the bug, but it wasn't taken into account!

    I hear it's not a bug, lol!

    github.com/Scirra/Construct-3-bugs/issues/2724

  • Oh yes, I see, that can be problematic!

    In fact the events only happen if the mouse is on the window, but what is strange is that the game still works, the game uses a lot of processor time even when the mouse is not on the window!

    In fact it's just the mouse coordinates that are not updated!

    Because the events are still being executed!

  • No !!!

    Your last addition, on the position of the selection at the beginning!

    It is always 0!

    "I didn't think it mattered, since the size is zero, but just add it:

    -> DrawingCanvas: sets the position to (Self.InitialX, Self.InitialY)

    in case 2."

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes, but it doesn't work:

    + Mouse: At any click

    -> DrawingCanvas: Set InitialX to ent(Mouse.X)

    -> DrawingCanvas: Set InitialY to ent(Mouse.Y)

    -> DrawingCanvas: Set LastX to Self.InitialX

    -> DrawingCanvas: Set LastY to Self.InitialY

    -> DrawingCanvas: Define the position (Self.InitialX, Self.InitialY)

  • blackhornet, there's a problem with your code that I can't fix.

    At the very beginning, with the very first click of the mouse, the position of the selection is at 0, 0!

    Try it and you'll see!

  • Very interesting all this, thank you!

    Your code is much more compact and works just as well!

  • Good evening, thank you very much!

    It's excellent work, my dear.

    Just a little mistake here that I fixed:):

    + DrawingCanvas: LastX ≠ localMouseX

    + DrawingCanvas: LastX ≠ localMouseY

    + DrawingCanvas: LastX ≠ localMouseX

    + DrawingCanvas: LastY ≠ localMouseY

    ----------

    I found this strange (+ DrawingCanvas: LastX ≠ localMouseY).

    I found that the processor resource consumption was enormous, even when nothing changed.

    But since I fixed (+ DrawingCanvas: LastY ≠ localMouseY), it's much better!

    Very good work thanks again:)

  • Hello,

    Thank you for your help, but that's not what I want to do at all!

    Here's what I wanted to do, I figured it out all by myself.

    drive.google.com/open

  • "1. creation of a dictionary and a table

    2. Save the dictionary and table in the file system

    3. Checking the existence of the file"

    FALSE!

    At the beginning of the scene I check that the "system" folder exists.

    If it doesn't exist, I create it and also create the file "system\système.core".

    If it exists, I check that the file "system\système.core" exists.

    If it doesn't exist, I'll create it!

    I don't have a "Table" object or a dictionary object in my project!

    Thank you for reading and answering me!

  • "1. creation of a dictionary and a table

    2. Save the dictionary and table in the file system

    3. Checking the existence of the file"

    FALSE!

    At the beginning of the scene I check that the "system" folder exists.

    If it doesn't exist, I create it and also create the file "system\système.core".

    If it exists, I check that the "system.core system" folder exists.

    If it doesn't exist, I'll create it!

    I don't have a "Array" object or a "dictionary" object in my project!

    Thank you for reading and answering me!

  • "Laziness can be confused with complexity. Construct 3 is one of the simplest professional game engines ever made that simplifies programming for visual editing."

    I agree, but still.....

    File management is too boring in this kind of program.

    The aid is too vague, insufficient or non-existent example...

    The beginner (the neophyte) will NEVER know how to use the file system correctly (load, read, write...), much too complex!

    Isn't there any way to make this all easier?

  • Yes in French I know how to do that, it's so much easier!

    I was saying I'm angry.

    C3 is on the one hand, simple, and on the other hand, very complicated for such simple things.

    Loading a poor file, ah bha no, needs an extra object, and it depends on the file!

    Display a poor dialog box, bha there too.

    If you want to load a table or a dictionary, it's hard!

    No INI file, Json does better but we don't understand how it works and it's complex.

    Loading a dictionary or dictionary requires other objects!

    Ajaax for example....

    My yell is there, it's too complicated for some things.

    Just to get your JSON backup back so you don't leave it

    in local storage, I can't explain...

    Anyway, I'm sick of it, it's way too complicated!

    File management is a real ordeal here!

    Translated with deepl.com/Translator

    -------------------

    Oui en français je sais faire ça, c'est tellement plus simple !

    Je disais que je suis en colère.

    C3 est d'un coté, simple, et de l'autre coté, très compliquer pour des truc si simple.

    Charger un pauvre fichier, ah bha non, faut un objet en plus, et ça dépend du fichier !

    Afficher une pauvre boîte de dialogue, bha la aussi idem.

    Si tu veux charger un tableau ou un dictionnaire, c'est galère !

    Pas de fichier INI, Json fais mieux mais ont comprends rien à son fonctionnement et c'est complexe.

    Charger un dico ou un dictionnaire requière d'autres objets !

    Ajaax par exemple...

    Mon coup de gueule il est là, c'est trop compliquer certaine chose.

    Rien que pour récupérer ta sauvegarde JSON pour pas la laisser

    dans le stockage locale, je t'explique pas...

    Bref j'en est marre, c'est beaucoup trop compliqué !

    La gestion des fichier c'est un véritable calvaire ici !

  • Construct 3 to a "array" object.

    The translator who does his job badly, I suppose.

    "Table = Array" okay?

    You can put "tables" in a dictionary, I know how to do it.

    But to read the "table" how to do it?

    I want to put what the key (the value of the key) contains in the dictionary in an array object.