Problem with wraping sprites- how to avoid gaps?

Get help using Construct 2

Post » Mon Sep 21, 2015 8:20 pm

Hello,
I want to make a side scrolling game, something panorama-style, made of 18 different 1000x720px images. I don't think that using one, 180000 px image would be smart due to memory usage.
I've read about problem with unexpected gaps between wrapped sprites but any of solutions wouldn't work since I can't (can I?) use tilted background. I've tried multiple solutions to make it work, but gaps keeps appearing.
I'm quite new to Construct and game design so maybe solution is simple - I just can't find it. I'll be very grateful for your help.
Here's my capx file:
https://www.dropbox.com/s/tq8edey2edaae ... .capx?dl=0
B
3
Posts: 2
Reputation: 179

Post » Mon Sep 21, 2015 11:36 pm

If you're using the wrapping behavior, then you'll want to do it with events for better accuracy.

Maybe these will help:
viewtopic.php?f=178&t=97462&p=745717&hilit=gap#p745717
viewtopic.php?f=147&t=72974&p=611409&hilit=gap#p611409
B
94
S
33
G
114
Posts: 5,359
Reputation: 73,779

Post » Tue Sep 22, 2015 10:19 am

It works! I used different events to simulate wraping behaviour but still, thank you R0J0hound!
Here's capx file with my solution, maybe somebody will find it useful:
https://www.dropbox.com/s/se4m9cun0ug9z ... .capx?dl=0
B
3
Posts: 2
Reputation: 179


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 33 guests