Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Word Game, How Can We Load A 5MB Dictionary Text File?

Author
Message
JeZxLee
7
Years of Service
User Offline
Joined: 15th Mar 2017
Location: Long Island, New York, United States, Earth
Posted: 24th Dec 2017 18:09
Hi,

Leaning towards an Android version of our word game "LettersFall".
Only issue is loading the 5MB English dictionary file?
Can someone suggest a viable method to do the above which would work on Android?
Let us know, thanks...
(I'm resting til Jan 3rd)
JeZxLee
16BitSoft
Video Game Design Studio
http://www.16BitSoft.com
Open-Source AppGameKit Project!
puzzler2018
User Banned
Posted: 24th Dec 2017 18:19
Pehaps in a 2 D array

words [ 26, 1000]

words [ 1. 1-1000] - all words starting with A
words [ 2. 1-1000] - all words starting with B
words [ 3. 1-1000] - all words starting with C
words [ 4. 1-1000] - all words starting with D
words [ 5. 1-1000] - all words starting with E

just so that it becomes faster when doing a search during the game

my thoughts anyway
JeZxLee
7
Years of Service
User Offline
Joined: 15th Mar 2017
Location: Long Island, New York, United States, Earth
Posted: 24th Dec 2017 18:53
Hi,

Thanks for the reply...
Are there any size limitations for a single "agc" file?
The entire dictionary is about 5MB.
Target platform is Android (we have an HTML5 version already: www.LettersFall.com)
Thanks!
JeZxLee
16BitSoft
Video Game Design Studio
http://www.16BitSoft.com
Open-Source AppGameKit Project!
puzzler2018
User Banned
Posted: 24th Dec 2017 19:06 Edited at: 24th Dec 2017 19:07
from what ive seen, I think google play allows 100mb per game or is it 50mb , unsure. but yes - other guys might be able to confirm this though

The agc file doesnt go with the APK file, its the bytecode and media contents

You will be fine with a 5MB file.

I would encrypt a text document though
JeZxLee
7
Years of Service
User Offline
Joined: 15th Mar 2017
Location: Long Island, New York, United States, Earth
Posted: 24th Dec 2017 19:50
Ok, thanks... Going to play some Doom4 now and will start dev on Jan. 3rd
Happy Holidays
JeZxLee
16BitSoft
Video Game Design Studio
http://www.16BitSoft.com
Open-Source AppGameKit Project!

Login to post a reply

Server time is: 2024-04-25 10:14:30
Your offset time is: 2024-04-25 10:14:30