- gdrbridge play mygame.gproj -> plays mygame.gproj (if gdrdeamon is connected to the player)
@Atilim, currently the .gproj file is an XML document is it possible that this be replaced by a config.lua file that sets the basic config using the application:xxxx() functions? THat way, it will be excuted by Gideros as it is a Lua file and creating a project will be easier and it will not require the .gproj file to be updated and this can still be used for Gideros Studio.
The rationale behind this suggestion is that if let's say I create a shortcut for build using Textmate (for example) I am still left with the task of creating the .gproj file manually in Textmate, so the cord would not be severed completely.
Though I must say that I have gotten used to the Gideros Studio editor that I cannot think of moving to Textmate for Gideros (though I tend to mix up and press the Esc key to auto-complete which hides all the choices )
I must say that I tried running the studio, etc... how silly had I just run gdrbridge as @Atilim suggested, I would have gotten the options... ">
Woohoo!! Confirmed running a project from the Terminal and it works... but also have a question, where is the output of the print statements? Do I have to pipe the output back to the terminal or am I missing something very simple?
Thanks for the new release! I wonder, why (for Windows version) the size of 2012.8.1 is 75MB, which is 23MB less than the size of 2012.2.2.2 (which is 98MB)? The changelog does not mention any removal, I wonder if I would miss anything?
@Michal Don't worry, if it's not mentioned in changelog than you are safe. What makes it have less size maybe because of only one xcode universal app template shipped instead of two version for iPad and iPhone.
@Michal Don't worry, if it's not mentioned in changelog than you are safe. What makes it have less size maybe because of only one xcode universal app template shipped instead of two version for iPad and iPhone.
Duh, Mac version of Gideros is 100++ mb
That is because the Mac version actually has most of the Windows libraries and binaries, so it is like twice the size for that reason.
Hi, I was testing iAds with the recent Gideros release, but cant place correctly the iAd in landscape position. In Portrait mode it show ok, but in landscape mode the banner is cropped and not rotated. Can someone check this?
Great job with Gideros ;-) (from a recent ex-Corona subscriber)
I've been trying it out, callling "gdrbridge play MyProject.gproj" from within my editor (vi), and that does seem to kick the project to the player.
However, to collect output, in another terminal window, I run "gdrbridge getlog" in a loop (with a one second delay between invocations, to avoid heavy polling).
After a few reloads, the "gdrbridge getlog" in the loop starts showing this:
* cannot connect to deamon ** daemon not running. starting it now on port 15001** deamon already running ** cannot connect to deamon ** daemon not running. starting it now on port 15001** deamon already running ** cannot connect to deamon ** daemon not running. starting it now on port 15001** deamon already running *
gdrdaemon process is running, and I can connect (via telnet) to port 15001. But gdrbridge seems wedged until I kill gdrdaemon and try again.
Anyone?
Also, I wonder if we could have an option to getlog (-f perhaps?) that continues to run, echoing any output from the player to stdout? (Similar to "tail", or the -f mode of "less".) It would avoid having to repeatedly call "gdrbridge getlog" to get the latest output. It would be great for simple terminal window viewing of the output, and could also be called with pipes via IDE's to collect the output.
Update: It seems the problem *may* have to do with gdrdaemon not allowing more than one connection to it at a given time (and the output polling "gdrbridge getlog" is interfering with the "gdrbridge play"?)
If gdrdaemon is running, and I open a connection to it ("telnet localhost 15001"), it will connect, but this will block all other gdrbridge invocations, it seems.
So if this is a limitation, then maybe we could have some alternative way to collect the output on the fly from the player (including while "gdrbridge play MyProject.proj" re-launches the project)?
I love this feature, and it's so close to being essential to me, but as it stands, it doesn't seem to work. :S
Hey everyone, quick question. I've noticed that the text input dialog only shows up in portrait mode, while the rest of my game is in landscape. Is there a way to have textInput in landscape?
Also, I would LOVE to be able to insert a text field anywhere on screen in order to create custom forms!
In window OS, just do following: 1. Set "C:\Program Files (x86)\Gideros\Tools" to PATH (That you can using gdrbridge command) 2. Open Gideros Player from Gideros Studio (Can I open Gideros Player from command line?) 3. Close Gideros Studio 4. Open CMD on your project path and type: gdrbridge play mygame.gproj
Comments
What am I doing wrong here.
open -a "gdrbridge" --args -isconnected
The rationale behind this suggestion is that if let's say I create a shortcut for build using Textmate (for example) I am still left with the task of creating the .gproj file manually in Textmate, so the cord would not be severed completely.
Though I must say that I have gotten used to the Gideros Studio editor that I cannot think of moving to Textmate for Gideros (though I tend to mix up and press the Esc key to auto-complete which hides all the choices )
But love that start, of separating the player...
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
Woohoo!! Confirmed running a project from the Terminal and it works... but also have a question, where is the output of the print statements? Do I have to pipe the output back to the terminal or am I missing something very simple?
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
Likes: Michal
Duh, Mac version of Gideros is 100++ mb
http://www.nightspade.com
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
Great job with Gideros ;-) (from a recent ex-Corona subscriber)
Enabling autorotation for iPhone (Right click project name > Properties... > iOS tab > Autorotation) will solve your problem.
If I enable the status bar (using Mike Hart's great UIKit), and use iAd.Banner.TOP, the banner is partially obscured by the status bar.
(Perhaps this isn't technically supported, but hopefully it would be an easy fix to place it below the status bar if it's visible.)
I've been trying it out, callling "gdrbridge play MyProject.gproj" from within my editor (vi), and that does seem to kick the project to the player.
However, to collect output, in another terminal window, I run "gdrbridge getlog" in a loop (with a one second delay between invocations, to avoid heavy polling).
After a few reloads, the "gdrbridge getlog" in the loop starts showing this:
Anyone?
Also, I wonder if we could have an option to getlog (-f perhaps?) that continues to run, echoing any output from the player to stdout? (Similar to "tail", or the -f mode of "less".) It would avoid having to repeatedly call "gdrbridge getlog" to get the latest output. It would be great for simple terminal window viewing of the output, and could also be called with pipes via IDE's to collect the output.
Update: It seems the problem *may* have to do with gdrdaemon not allowing more than one connection to it at a given time (and the output polling "gdrbridge getlog" is interfering with the "gdrbridge play"?)
If gdrdaemon is running, and I open a connection to it ("telnet localhost 15001"), it will connect, but this will block all other gdrbridge invocations, it seems.
So if this is a limitation, then maybe we could have some alternative way to collect the output on the fly from the player (including while "gdrbridge play MyProject.proj" re-launches the project)?
I love this feature, and it's so close to being essential to me, but as it stands, it doesn't seem to work. :S
-d
-d
Also, I would LOVE to be able to insert a text field anywhere on screen in order to create custom forms!
Thanks!
@OZApps I was thinking about config.lua previously but easy parsing and static nature of XML files helps me a lot.
How can i call player from the command line (Window OS)? Thanks!
In window OS, just do following:
1. Set "C:\Program Files (x86)\Gideros\Tools" to PATH (That you can using gdrbridge command)
2. Open Gideros Player from Gideros Studio (Can I open Gideros Player from command line?)
3. Close Gideros Studio
4. Open CMD on your project path and type: gdrbridge play mygame.gproj