Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
fr:gdevelop:documentation:manual:edit_expr [2015/07/09 10:52]
victorlevasseur [Fonctions ( description en anglais )]
fr:gdevelop:documentation:manual:edit_expr [2015/10/18 19:20] (current)
Line 87: Line 87:
  
 ===== Other available functions ===== ===== Other available functions =====
-'​*'​ - Native platform only+'​*'​ - Plateforme native uniquement
  
-** Built in events**+** Expressions intégrées**
  
 Variable Variable
Line 99: Line 99:
  Variable(var)  Variable(var)
  Object.Variable(var)  Object.Variable(var)
-Window+Fenêtre
  WindowTitle()  WindowTitle()
-Screen+Ecran
  ColorDepth()  ColorDepth()
  SceneWindowHeight()  SceneWindowHeight()
Line 107: Line 107:
  ScreenHeight()  ScreenHeight()
  ScreenWidth()  ScreenWidth()
-All objects+Tous les objets
  Object.Angle()  Object.Angle()
  Object1.Distance(Object2)  Object1.Distance(Object2)
Line 122: Line 122:
  Object.ZOrder()  Object.ZOrder()
  Count(Object)  Count(Object)
-Sprite+Sprites
  Object.Animation()  Object.Animation()
  Object.Sprite()  Object.Sprite()
Line 131: Line 131:
  Object.ScaleY()  Object.ScaleY()
  
-Conversion+Conversions
  ToDeg(angleRad)  ToDeg(angleRad)
  ToRad(angleGrad)  ToRad(angleGrad)
Line 146: Line 146:
 Random(MaxNumber) Random(MaxNumber)
  
-Time+Temps / Durée
  Time(keyWord) Keywords: hour, min, sec, mday, mon, year, wday, yday  Time(keyWord) Keywords: hour, min, sec, mday, mon, year, wday, yday
  TimeDelta()  TimeDelta()
  TimeFromStart()  TimeFromStart()
  TimerElapsedTime("​timerName"​)  TimerElapsedTime("​timerName"​)
-Math+Maths
  AngleDifference(angle1,​angle2)  AngleDifference(angle1,​angle2)
-Camera+Caméra
  CameraHeight("​layer",​camNum)  CameraHeight("​layer",​camNum)
  CameraRotation("",​0)  CameraRotation("",​0)
Line 163: Line 163:
  CameraX("",​0)  CameraX("",​0)
  CameraY("",​0)  CameraY("",​0)
-Sound+Sons
  GlobalVolume()  GlobalVolume()
  SoundChannelPitch(0)  SoundChannelPitch(0)
  SoundChannelPlayingOffset(0)  SoundChannelPlayingOffset(0)
  SoundChannelVolume(0)  SoundChannelVolume(0)
-Musics+Musiques
  MusicChannelPitch(0)  MusicChannelPitch(0)
  MusicChannelPlayingOffset(0)  MusicChannelPlayingOffset(0)
Line 175: Line 175:
 ** Extensions** ** Extensions**
  
-Text Object+Objet Texte
  Text.String()  Text.String()
  NewLine()  NewLine()
Line 188: Line 188:
  StrRFindFrom("​text","​toSearchFromEnd",​lastPosNum)  StrRFindFrom("​text","​toSearchFromEnd",​lastPosNum)
  
-Top-down movement+Mouvements vu du dessus
  Object.TopDownMovement::​Acceleration()  Object.TopDownMovement::​Acceleration()
  Object.TopDownMovement::​AngleOffset()  Object.TopDownMovement::​AngleOffset()
Line 196: Line 196:
  Object.TopDownMovement::​Speed()  Object.TopDownMovement::​Speed()
  
-Pathfinding automatism+Comportement plateforme
  Object.Pathfinding::​Acceleration()  Object.Pathfinding::​Acceleration()
  Object.Pathfinding::​AngleOffset()  Object.Pathfinding::​AngleOffset()
Line 216: Line 216:
  Object.Pathfinding::​CellWidth()  Object.Pathfinding::​CellWidth()
  
-Pathfinding ​Obstacle ​Automatism+Comportement ​Obstacle ​au pathfinding
  Object.PathfindingObstacle::​Cost()  Object.PathfindingObstacle::​Cost()
  
-Platformer character+Personnage de plateforme
  Object.PlatformerObject::​Acceleration()  Object.PlatformerObject::​Acceleration()
  Object.PlatformerObject::​Deceleration()  Object.PlatformerObject::​Deceleration()
Line 227: Line 227:
  Object.PlatformerObject::​MaxSpeed()  Object.PlatformerObject::​MaxSpeed()
  
-Physics automatism+Comportement moteur physique
  Object.Physics::​AngularDamping()  Object.Physics::​AngularDamping()
  Object.Physics::​AngularVelocity()  Object.Physics::​AngularVelocity()
Line 242: Line 242:
  Object.Z()  Object.Z()
  
-Object Light+Objet lumière
  Object.Intensity()  Object.Intensity()
  Object.Quality()  Object.Quality()
  Object.Radius()  Object.Radius()
  
-Automatism Automatic Network update+Comportement Mise à jour automatique d'​objet par le réseau
  Object.NetworkUpdater::​GetIdentifier()  Object.NetworkUpdater::​GetIdentifier()
  
-Object Particles emitter+Objet émetteur de particules
  Object.EmitterAngle()  Object.EmitterAngle()
  Object.EmitterForceMax()  Object.EmitterForceMax()
Line 286: Line 286:
  Object.NbParticles() - number  Object.NbParticles() - number
  
-Automatism Path+Comportement Chemin
  Object.Path::​AngleOffset()  Object.Path::​AngleOffset()
  Object.Path::​PathX()  Object.Path::​PathX()
Line 294: Line 294:
  Object.Path::​Speed()  Object.Path::​Speed()
  
-Object Sound+Objet son
  Object.Attenuation()  Object.Attenuation()
  Object.MinDistance()  Object.MinDistance()
Line 301: Line 301:
  Object.ZPos()  Object.ZPos()
  
-Text Entry+Objet entrée de texte
  TextEntryObject.String()  TextEntryObject.String()
  
-Advanced ​XML+* XML Avancé
  AdvancedXML::​GetAttributeNumber("​ElementReference","​AttrName"​)  AdvancedXML::​GetAttributeNumber("​ElementReference","​AttrName"​)
  AdvancedXML::​GetElementType("​ElementReference"​)  AdvancedXML::​GetElementType("​ElementReference"​)
  
-Network+Réseau
  Network::​GetReceivedDataValue("​DataName"​)  Network::​GetReceivedDataValue("​DataName"​)
  
-Sound ObjectListener+Objet sonEcouteur
  SoundObject::​ListenerDirectionX()  SoundObject::​ListenerDirectionX()
  SoundObject::​ListenerDirectionY()  SoundObject::​ListenerDirectionY()