How To Create A Slidable Game Map

Get help using Construct 2

Post » Fri Dec 27, 2013 5:54 am

Hello Everyone,
I just stuck in the map creation/programming process.
I want to create a map of levels, just like most of ios mobile game, such as candy crush saga.
Some of the screenshots:
http://www.crushingcandies.com/our-candy-crush-expert-reveals-tips-for-episode-12-pastille-pyramid-levels-156-170/
http://cdn2.pcadvisor.co.uk/cmsdata/products/3445584/Candy_Crush_Saga_4.png

The view of map is scrollable by sliding the screen. I want to make one like that.
Anyone can teach me how to code it?

Waiting for your help..

Andy
B
7
Posts: 15
Reputation: 364

Post » Sun Dec 29, 2013 2:27 am

No one knows?
B
7
Posts: 15
Reputation: 364

Post » Sun Dec 29, 2013 3:33 am

is something like this ok? ..
@andywang
temp link.
https://dl.dropboxusercontent.com/u/139486255/Sample_Game_ALPHABET_LEARN/index.html
B
36
S
10
G
4
Posts: 250
Reputation: 7,963

Post » Sun Dec 29, 2013 8:26 am

Yes friend,
a little similar like that.
B
7
Posts: 15
Reputation: 364

Post » Sun Dec 29, 2013 8:30 am

But, what i mean is, the player sliding the screen to scroll 8 direction of the level map.
how do you do that in c2?
B
7
Posts: 15
Reputation: 364

Post » Sun Dec 29, 2013 8:50 am

There are many examples of the functionality you require.

Just search the forum for touch scroll or touch pan.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Dec 29, 2013 1:40 pm

www . dropbox . com/s/0h7drj2ogkzqxed/folder.capx

I did something similar for my magazine application. Ignore the zoom system. :)
B
32
S
10
G
3
Posts: 310
Reputation: 6,081

Post » Sun Dec 29, 2013 1:55 pm

Is there an easy way to wrap an object to another object?
The wrap behavior only supports wrapping to the layout or viewport.
B
11
S
2
G
1
Posts: 202
Reputation: 1,580

Post » Sun Dec 29, 2013 3:18 pm

Thanks all..
Got the capx file.
i am learning it now, but still get confused with the eventsheet. especially for the TouchScroll.
B
7
Posts: 15
Reputation: 364

Post » Tue Dec 31, 2013 9:36 am

Solve it.
I have just implement it in my project.
Thanks to sctcr, you're my life saver. :-)
lol.
B
7
Posts: 15
Reputation: 364

Next

Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 27 guests