An easier Scoring system

New releases and general discussions.

Post » Tue Nov 02, 2010 2:24 pm

I think it can be done with a plugin already but a scoring system which you do not have to create any event's for it.Almost like the oldskool KnP scoring system.And the same goes for lives and counters.
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Wed Nov 03, 2010 5:50 pm

I think it's simple enough as is.

[u:3m8kdybw]For score:[/u:3m8kdybw]
add a text object
add a global variable and call it "score"
create this event:
[code:3m8kdybw]+ System: Always (every tick)
-> Text: Set text to global('score')[/code:3m8kdybw]

[u:3m8kdybw]For lives:[/u:3m8kdybw]
add a tiled backdrop object and draw a 32x32 picture.
resize to 32x32 after editing so you see only one image.
add a global variable "lives"
create this event:
[code:3m8kdybw]+ System: Always (every tick)
-> TiledBackground: Set width to global('lives')*32[/code:3m8kdybw]


All the features of the KNP counter object are easily replicated with a variable and either a text object or tiled background object.
B
79
S
24
G
54
Posts: 4,738
Reputation: 40,739

Post » Wed Nov 03, 2010 7:28 pm

mm you mean the highscore table? There's example somewhere I think, not sure though and it's pretty simple already to do with events anyway like R0J0 said, and you can always use GameJolt API :P
B
11
S
3
G
4
Posts: 622
Reputation: 3,186

Post » Wed Nov 03, 2010 7:38 pm

Yes i know it's pretty simple already.but doing it like that would make it easier.I got the sdk of CS and im going to have a go at creating such a plugin. :wink:
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Wed Nov 03, 2010 8:49 pm

I'm all for having more, and more plugs, but that really is uber simple.
Unless your going to do something like make it skinable, or use a sprite font.
Still I guess if your just starting out, that would be good for experience.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Wed Nov 03, 2010 9:17 pm

[quote="newt":3tm129x0]I'm all for having more, and more plugs, but that really is uber simple.
Unless your going to do something like make it skinable, or use a sprite font.
Still I guess if your just starting out, that would be good for experience.[/quote:3tm129x0]

That's what i want to do,I want to create a scoring plugin with a feature where you could actually change the font and texture.Im not new when it comes to C++ and C# but im still quite new when it comes to creating plugins for CS.Hopefully i can create something decent lol.
B
22
S
3
G
6
Posts: 1,356
Reputation: 7,141

Post » Sun Nov 07, 2010 5:09 pm

I would like to see the ability to use bitmaps for the numbers in the score like in MMF.
B
2
G
5
Posts: 14
Reputation: 1,278

Post » Fri Nov 19, 2010 4:02 pm

Use the plugin SriteFont [url:3chj668p]http://www.scirra.com/forum/viewtopic.php?f=33&t=4078[/url:3chj668p]
B
15
S
1
G
3
Posts: 12
Reputation: 1,641


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 7 guests