Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I'm trying this but does not work :(

-This in global variables:

let characterVelocity = playerActor.arcadeBody2D.getVelocityX();

-This in another actor code:

this.actor.moveX(characterVelocity) ;

The game not run with this lines, I don't know how I can get this work :(