Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: MrMitch on July 16, 2012, 07:11:45 PM

Title: [SOLVED]How to save scores in a database
Post by: MrMitch on July 16, 2012, 07:11:45 PM
I am trying to figure out how to save scores online, i have managed to learn to save to playerprefs.

From the research i've done it requires MySQL, i have set up a db on my server to save the scores to but i'm not sure how to proceed from here.

I've had a look through the some of the examples and docs but its mostly aimed towards creating games where players can interact and can't seem to find anything talking about how to save scores.

Any advice?
Title: Re: How to save scores in a database
Post by: jeanfabre on July 17, 2012, 08:01:39 AM
hi,

for this, you have several options,

1: you create your own database back end and you simply call it via a http interface ( made with php for example)

2: you work with something utterly cool like https://www.parse.com/ (https://www.parse.com/)

If option two is of interest ( check the prices first), come back to me, I have a working system still in alpha that works with playmaker, so let me know.
But you have also
http://u3d.as/content/different-methods/uni-parse/2Gq (http://u3d.as/content/different-methods/uni-parse/2Gq)
that second option is all working, but no playmaker actions yet.


bye,

 Jean
Title: Re: How to save scores in a database
Post by: MrMitch on July 17, 2012, 09:07:14 AM
Hi

I've checked out parse and they offer a basic package that is free, so i think i'll give parse a try.

Although i am curious to try making my own back end but i'll start with parse and see where i get :)

Is UniWeb required to use parse?
Title: Re: How to save scores in a database
Post by: jeanfabre on July 17, 2012, 10:54:37 AM
Hi,
 
Yes, you'll need uniweb to use uniparse.

bye,

 Jean
Title: Re: How to save scores in a database
Post by: MrMitch on July 17, 2012, 12:03:30 PM
Hi

Ok in that case i'll have to do things by myself, anything you can point me at to help get me started?
Title: Re: How to save scores in a database
Post by: jeanfabre on July 18, 2012, 02:42:01 AM
Hi,

 Do you still want to go for parse or do you want a custom solution? Pm me, I have an alpha version for parse that doesn't require uniweb and uniparse.

bye,

 Jean