Jump to content

local database storage?


Dower
 Share

Recommended Posts

Hello everyone,

 

I had an idea for a tool to create game data, like sprites or tiles. I'm going to attempt it in HTML5 and shoot for mobile devices. But I anted to get your thoughts on storage of this data? Since I would be dealing with potentially lots of small images as well as table like data... I suppose the game data can easily be stored as text via json, but should I even consider storing the images a base64 data, instead of binary? Then ultimately, what about storage locally on the device, like combining all the data into something like a a game save file (for transport later)? 

 

I know that indexedDB is not supported on IOS/Safari (so says caniuse.com) ... The one thought I did have was maybe wrapping this idea within PhoneGap and using a wrapper for Sqlite...

 

Let me know your thoughts,

Thanks,

Dower 

 

Link to comment
Share on other sites

Hey Xerver,

 

Thanks for the sugggestion. That looks pretty interesting. I've been wondering if there were ways to compress local data. 

I was thinking about trying to use Phonegap to communicate with a Sqlite database, but I'm having a hard time getting that to work on the Windows side... I want to see if i can target the Windows side first, since my environment is setup for Windows development...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...