Fixing bug
This commit is contained in:
parent
48510c3aa6
commit
0cc3dce9a8
BIN
jumpingbird.wasm
BIN
jumpingbird.wasm
Binary file not shown.
2
main.cpp
2
main.cpp
@ -226,7 +226,7 @@ namespace ZL
|
||||
|
||||
//Create background mesh depending on screen size
|
||||
|
||||
Env::backgroundSectionWidth = BACKGROUND_HEIGHT * backgroundTextureScale;
|
||||
Env::backgroundSectionWidth = BACKGROUND_WIDTH * backgroundTextureScale;
|
||||
|
||||
GameObjects::backgroundMesh = CreateRectHorizontalSections2D({ BACKGROUND_WIDTH * backgroundTextureScale * (0.5f), BACKGROUND_HEIGHT * backgroundTextureScale * (0.5f) }, { BACKGROUND_WIDTH * backgroundTextureScale * 0.5f, BACKGROUND_HEIGHT * backgroundTextureScale * 0.5f }, 0, 2);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user