Showing results for

player

movement

on defold.com
defold.com › examples › factory › bullets
Shoot bullets
...Combine this example with some of the examples from the movement and physics categories to create a shoot ‘em up game!
player
The red...
defold.com › manuals › input mouse and touch
Mouse and touch input in Defold
...Mouse movement events are not received unless at least one mouse trigger is set up in your input bindings.
Mouse movement are not bound...
defold.com › tutorials › platformer
Platformer Defold tutorial
...affects the player along the y-axis. This means that it will be applied in the same manner as the movement acceleration described above...
defold.com › 2022 › 08 › 04
The making of BoxRob
...direction of movement, the hand turns.
The first version of throwing a box. The hand swings and throws and the player has the ability...
defold.com › ref › stable › go lua
API reference (Game object)
...EXAMPLES
How to scale a game object:function init(self)
-- Double the scaling on "player"
local scale = go.get("player", "scale")
go.set("player...
defold.com › 2021 › 03 › 09
Developer case study - From fantasy computer to Defold
...In this case, you can manipulate their movement by changing your route. Every program can be manipulated by some action performed by the player...
defold.com › ref › alpha › go lua
API reference (Game object)
...EXAMPLES
How to scale a game object:function init(self)
-- Double the scaling on "player"
local scale = go.get("player", "scale")
go.set("player...
defold.com › ref › beta › go lua
API reference (Game object)
...EXAMPLES
How to scale a game object:function init(self)
-- Double the scaling on "player"
local scale = go.get("player", "scale")
go.set("player...
defold.com › tutorials › rpgmap
RPG map sample
...The main collection contains the player character game object, controlled in 8 directions with the arrow buttons, and a second game object called “game...
defold.com › tutorials › snake
Building a snake game in Defold
...However, if the snake is moving left and the player quickly presses first up, then right before the next movement step happens, only the...