can somebody show me a construct example of "1024"

Get help using Construct 2

Post » Fri Mar 14, 2014 2:34 pm

I was trying 1024 game
(app for iOS and Android)

and I'm trying to make it with construct, but I don't know from were to start
most of all because I don't know how to make everything move inside a table
what if I use just a collision wall? but it seems like a bad way to make so... any ideas?
B
6
S
2
G
3
Posts: 8
Reputation: 2,280

Post » Sun Mar 16, 2014 5:42 am

Wow. Same here. I just come to know the game "2048" and it's similar to "1024" :)
I'm used to dealing with this kind of game (blocks, grids, like my games).
Make an array and try to match each tile to each array member.
You may come to use a lot of loops.
B
23
S
8
G
1
Posts: 172
Reputation: 2,780

Post » Sun Apr 20, 2014 1:46 pm

have you guys managed to do a engine of 2048 game?! i see @sharicast you have 3316 challenge is that same?! need a capx to see how its made!:D willing to pay you!
Do you have games and want to make money with them!? do you want more then pennis from ads you have in your games?! visit us today www.gcstudio.net and make money with your games!:)
B
15
S
2
Posts: 89
Reputation: 2,440

Post » Sun Apr 20, 2014 4:39 pm

http://youtu.be/OO4tA5i7X9g
Its pretty simple really. In "tile math" you multiply the position by the tile size, and to get a tile at one of the adjacent tiles you cycle over the the x, and y values by adding, or subtracting 1.
Image ImageImage
B
169
S
50
G
174
Posts: 8,331
Reputation: 110,806

Post » Wed May 28, 2014 9:38 pm

Is simple to move the tiles..but more complicated to make them move at the same time and double the values when colliding. I made a 2048 and I had to recode 2 times to get it right...I did not used physics or something like this since there are chances to miss some collisions on slower devices
https://dl.dropboxusercontent.com/u/139 ... index.html
Made in C2 with 100 events and MoveTo plugin
B
81
S
21
G
23
Posts: 515
Reputation: 18,702


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, valefor and 8 guests