User Tools

Site Tools


fr:add_tile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fr:add_tile [2020/06/09 09:38] – created justinfr:add_tile [2020/06/09 10:01] (current) cdrix
Line 1: Line 1:
-FIXME **Cette page n'est pas encore traduite entièrement. Merci de terminer la traduction**\\ //(supprimez ce paragraphe une fois la traduction terminée)// +======Ajouter une Tuile======
- +
-======Add Tile======+
 ---- ----
  
-Adds a [[tile|tile]] at the specified [[coordinate|coordinate]] within the [[map|map]] (if a [[tile|tile]] does not already exist at that [[coordinate|coordinate]]). The [[entity|entity]] ID is optional and will be assigned to the new [[tile|tile]] if supplied.+Ajoute une [[tile|tuile]] à la [[coordinate|coordonnée]] spécifiée sur la [[map|carte]] (si une [[tile|tuile]] n'existe pas encore à cette [[coordinate|coordonnée]]). L'ID de l' [[entity|entité]] est optionnel et sera attribué à la nouvelle [[tile|tuile]] si fourni.
  
 ====Signature:==== ====Signature:====
Line 11: Line 9:
 </code> </code>
  
-^Argument^Description^Type^Required+^Argument^Description^Type^Exigé
-|model_name|Model to use for the new [[tile|tile]].|[[string|String]]|Yes+|model_name|Modèle à utiliser pour la nouvelle [[tile|tuile]].|[[string|Série]]|Oui
-|coordinate|Position of the new [[tile|tile]].|[[coordinate|Coordinate]]|Yes+|coordinate|Position de la nouvelle [[tile|tuile]].|[[coordinate|Coordonnée]]|Oui
-|entity_id|Unique [[entity|entity]] ID that will be assigned.|[[string|String]]|No|+|entity_id|ID unique de l' [[entity|entité]] qui sera attribué.|[[string|Série]]|Non|
  
 <WRAP center round info 100%> <WRAP center round info 100%>
-After adding a new [[tile|tile]], you can use the [[modify_navigation|Modify Navigation]] function to make the [[tile|tile]] walkable from any adjacent [[tile|tiles]]. For exampleif you add a bridge [[tile|tile]] on top of a riveryou'll need to update the [[navigation_and_interaction|navigation]] to allow the [[character|characters]] to walk across it.+Après avoir ajouté une [[tile|tuile]], vous pouvez utiliser la fonction [[modify_navigation|Modifier Navigation]] pour rendre la [[tile|tuile]] praticable depuis n'importe quelle [[tile|tuile]] adjacentePar exemplesi vous ajoutez une [[tile|tuile]] pont au dessus d'une rivièrevous devrez mettre à jour la [[navigation_and_interaction|navigation]] pour autoriser les [[character|personnages]] à le traverser.
 </WRAP> </WRAP>
  
Line 24: Line 22:
 add_tile("wooden_floor_02", coord[10, 0, -1], "bridge") add_tile("wooden_floor_02", coord[10, 0, -1], "bridge")
 </code> </code>
-//Results:// A new [[tile|tile]], using model "wooden_floor_02", will be added to the [[map|map]] at [[coordinate|coordinate]] (10, 0, -1) and given an ID of "bridge".+//Résultats :// Une nouvelle [[tile|tuile]], à l'aide du modèle "wooden_floor_02", sera ajouté à la [[map|carte]] à la [[coordinate|coordonnée]] (10, 0, -1) et a obtenu comme ID "bridge".
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Add Tile** function to place a bridge across a river or chasm after the player performs a certain action, opening up a new area for them to explore.+Utilisez la fonction **Ajouter une Tuile** pour placer un pont pour placer un pont sur une rivière ou un gouffre après que le joueur ait effectué une certaine action, ce qui lui ouvre une nouvelle zone à explorer.
 </WRAP> </WRAP>
  
Line 34: Line 32:
 <WRAP group> <WRAP group>
 <WRAP half column> <WRAP half column>
-====Editor Node:====+====Noeud de l'Editeur :====
 {{:fr:add_tile_node.png?nolink|}} {{:fr:add_tile_node.png?nolink|}}
 </WRAP> </WRAP>
  
 <WRAP half column> <WRAP half column>
-====Visual Demo:====+====Démonstration Visuelle :====
 {{:add_tile_demo.gif?nolink|}} {{:add_tile_demo.gif?nolink|}}
 </WRAP> </WRAP>
fr/add_tile.txt · Last modified: 2020/06/09 10:01 by cdrix