Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Indexing of the wallpaper image names need clarification #6

Open
orhankurulan opened this issue Jan 28, 2022 · 1 comment
Open

Indexing of the wallpaper image names need clarification #6

orhankurulan opened this issue Jan 28, 2022 · 1 comment

Comments

@orhankurulan
Copy link

orhankurulan commented Jan 28, 2022

Hi,
I've been checking the source code, looks like simple and perfect. The only missing documentation is that I think the indexing of the wallpaper image names needing more clarification if there is more than 3 layers of .png file on a folder.

Example;
The image files of 20th wallpaper has this index naming for 2 layers;

0_00020_60.png
1_00020_30.png

What / How should we name the 3rd layer if we need to add another custom wallpaper set like 00022 as opposed to the demo ones?

For example if you like to add 8 layered .png set, how should the naming of the .png layers be?

  • 0_00022_60
  • 1_00022_30
  • 2_00022_10
  • 3_00022_?
  • 4_00022_?
  • 5_00022_?
  • 6_00022_?
  • 7_00022_?

I know that

  • the first part like 0_ or 1_ signifies the index,

  • the second part (00022) is the name of the image file

  • the third part means what? (z-index?, depth of the image?, movement adjustment?)

And how that order should start? Like _100, _80, _60?

Can you please clarification this?

I will be happy to contribute the documentation / wiki of this project for these details if you open the wiki part and let us edit it.

Thank you

@lucasasselli
Copy link
Owner

Hi @orhankurulan, apologies for not answering sooner!

The format is as follows order__id__movement factor.

order: From 0 (background) to N (foreground).
index: The unique ID of the wallpaper.
movement factor: The higher the value, the more the image moves when tilting the screen.

For a correct effect the movement factor should decrease with the increasing of order to simulate depth.

Repository owner deleted a comment from ouayoub Jun 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants