How do I create a score layout or sprite with the buttons

Get help using Construct 2

Post » Mon Jun 02, 2014 3:47 pm

Check if is this you want
You do not have the required permissions to view the files attached to this post.
B
11
S
3
Posts: 39
Reputation: 814

Post » Mon Jun 02, 2014 3:56 pm

Another version.

This will award one star for a score of 5, 2 stars for a score of 10 & 3 stars for a score of 15 or more. Just hit "spacebar" to end the level.
You do not have the required permissions to view the files attached to this post.
B
46
S
23
G
7
Posts: 459
Reputation: 6,763

Post » Mon Jun 02, 2014 4:16 pm

Thanks guys both your file actually helped me :P :P

@joaoanhas file buttons are helpful

@Minor files stars are done in effective and easy way.

Thanks a lot. I am actually trying to understand it so that i could build this into bigger way. If i have any doubt i will post here

Saved my day!!! :D :D :D

Loads of thanx mates
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Mon Jun 02, 2014 4:33 pm

@joaoanhas What is the use of this action

Ques 1: System Set scoreMenu to 1

and also

Ques 2: I want to keep high score for every level. But not multiple high scores, just single hs for every level. How to do that. Thats score has to be there until it is changed.

Ques 3: common question, Lets say i create a game like this and released for mobile, where exactly my scores are saved. What backend saves these datas
Last edited by Madrasmadnes on Mon Jun 02, 2014 4:46 pm, edited 2 times in total.
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Mon Jun 02, 2014 4:38 pm

The variable scoreMenu is to disable the movement canon and don't allow to fire balls.

I don't understant second question.
B
11
S
3
Posts: 39
Reputation: 814

Post » Mon Jun 02, 2014 4:58 pm

Ques 2: I want to keep high score for every level. But not multiple high scores, just single HS for every level. How to do that. Thats score has to be there until it is beaten.

Ques 3: common question, Lets say i create a game like this and released for mobile, where exactly my scores are saved. Where these scores and High scores datas are stored.
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Mon Jun 02, 2014 5:04 pm

You need to create a global variable, this variable can be acessed in every layouts so you only need to update it.

Read something about Webstorage or save games

https://www.scirra.com/tutorials/266/webstorage-how-to-save-ingame-information

https://www.scirra.com/tutorials/526/how-to-make-savegames
B
11
S
3
Posts: 39
Reputation: 814

Post » Mon Jun 02, 2014 5:09 pm

Thanks a lot mate.... Appreciate it..... And also about the Webstorage basic tut.......it looks pretty simple......
Image
B
31
S
7
Posts: 197
Reputation: 2,497

Post » Tue Jun 03, 2014 3:11 pm

Here is your Score layout and all ENJOY
You do not have the required permissions to view the files attached to this post.
B
249
S
39
G
15
Posts: 1,953
Reputation: 40,598

Post » Tue Jun 03, 2014 3:59 pm

Thanks Ji.
Image
B
31
S
7
Posts: 197
Reputation: 2,497

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: Exabot [Bot], Lancifer, nahima and 11 guests