google / mechahamster

Mecha Hamster is a game where you roll through customizable environments that you can share with your friends.
https://google.github.io/mechahamster/
Apache License 2.0
501 stars 199 forks source link

Game Save Firebase ! #2

Open JoseRFJuniorLLMs opened 6 years ago

JoseRFJuniorLLMs commented 6 years ago

I'm doing a 2d platform game at Unity 2017, and I'd like to know if it's possible to save the punctuation lines etc ... in the Firebase and if you have some example for me to study! Forced!

stewartmiles commented 6 years ago

@DevJoseWeb I'm not sure I entirely follow your question. Are you asking to be able to save game state in the Firebase Realtime Database or Firebase Storage? If so, yes of course you can store whatever data you want in there. For an example of saving data in the Database see this sample project search for FirebaseDatabase to see where we're doing this. If you want to see very simple examples check out...

Leaderboard example https://github.com/firebase/quickstart-unity/tree/master/database/testapp

File storage example https://github.com/firebase/quickstart-unity/tree/master/storage/testapp

stewartmiles commented 6 years ago

@DevJoseWeb did the database and storage examples solve your problem?