playMaker

Author Topic: [SOLVED]How to save scores in a database  (Read 3506 times)

MrMitch

  • Full Member
  • ***
  • Posts: 131
    • Rage Quit Games - Coming Soon
[SOLVED]How to save scores in a database
« 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?
« Last Edit: July 25, 2012, 03:23:17 PM by MrMitch »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: How to save scores in a database
« Reply #1 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/

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
that second option is all working, but no playmaker actions yet.


bye,

 Jean

MrMitch

  • Full Member
  • ***
  • Posts: 131
    • Rage Quit Games - Coming Soon
Re: How to save scores in a database
« Reply #2 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?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: How to save scores in a database
« Reply #3 on: July 17, 2012, 10:54:37 AM »
Hi,
 
Yes, you'll need uniweb to use uniparse.

bye,

 Jean

MrMitch

  • Full Member
  • ***
  • Posts: 131
    • Rage Quit Games - Coming Soon
Re: How to save scores in a database
« Reply #4 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?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: How to save scores in a database
« Reply #5 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