Updating an app without submitting a new apk

Yes!

Right now, one part of my game has 13 different types of puzzle, each puzzle has between 20 and 60 variations.

I’ve put all the assets for each puzzle in it’s own folder, graphics and text files with data that tells the puzzle module what to do.

The module for each puzzle is in the resource directory obviously.

I would like to expand my existing puzzles and make more variations of each one after the game is in the stores.

The way I would imagine doing this is moving the assets folders to the documents directory.

In my main.lua check for an internet connection, download (an asset) text file, save it to a puzzle folder (now in docs directory).

Are you saying I can add more puzzles? Because that’s what I want to do.

Can you explain or show me about decoding a json file into a lua table table and how you would go about processing that lua table to generate a level please Rob. I can’t think of a way of doing that.

What is your text file now? You don’t need json if you already have a defined format for defining the level.

Hi Rob

Just simple text files that contain coordinates for positioning graphics, number of puzzles etc, this what one typically looks like…

052056057058060061068069070071074075077086089091093100102104105107108109116117118119120123135137138139140141148149150151153157164167169170171172173181182183185187196197199200201203204205
205
52
164
60
4
1
1

That text file creates a maze, places treasure in the maze and sets the starting position and exit.

I just read them in using string sub and so on.

I have text files for paths that enemies take, text files for solutions to puzzles and so on.

I can easily add more puzzles for some of them by just making a text file like the one above but some puzzles will need different graphics to go with the text files, like the walls in a marble game for example, although thinking about it now I could do that with only a text file too.

It sounds like you’re doing what you need to do.  None of the suggestions about using JSON will really help you.

Rob

Thanks Rob.

Hi,

It sounds like you have a web backend already, but something like Coronium (now a CoronaLabs project) can handle what you’re asking in a very simple way. The additional ability to use Cloud Lua can also present ways to change your app logic without resubmitting. This is of course based on your app structure/architecture and reliance on network connectivity.

http://coronium.io

Cheers,

Chris

So Coronium is joining Coronalabs… was this announced already?

That is excellent news! 

I see that Coronium has it announced on their website, I would really like to know if this is going to be available any time soon because I was thinking of implementing these features into my now finished game.

Well we can’t give any dates. We are very happy to have @develephant on board. His Coronium project is very well done. I’m not sure how much we can reveal at the moment. @develphant can speak to his task list on this.

But this will be awesome!

Rob

Thanks for the vote of confidence! :slight_smile:

We are working very quickly to release the next version. The current version will stay available until that time if you are looking for an immediate solution.

Stay tuned.

Cheers,

Chris

Just when I think Corona couldn’t get any more awesome, this comes along!!!

I’m willing to hold off releasing my game for this, if it’s weeks and not months that is.

Hi QuizMaster,

I wish I could tell you more, but it will be announced through the official channels soon. :slight_smile:

Cheers,

Chris

I agree with Rob that Coronium project is so user friendly and well done that I often have wondered why coronalabs didn’t pick it up.

It is great news that it is now officially supported. Congrats to all of us :slight_smile: