Highscore System (Two Player Game)

Get help using Construct 2

Post » Fri Dec 13, 2013 1:41 pm

I'm on progress making Highscore System in my game by following ArcadeEd Webstorage and Array. But I got some difficulties when adding the Second Player on game.

Since there're two players in one stage, I must create two different txtScore. The question is :
1. How Do I configure events to get the Highscores works fine from two different txtScore?
2. Can I add Player's name below the txtScore by adding Expression &newline&PlayerName?

here's the link to ArcadeEd Tutorial :
https://www.scirra.com/tutorials/581/top-10-high-score-with-webstorage-and-arrays

here's the screenshot to help understanding what I'm workin on :
http://img600.imageshack.us/img600/6305/ie5t.jpg

I don't know what should I do, can somebody give me some clues?Dzaky Alkaff2013-12-13 13:49:14
B
11
S
2
G
2
Posts: 62
Reputation: 2,153

Post » Fri Dec 13, 2013 11:58 pm

Rather than two different object types, you should rather make instances and use an instance variable to pick only the instance you want.

You can find more on the subject in the online video course we had made with Yann. (The lecture 1 deals with this subject amongst other things).

New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
284
S
109
G
91
Posts: 7,317
Reputation: 87,483

Post » Sat Dec 14, 2013 4:18 pm

Still confusing, can u give me example with .capx file?.
Have u ever read the ArcadeEd's tutorial about highscoring?.
I wonder how to creates player's name?
B
11
S
2
G
2
Posts: 62
Reputation: 2,153


Return to How do I....?

Who is online

Users browsing this forum: wizdigitech, Zamargo and 14 guests