Hi
I am lua programmer who used c*a sdk for couple of years,
I am in the process of switching over to Gideros(Means I am learning the apis).
I save json tables in c* sdk using json.decode and json.encode (typical lua api).
and you define the path by doing:
local path = system.pat*****( "data.txt", system.Do****** )
local fhd = io.open( path )
then laster you just encode that as a json table.
A.how is that translate in Gideros?
B.what is the equivalent to "system.D***********" ?
Through this switch over which should not be that difficult at all.
You probably see me asking lots of things here and there:)
Thanks in advance
www.zoolax.com
Comments
you use it in the same way as you do in C*SDK
as for the question of system.xxDirectory, you prefix the files with a
|R| for resource
|T| for temporary
|D| for Documents
so the file name would be "|D|data.txt" for documents directory
there are plenty of sources for learning to use Gideros. You can follow my blogs on http://howto.oz-apps.com which has a couple of articles on using gideros, then there is http://appcodingeasy.com/ that has quite a lot of sample code and you can also have a look at my book Learn Lua for iOS Game Development link in the signature for more details.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
I know about your blog since the day I started learning lua ,and c*sdk.
I have even got your book,right away when it was still just a pdf .
It is very well written for a beginner to understand.
That is actually is the main source for me in learning Gideros,
I am somehow comfortable with lua,and still learning.
Gideros apis seems easy enough to understand.
Your performance speed comparison in your blog is the main reason I want to switch to Gideros Mobile:)
c*sdk is not bad,but Gideros speed on android speek for itself.
I hope to see you around more:)
Thanks for your response.
Likes: OZApps
http://appcodingeasy.com/Gideros-Mobile/Save-and-load-data-module-for-Gideros-Mobile
Maybe it would come in handy
Likes: e2000
I love your art, I hope I that I could use some of that (i.e collaborate)
in your signature, you might want to fix the link of your personal site, it reads as .ocm
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975
Likes: Nascode
Thanks,that will come handy:)
@OZApps
We might can work something out,if you like to have a chat about it my skype name is bdbros
@atilim
Thanks for extra info,and your hard work.