00:00
00:00
Newgrounds Background Image Theme

Someone gifted MetalSlayer69 supporter status!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!
Response to: Unity3d WebGL Support Posted April 9th, 2020 in Game Development

At 2/22/20 11:57 AM, 3p0ch wrote:
At 6/3/19 04:55 AM, Junjo wrote: If I am not wrong, every time I update the zip file of a HTML5 game, it seems that NG creates a new folder for it. This changes the reference of the data saved on the IndexDB, so the GAME PROGRESS IS LOST for all players (I think this applies to PlayerPrefs too).

How do you deal with this problem, guys?
If you're using PlayerPrefs, it unfortunately loses everyone's save data when you post an update to your game.

I came up with a solution to the problem, [...]


So, the sort answer is that it is the PlayerPrefs implementation witch depends on the url, but not the whole idb thing... so I should stop using playerprefs and write directly to a fixed path of the idb instead.

Thank you! I will give it a try.

Response to: Unity3d WebGL Support Posted June 18th, 2019 in Game Development

I didn't found a way to make it work as is.

So finally I implemented an online-save system with an external server, using the newgrounds user-id to authenticate. The game saves a backup of the game-data in the server regularly, and if it founds that there is no local data at start-up, it downloads it from the server.

Response to: Unity3d WebGL Support Posted June 3rd, 2019 in Game Development

Hi all.

If I am not wrong, every time I update the zip file of a HTML5 game, it seems that NG creates a new folder for it. This changes the reference of the data saved on the IndexDB, so the GAME PROGRESS IS LOST for all players (I think this applies to PlayerPrefs too).


How do you deal with this problem, guys?

Response to: Newgrounds Api With Haxe Posted March 1st, 2014 in Game Development

The code is almost the same, yes.
As you suggested, I'll put some traces and upload it to an external hosting to see what happens.
Thanks for your help.

Response to: Newgrounds Api With Haxe Posted February 26th, 2014 in Game Development

At 2/22/14 07:49 PM, Sebby64 wrote:
At 2/20/14 10:02 AM, Junjo wrote: I'm using the api with haxe too, and what I see is that the ads are only shown then the game is played on newgrounds. When the game runs on other portals (many copied the game from here), no ads are shown...
do you know if this is normal, or i'm missing something?
Hm that's not a problem for me. Are you doing any sort of site lock where the ad doesn't get created unless it's on newgrounds?

Really not. In fact, the ads component is shown (the black box with the NG logo) but no ads loads.

Response to: Newgrounds Api With Haxe Posted February 20th, 2014 in Game Development

At 2/15/14 01:51 PM, Sebby64 wrote: This was a very simple problem. I forgot to enable Flash Ads in the API Tools section of the project manager.

hehe, that was an easy one.
I'm using the api with haxe too, and what I see is that the ads are only shown then the game is played on newgrounds. When the game runs on other portals (many copied the game from here), no ads are shown...
do you know if this is normal, or i'm missing something?