00:00
00:00
Fireshadows
Daytime: Workaholic, Spare time: Workaholic Aspiring game developer, returning to NG to share his ( possibly ) enjoyable creations.

Age 27, Male

All in my interest

Uppsala University

Sweden

Joined on 10/20/10

Level:
6
Exp Points:
312 / 400
Exp Rank:
> 100,000
Vote Power:
4.62 votes
Rank:
Civilian
Global Rank:
> 100,000
Blams:
0
Saves:
10
B/P Bonus:
0%
Whistle:
Normal
Medals:
1,215

Saving time, worth every dime

Posted by Fireshadows - May 25th, 2016


Been working alot on this game i'm currently making. I'd call it a sequel my previous game, but it feels like... a rewamp. A lot of new features will be added and I have to read on so many things before i know how to add them.

 Lately I've had a hard time figuring out save methods. My immediate thought would be to use the save feature which the Newgrounds API provides with. I spent a real lot of my time trying to figure out how the save feature works... and personally, it was a bunch of bs. Compared to other save mehods, the NGs save feature needs a LOT of code in order to implement it and even then the save feature could be unstable if the game was hosted on another website. What a shame.

 Instead of the NG save feature, decided to simply use the SharedObject method. The game will save locally on the computer, like any other game. However, I still hated the idea of restarting a game when playing from a new computer. I found out that I could learn to have the game being able to export and import files. Today I just learned that and even implemented it.

 That was so much quicker than using the NG API save feature, and I now feel so relieved that I just had to write a post about it. I just summarized a half weeks process (80% of it reading and trying to understand and implement the NG saving feature...).

All is well, no more to tell. Rescued my game from development hell.


Comments

Comments ain't a thing here.