How to implement a backdrop in Defold

The next thing I want to implement is a parallax background for my game, I do know how to implement the parallax but I’m unsure of how to set a sprite as the background without resorting to another gui element, I did find some documentation about this, but its was a 2018 build of defold so I was usure how viable it is in the current release

Have you tried?

Difficult to comment on the viability of what you refer to without any information. Generally Defold is really stable and backwards compatible.

1 Like

The method shown requires a ‘platformer_creation_kit’ which either doesn’t exist in the current build, or I didn’t pick it when making my game (I don’t remember I started making it a year ago) + It talks about a sprite4 component which I cannot find on the api docs

Looks like that doesn’t exist anymore.

Here’s a video tutorial:

A discussion on parallax backgrounds:

Parallax with a shader:

2 Likes

I have a background/parallax effect in this sample game:

DEMO: Throw a Crow 0.1
CODE: https://github.com/britzl/throwacrow/tree/improved

5 Likes