TODO

-FIX BUG 1 - WHEN ADDING VERTICE WITH MAJ => INTERFERENCE WITH MOTION RECORDING ON THE SAME KEY  (MAJ)+ DRAG => Results on undesired rotation record that overide frames
-FIX BUG 2 - REMOVE VERTEX (multiples)


______________________________________FRANCAIS________________________________________

Cet outil a été créé dans le but de générer des ressources pour mon prochain jeu vidéal

  • Veuillez dans un premier temps cliquer sur le canvas pour obtenir la capatation/focus des évenements
  • Testez les animations prédéfinies avec les touches [S] [D][F]

Kit départ:

  1. Pressez la touche sur laquelle vous voulez enregistrer l'animation (←↑↓→ SDF)
    1. Sa représentation dans le canvas, en bas à gauche, devrait devenir rouge
  2. Ajoutez une image avec la touche A ou le boutton "Add Frame" en haut à gauche

  3. Déplacez un sommet en le faisant glisser à l'aide d'un clique et d'un mouvement de souris

  4. Ajoutez une image avec la touche A ou le boutton "Add Frame" en haut à gauche

  5. Dé/Selectionnez plusieurs sommets (pointé en orange après selection) en maintenant CTRL lors d'un clique ou en utilisant la selection multiple par glissement lors d'un clique

  6. Enregistrez un mouvement en maintenant la touche MAJ lorsque vous déplacez un ou plusieurs sommets
  7. Dé/Selectionnez un sommet unique (pointé en bleu) en cliquant sur le sommet survolé par la souris (affiché en rouge).
    1. Le sommet devrait passer du rouge au bleu
  8. Enregistrez une rotation en maintenant le clique tout en glissant la souris autour du sommet bleu
  9. Jouez l'animation avec la touche P ou le bouton "Play/Pause"
  10. Changez l'orientation de votre stickman à l'aide de la touche W
  11. Changez le mode de lecture avec la touche M
  12. Enregistrez votre animation dans un fichier en local à l'aide de la touche Q
  13. Chargez vos animations avec le bouton "Parcourir"
  14. Supprimez des sommets et des segments selectionnés (bleu ou orange) avec les touches SUPPR ou EFFACER
  15. Ajoutez un sommet en maintenant MAJ lors d'un clique sur le canvas
    1. Si vous avez déjà un sommet bleu selectionné vous créerez un segment allant de votre sommet bleu à la position de votre souris au moment du clique
    2. Si vous n' avez pas selectionné de sommet bleu un nouveau sommet non relié sera ajouté à la position de votre souris au moment du clique.
  16. Ajoutez un point noir sur un somment en appuyant sur la touche "ENTREE" sur un sommet bleu
    1. Appuyez deux fois sur "ENTREE" pour afficher le point noir pour la première fois
  17. Pressez la touche sur laquelle vous voulez enregistrer l'animation ... retour étape 1

______________________________________ENGLISH_________________________________________

This tool has been designed for generating assets of my future game.

  • Please, first manage to click anywhere on the canvas to give it event focus
  • Test prefilled animations with [S] [D][F] keys

Starter Pack:

  1. Press the key on which you want to record (←↑↓→ SDF)
    1. It should become RED on the bottom lef
  2. Add frame with A or top left "Add Frame" button
  3. Move a vertex by dragging it
  4. Add frame with A or top left "Add Frame" button
  5.  Select/Unselect multiple (orange dot) vertices  with CTRLCLICK or by  Dragging (Rect display Selection) for grouped movment or removal
  6. Record a movement by dragging one of the selected vertices while holding SHIFT key
  7. Select/Unselect single (blue) vertex by Clicking on it 
    1. it should goes from red to blue
  8. Record a rotation by dragging around the blue vertex while holding SHIFT key
  9. Play the animation with P key
  10. Change stickman orientation with W key
  11. Change playmode with key
  12.  Save animation with key
  13. Load your file by clicking Browse button
  14. Delete single (blue) & multiple (orange dot) selected vertices with SUPPR or ERASE key
  15. Add vertex by SHIFT + CLICK on canvas
    1. If you already selected a single (blue) vertex
      1. It will create an edge from the blue vertex to the new vertex at mouse position
    2. If no vertex is selected a new unattached blue vertex will be created at mouse position
  16. Add a black dot on a vertex (head of stickman) with ENTER key on a blue select vertex
    1. Double ENTER while a single (blue) vertex is seleted for first display
  17. Select another key to record (stage 1)...

Free Soft - https://gitlab.com/Raymondaud.Q/stickfighter
Feel free to ask anything

Development log