A grid game

Get help using Construct 2

Post » Sat Nov 23, 2013 10:15 am

Hello! I am new here, so I don't know if a topic like this has been discussed before:

I have a university project where I'm making an android game application. The game is based on a traditional Malay game called "Galah Panjang".

It's basically a game where a team of defenders have to go through a large grid on vacant ground while avoiding a team of attackers.(You can Google for more information of the game).

I'm also new to construct 2. I was wondering if it's possible to make this kind of game using construct 2 - such as gaining points by entering each box and moving the playable characters by touching the player's character rather than button inputs??

B
6
Posts: 35
Reputation: 375

Post » Sat Nov 23, 2013 10:33 am

[QUOTE=PaletteRider]I was wondering if it's possible to make this kind of game using construct 2 - such as gaining points by entering each box and moving the playable characters by touching the player's character rather than button inputs??
[/QUOTE]

this is indeed possible to make with C2. Your players can be moved withput buttons. Here's an example of multiple touch inputs I made once Multiple Touch Inputs
And this would be the appropriate thread to that where I provide a capx.
Thread

And to raise someones points by entering a box is like the most easy thing to do on construct 2 :D
B
23
S
6
G
5
Posts: 132
Reputation: 4,487

Post » Sat Nov 23, 2013 12:41 pm

Thank you @philx! I see what I can do! Anything else I need to know??PaletteRider2013-11-23 12:41:34
B
6
Posts: 35
Reputation: 375

Post » Fri Nov 29, 2013 7:26 pm

Any tutorials or forums that can help with the scoring points by entering a box??
B
6
Posts: 35
Reputation: 375

Post » Fri Nov 29, 2013 11:25 pm

You could have points added to a score when the player overlaps another sprite. What you would want to do is create a text object and call it "ScoreText" and also create a new sprite. You might want to go to the sprite's properties and set the sprite initial visibility to "invisible". Once you have done that, add the events shown in the linked image.

https://www.dropbox.com/s/ia7ttvijas63ybp/scoring.png

Add global variable > Name: scoring, Type: Number, Initial value: 0

Conditions:
Player > Is overlapping Sprite
System > Trigger once while true
Actions:
System > Add to Variable "scoring", Value 1 (or however many points)
Score > Set text > Text: scoring

Every time the player overlaps the sprite, points are added to the score. If you only want the points to be added once per game, add an action to the above event that destroys the sprite.

Hope that helps.Boony2013-11-29 23:40:06
B
14
S
3
G
1
Posts: 87
Reputation: 1,108

Post » Sun Dec 01, 2013 2:13 pm

Thank you so much, Boony!
B
6
Posts: 35
Reputation: 375

Post » Sun Dec 08, 2013 4:54 am

My progress so far:

dropbox.com/s/4wb280i50dyyk8x/Galah%20Panjang.capx

So far, I just tested with one character sprite; I got the hang of Construct 2. But how to simplify the event sheets (if can) and how to make the level transitions more smoothly?
B
6
Posts: 35
Reputation: 375


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests