How do I modify this (capx attached)

Get help using Construct 2

Post » Sun Sep 07, 2014 8:28 am

Hi all,

I have created the level select with stars file with the help of this tutorial
http://www.youtube.com/watch?v=JJWWw9UMIs0

Now i need to add some details to it. I am trying on my own but couldn't do it easily. So if I could get your help that would be awesome.

I have two questions
1. I need to have a "total stars collected so far" value in the levels page with no repeat
2. Big doubt - In my game I have a simple points system. If player wins the game with just one arrow, he will receive 3 stars, If player wins the game with greater than 2 arrows and less than 5 arrows he will receive 2 stars and so on.


How to do these. Capx attached. If you could work on the capx, million thanks.

Thanks a lot in advance
You do not have the required permissions to view the files attached to this post.
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Mon Sep 08, 2014 3:03 am

I see downloaded 6 times. Somebody is trying to help I guess.
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Mon Sep 08, 2014 4:48 am

Here you go, i added a container btw.

if you have any questions please feel free to ask me ;)

Test.capx
You do not have the required permissions to view the files attached to this post.
B
22
S
6
Posts: 244
Reputation: 2,690

Post » Mon Sep 08, 2014 5:29 am

Ah I see. This is what containers do....THankx @Wisdoms. What about the second question the one with the stars..

And also how can i add all the container values (star counts), which has to be displayed in the corner of the layout. Because I don't even needed them to be visible on each of the level btn, coz stars are already there. I just need to calculate everything and show the total number of stars gained in the corner.
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Mon Sep 08, 2014 6:28 am

I don't really understand the second question, but here's the capx:

Test.capx


you can pretty much exploit stars, i haven't figured out yet how to avoid that..
You do not have the required permissions to view the files attached to this post.
B
22
S
6
Posts: 244
Reputation: 2,690

Post » Mon Sep 08, 2014 6:44 am

Thanks @Wisdoms But there is a small issue:

When I completed my level 1 with one star, it says Stars collected 1. If I play again the same level and complete with 3 stars it should not add that into the 1 already collected. It should just say 3 stars collected. (Forgot about the no of stars shown over the button, Just one total around the corner).

About the second questions.
Here the stars are gained when we click it, but in my test game which I am trying, Player gain stars if my player uses less arrows to complete the level.

Even if you want to change the whole array system, doesn't matter. I focusing to use level unlock and star counts calculated.
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Mon Sep 08, 2014 6:55 am

You can do it with variables, it's something like this: Arrows > 2 Add 2 to Stars

I'm sorry i can't help you further, i'm just a beginner too, you'll have to wait until someone more proffesional helps you :)
B
22
S
6
Posts: 244
Reputation: 2,690

Post » Mon Sep 08, 2014 8:01 am

thanks anyways @Wisdoms.

Anybody guys
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Tue Sep 09, 2014 11:11 am

Anybody else guys
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Tue Sep 09, 2014 1:28 pm

I think this should answer your question 2.
I've made modifications mostly in the level layout (that I renamed so that it makes more sense).

See the attached capx made in r179 (link to r179 at the bottom of the page).

I hope this helps, otherwise try to explain what you are after in a more detailed way.
You do not have the required permissions to view the files attached to this post.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
291
S
114
G
95
Posts: 7,293
Reputation: 70,144

Next

Return to How do I....?

Who is online

Users browsing this forum: ST314, ultrafop, Yahoo [Bot] and 30 guests