Hi!
I have an idea to develop games on my tablet (Acer a500 with Bluetooth keyboard) when I'm not at home.
I figured out that after running my game in Gideros player there is a folder gideros created on my sdcard.
It contains not compiled lua files that I can edit via DroidEdit (a nice Android text editor with lua highlighting).
But there is a problem: it's not possible to run edited code without Gideros studio and button "run".
Is it possible to make a button in Gideros player like "Run latest build" that take last sources from gideros folder and runs it?
It will be great feature developing on android phone/tablet. Thanks.
Comments
My apps: http://www.yummyyellow.com
- Edit Lua files directly via an editor (DroidEdit)
- Manage assets (graphics / sound)
- See latest projects
- See changed projects
- Run a project
- Download projects from internet and edit/run them
Yes it's possible to run edited code with the Player - we just need some changes there.
The pipeline is very full at the moment, due to Android plugins. But we're very interested with this idea. Thank you.
Your initial ideas are awesome and sounds like "all other engines killer"
Will be great to do run button in the Player first, think it's quite easy.
I will be hardly waiting..
Likes: chipster123
You're awesome. Now I can develop on my tablet.
Likes: chipster123, gorkem
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://sites.google.com/site/xraystudiogame
https://sites.google.com/site/xraystudiogame
I'm trying to figure out how to develop on my iPad (without jailbreaking) with the least amount of work. I think I could modify the Gideros player to load the lua file from a webserver, and since Dropbox can serve your files to the web, I think this is the best option. Edit file in a Dropbox compatible editor, it uploads to Dropbox's servers, you go to the player and it loads the file from a url. I'm hoping that works. When I get time (maybe this weekend) I'll look into it if someone else doesn't figure it out first.
And if you did this and submitted it to Apple's AppStore that would be breaking the terms of service and if it gets past review they will pull it the moment they realize what it is doing.
My apps: http://www.yummyyellow.com
Little tutorial for those who wants to develop on the Android tablet:
- copy all your original lua files, textures and fonts to sdcard/yourProject folder;
- edit path to textures and fonts to "/sdcard/yourProject/..."
- create new Gideros app with main.lua that contains loadfile functions that called in order to your compile order!
For example: in your game you have 3 lua files that compiled in such order: "file1.lua", "file2.lua", "main.lua". In your new Gideros app you need to write:
loadfile("/sdcard/yourProject/file1.lua")()
loadfile("/sdcard/yourProject/file2.lua")()
loadfile("/sdcard/yourProject/main.lua")()
Also don't forget to set your scaling options to new project.
Build this app with Eclipse and install on the tablet.
Now you can edit your lua files in sdcard/yourProject with DroidEdit and just run your new installed app.
Ta-da-m!
Likes: atilim
Also I can recommend to reimplement the functions like Texture.new, Font.new, etc...
I hard coded the path and it works, so this should be a lot of fun.
My apps: http://www.yummyyellow.com
You can use loadfile("|D|file.lua")
btw, is there a dropbox compatible editor for iOS?
Edit: After a search I found some
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 use both Textastic and Nebulous Notes (there is a free version with ads). Textastic has it's own text view with markup and stuff so that's really nice.
I've lost text in Nebulous Notes though when doing cut and pasting and undo. Text will just disappear (I've gone to the dropbox website to get my previous version to recover the text, so...). But I really like how Nebulous Notes always syncs your files (so I always know it's current). So for some things I'll use Nebulous Notes.
My apps: http://www.yummyyellow.com
Let me look at loadfile("|D|file.lua"). It should work, but I don't know why it doesn't.
So yeah, |D| works. And, in the documentation it seems that dofile is probably a better choice because it asserts that the file loaded correctly.
http://www.lua.org/pil/8.html
Likes: atilim
My apps: http://www.yummyyellow.com
Likes: tetnic
My apps: http://www.yummyyellow.com