Is C2 hard to develop simple puzzle games?

Discussion and feedback on Construct 2

Post » Sun Feb 10, 2013 6:42 am

Hi Guys.

after doing some mechanical experiments, now I have seen that C2 doesn't include some plugins or some special templates for simple puzzle games as chain blocks, falling blocks at grid and match 3, sometimes it complicates me much like making a simple puzzle than platform action games adventure and many other genres.

So we have no solution how to detect the matched block (mininum 3 blocks) and make it destroy at chain.
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,646

Post » Sun Feb 10, 2013 7:28 am

Check this plugin out, should be useful. :)vee412013-02-10 07:28:58
B
24
S
8
G
7
Posts: 756
Reputation: 7,202

Post » Sun Feb 10, 2013 7:37 am

@vee41 I've used this plugin before BUT it requires huge dependence walker. eg. More required plugins. I didn't understand how to use these plugins.

I've contacted with rexrainbow via PM he could explain is how to make very simple, (not swappable blocks, just click a block with other same blocks togheter to explode) but he is still very busy at moment...

It's hopelessJoannesalfa2013-02-10 07:43:43
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,646

Post » Sun Feb 10, 2013 10:26 am

[quote]So we have no solution how to detect the matched block (mininum 3 blocks) and make it destroy at chain.[/quote]

Understanding this simple code by R0J0hound will allow you to make any type of matching block game.

http://www.scirra.com/forum/matching-more-than-3-sprites-gem-matching_topic51703.html

You don't need templates or extensions just a better knowledge of construct.
B
37
S
19
G
18
Posts: 616
Reputation: 10,237

Post » Sun Feb 10, 2013 11:26 am

[QUOTE=Joannesalfa] @vee41 I've used this plugin before BUT it requires huge dependence walker. eg. More required plugins. I didn't understand how to use these plugins.

I've contacted with rexrainbow via PM he could explain is how to make very simple, (not swappable blocks, just click a block with other same blocks together to explode) but he is still very busy at moment...

It's hopeless[/QUOTE]

Here is simple example of destroying matched blocks on click thingy with matcher/board. 6 events, hopefully this is of some help :)

Here is the link

Requires plugins:

Board
Instance Group
Matcher
SquareTxvee412013-02-10 11:27:45
B
24
S
8
G
7
Posts: 756
Reputation: 7,202

Post » Mon Feb 11, 2013 12:57 am

@Ethan it looks nice! it looks like a tricky! i'm going to base this code if it works everything.


@vee41 Awesome! but it only destroys 3 blocks in vertical and horizontal, it doesn't even destroy blocks in chain way like snake.
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,646

Post » Mon Feb 11, 2013 6:47 am

[QUOTE=Joannesalfa]
@vee41 Awesome! but it only destroys 3 blocks in vertical and horizontal, it doesn't even destroy blocks in chain way like snake.[/QUOTE]

You could replace the 'For each 3 continuous symbols' with 'for each 2d template pattern', in which you define correct patterns. But I didn't realize it was this sort of mechanic you were looking for so Rojohounds solution is more efficient in this case!
B
24
S
8
G
7
Posts: 756
Reputation: 7,202

Post » Mon Feb 11, 2013 6:52 am

@vee41 thanks a lot for your useful solution. :)Joannesalfa2013-02-11 06:53:01
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,646

Post » Mon Feb 11, 2013 11:04 am

If the plugins you find don't quite do what you want them to do, you should be able to make it work using the event system. I read about Functions in Construct 2 today and that they could be used recursively (which means that the Function can call itself) and thought that your particular problem would be a good exercise to work with it.

Here is a capx that matches adjacent tiles of the same colour. Any tile to the left, right, top, or bottom is considered adjacent. I think this is the behaviour you're looking for, although this is not necessarily the best way to implement it. I was just having some fun, and wanted to show you that what you want to do is possible.

https://dl.dropbox.com/u/117529592/Construct%202/Forum%20questions/MatcherPuzzleDemo.capx

Left click to match, Right click to change colours. Enjoy!
B
6
Posts: 26
Reputation: 577

Post » Tue Feb 12, 2013 1:44 am

@Cowdozer amazing example, i hope this thread would help to anyone is looking solution to make puzzle games like that :)
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,646

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 14 guests