Stephan Posted March 29, 2019 Share Posted March 29, 2019 hi @enpu, It looks like I found another small problem with TilingSprites when hires is enabled. config file: game.config = { system: { width: 320, height: 320, scale: false, center: true, resize: false, hires: 2 } }; This is the code. (I added [email protected] to the media folder) game.module( 'game.main' ) .body(function() { game.addAsset('panda.png') game.createScene('Main', { init: function() { this.sprite = new game.TilingSprite('panda.png', game.width, game.height).addTo(this.stage); }, update: function() { this.sprite.tilePosition.x -= 100 * game.delta; } }); }); The background now has a gap when it is moved to the left. (This gap is sequential). Wolfsbane 1 Quote Link to comment Share on other sites More sharing options...
enpu Posted March 29, 2019 Share Posted March 29, 2019 Could you send me the project so i can take a look? Quote Link to comment Share on other sites More sharing options...
Stephan Posted March 29, 2019 Author Share Posted March 29, 2019 oh, sure. Forgot about that... Here it is attached. example.zip Quote Link to comment Share on other sites More sharing options...
enpu Posted March 29, 2019 Share Posted March 29, 2019 Thanks! This should be now fixed in develop version. Wolfsbane 1 Quote Link to comment Share on other sites More sharing options...
Stephan Posted March 29, 2019 Author Share Posted March 29, 2019 thank you so much again for this quick update! It works perfectly now. ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.