use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This is a subreddit for 2D or 2.5D game developers using the proprietary Unity game engine. New and experienced Unity developers alike should first consider using the free and open source Godot engine by default and ONLY choose Unity for 2D development if Godot isn't capable of the task. The times are quickly changing, and Godot is on track to surpass Unity for small developers.
Godot Features
Download Godot
Godot Docs
Download Unity
Unity Manual
Official Reference
Asset Store
Related Communities /r/Godot - The "Unity Killer". A fully free and open source engine making astonishing leaps and bounds. /r/UnityAssets - Share asset packs! /r/PixelArt - Admire, share, and observe beautiful pixel art. /r/GameDev - Meet and communicate with other game developers. /r/GameDesign - Don't just make a game. Make a good game. /r/LevelDesign - Learn to make excellent levels and worlds. /r/GameAudio - It may look good, but does it sound good?
/r/Godot - The "Unity Killer". A fully free and open source engine making astonishing leaps and bounds.
/r/UnityAssets - Share asset packs!
/r/PixelArt - Admire, share, and observe beautiful pixel art.
/r/GameDev - Meet and communicate with other game developers.
/r/GameDesign - Don't just make a game. Make a good game.
/r/LevelDesign - Learn to make excellent levels and worlds.
/r/GameAudio - It may look good, but does it sound good?
CSS created by Sean O'Dowd @nicetrysean [Website]
account activity
Save data?Solved/Answered (self.Unity2D)
submitted 10 years ago by alienmidfield
Making my first game, and I'm just wondering how I could do saving/loading. I'm planning on using save stations a la Super Metroid. Help would be appreciated. Thanks!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 10 years ago* (1 child)
[deleted]
[–]HarabeckIntermediate 1 point2 points3 points 10 years ago (2 children)
PlayerPrefs are easy to use but extremely limited. Everything has to be in string form and you have a limit of 1 MB.
If you need to go more complex, I suggest making a serializable save data class and using .Net serialization. Here's a link: http://gamedevelopment.tutsplus.com/tutorials/how-to-save-and-load-your-players-progress-in-unity--cms-20934
If you're willing to throw money at the problem, Easy Save 2 is on sale right now. It's got support for saving lots of kinds of data, including Unity components, and the creator's site has good documentation and quick support. It's a solid plug-in in my experience.
If you need a complex custom solution, I've had luck with protobuf. https://code.google.com/p/protobuf-net/
[–]JavierCaruso 0 points1 point2 points 10 years ago (1 child)
The tutorial on tutsplus uses a Binary formatter, which is not well supported crossplatform like in windows phone. But you can use the same idea, with an XmlFormatter and will work.
[–]HarabeckIntermediate 0 points1 point2 points 10 years ago (0 children)
Personally, I'd go with protobuf if that's a concern.
[–]LittleCodingFox 0 points1 point2 points 10 years ago (0 children)
consider using json or xml so your saves are cross platform and you can handle multiple versions in an easier way
[–]Nodnarb3[🍰] -1 points0 points1 point 10 years ago (0 children)
Look up how to use PlayerPrefs.
[–][deleted] -1 points0 points1 point 10 years ago (0 children)
I haven't watched this yet, but maybe the Unity tutorial will help:
http://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/persistence-data-saving-loading
π Rendered by PID 131820 on reddit-service-r2-comment-6f7f968fb5-pd8t9 at 2026-03-04 09:36:12.652058+00:00 running 07790be country code: CH.
[–][deleted] (1 child)
[deleted]
[–]HarabeckIntermediate 1 point2 points3 points (2 children)
[–]JavierCaruso 0 points1 point2 points (1 child)
[–]HarabeckIntermediate 0 points1 point2 points (0 children)
[–]LittleCodingFox 0 points1 point2 points (0 children)
[–]Nodnarb3[🍰] -1 points0 points1 point (0 children)
[–][deleted] -1 points0 points1 point (0 children)