playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Store Int Data
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Store Int Data (Read 1896 times)
kaelcabral
Playmaker Newbie
Posts: 25
Store Int Data
«
on:
November 12, 2013, 04:13:49 AM »
Hey All!
I have a game that you can spend coins to use powers "consumables"
The game is working fine with add and subtract Int on the globals.
But the problem when I restart the game, all the Int Data restarted too.
Could someone help me on this?
The idea is to have inn-app purchases for more coins too. I haven't bought Prime31 yet but I want to integrate the both.
Best to all!
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Store Int Data
«
Reply #1 on:
November 12, 2013, 05:23:59 AM »
Hi,
The quickest way is to use PlayerPrefs to save data in a persistent way, but that's not very secured. the best way is to use a server side database or something and link a user with it's properties such as coins and all.
Bye,
Jean
Logged
kaelcabral
Playmaker Newbie
Posts: 25
Re: Store Int Data
«
Reply #2 on:
November 12, 2013, 01:08:25 PM »
thanks Jean!
Can I save in a server with a free unity version?
I checked the plugin easysave2 do you recommend for this?
Best
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Store Int Data
«
Reply #3 on:
November 14, 2013, 12:26:24 AM »
Hi,
Yes, Unity indie gives you access to internet, so you can make call to your own server to store/retrieve data.
EasySave is good, and I have it as an addon to ArrayMaker, so it's quite performant and straight forward to use:
https://hutonggames.fogbugz.com/default.asp?W715
bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Store Int Data