[PLUGIN] Star Rating

Post your completed addons to share with the community

Post » Mon Feb 16, 2015 12:34 pm

If you like the PLUGIN , a little help is always welcome! Donate

Download Link : https://www.dropbox.com/sh/kqe0jhhook4at33/AACQHf5TZIRVuNas7wwenQoVa?dl=0
Other HMMG Plugins : https://www.dropbox.com/sh/eyld20nrw3ersuy/AABNz84T_KdQGoYjHFsj2Y-8a?dl=0

Online Demo : http://mouadhhsoumi.com/c2/plugins/StarRating/
Capx Demo : http://mouadhhsoumi.com/c2/plugins/StarRating/starRating.capx

Hey guys here is my new Plugin , which is a star rating system

How to install :
Copy/Paste the Folder in the zip file to your plugin's directory
Close and re-open Construct 2 if it's opened


How to Use and Preview
Preview : http://img11.hostingpics.net/pics/866646previewStar.png

************** Properties **************

Score : Set score (float)
Stars number : Set number of stars
MAX Stars number : Set max number of stars .If stars number is 100 and Max stars number is 100 , you will only see 5 stars
Stars Hint : Text to show when mouse over Each Star , each hint separeted by colon :

Cancel Button : Select True to allow user's to cancel the current score , Default is False
Cancel Alignement : Changes the cancel button alignement to the left or right side , Default is Left
Cancel Hint : Text to show when mouse over cancel Button

Stars Off : Change the off Stars icon , let it empty for Default icon Ex : "newStarsOffIcon.png" add picture to your Project
Stars On : Change the on Stars icon , let it empty for Default icon
Stars Half : Change the Half Star icon , let it empty for Default icon
Cancel Not-Clicked Icon : Change the Not-Clicked Cancel icon , let it empty for Default icon
Cancel Clicked Icon : Change the Clicked Cancel icon , let it empty for Default icon

ID : Stars Oject ID
Half Show : True : If score's decimal is between x.26 and x.75 a half Star will be shown . else if False : score's decimal < x.6 the star will be rounded down and if score's decimal >= x.6 the star will be rounded up , Default False
ReadOnly : Select True to allow user's interaction , Default False
Target ID : Some place to display the hints or the cancelHint
Target Type : Score : set Target Text to Score , Hint set Target Text to Hint , Default Score
Target Keep : Keep text in target even mouse is not over stars , Default
Show Space : False to remove space between stars , Default True
Single : Set True so you can turn on just the mouseovered star instead all from the first until that one , Default False|True


************** Conditions **************

On clicked : Triggered when any star is clicked
is ReadOnly : Return True if stars are ReadOnly



************** Actions **************

Set Score : Set Score
Set Stars Number : Set Stars Number to parameter value
Set ReadOnly : Set ReadOnly to parameter value



************** Expressions **************

Get Score : Return the Score




If you like the PLUGIN , a little help is always welcome! Donate
If any one have a probleme with the PLUGIN email me "[email protected]" , i will reply at max 5 - 6 hours
Last edited by hmmg on Thu Jan 14, 2016 9:30 am, edited 3 times in total.
B
28
S
9
G
9
Posts: 294
Reputation: 7,064

Post » Wed Feb 18, 2015 10:09 pm

Any chance for a demo?
B
73
S
10
G
6
Posts: 105
Reputation: 7,577

Post » Thu Feb 19, 2015 12:15 am

Check the post i added an Online Demo + Downloadable Capx
B
28
S
9
G
9
Posts: 294
Reputation: 7,064

Post » Thu Feb 19, 2015 5:45 am

Thanks. That's pretty awesome! =]
B
73
S
10
G
6
Posts: 105
Reputation: 7,577

Post » Thu Feb 19, 2015 11:21 am

You are welcome
B
28
S
9
G
9
Posts: 294
Reputation: 7,064

Post » Thu Feb 26, 2015 2:24 am

does this sync with googleplay store?
Krish
Hey! Did you know that you can hire me to make your games?

Click Here to See More
B
21
S
6
G
5
Posts: 391
Reputation: 5,662

Post » Thu Feb 26, 2015 9:29 am

What do you mean by sync with googleplay Store ??
if you mean Loading High Scores and Submitting Scores , you can do it like this :

Image
B
28
S
9
G
9
Posts: 294
Reputation: 7,064

Post » Wed Jan 13, 2016 1:48 pm

Please give new url on capx demo
B
15
S
2
Posts: 7
Reputation: 733

Post » Wed Jan 13, 2016 5:42 pm

Give me 2-3 hours , i changed my domain to .com and i still did not upload merge my old and new server. Sorry for that
B
28
S
9
G
9
Posts: 294
Reputation: 7,064

Post » Thu Jan 14, 2016 9:31 am

Hey check the new links
B
28
S
9
G
9
Posts: 294
Reputation: 7,064

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest