I made this tutorial to help you get started programming Gideros in ZeroBrane Studio. If you did not try it yet, now it's the best time. The tutorial explains how to configure one-click on-device testing for multiple devices and other tricks.
http://www.indiedb.com/tutorials/gideros-with-zerobrane
Comments
nice one, I will read it later in detail, but I think this one is quite well detailed.
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
@ar2rsawseen, actually i'm surprised that not everybody uses zbs, are there any other good alternatives? with the gideros ide i was already a bit frustrated when zbs came around. perhaps you can make a poll about which ide people are using? it would be interesting to know the options.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
http://notebook.kulchenko.com/zerobrane/real-time-watches-plugin-zerobrane-studio
Fragmenter - animated loop machine and IKONOMIKON - the memory game
I cannot speak for everyone, but when I write I prefer using TextMate as I have been using it for a very long time now, I tried Sublime, but then when I have a licence to Textmate and used to it, why move.
For Gideros code, it is a pain to write code outside and then reload the file in the IDE, so I use the IDE itself, one because it offers autocomplete (which is painful on a Mac as the tooltip hijacks and I cannot use the Esc to auto complete and Alfred uses ⌥+space and Spotlight uses ⌘+space. So it does get frustrating.
There was a brilliant article about live-coding but when you cannot replicate what you see, you lose interest and do not want to waste time. So I gave up on using live-coding as per that article/post. I dabbled with ZBS on and off but it was just about starting one more applications/editor that prevented me from using it on a regular basis like the IDE or Textmate.
So does that help you understand, you might also want to poll what platform, mac or win, because that changes things too. When I did not use Macs at all, I was a die hard Notepad++ user
and like a tweet I had seen a couple of days ago, "I used Vim for two years because I could not get out of it"
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
with this tutorial perhaps this entrance-fee to set up zbs is lowered to an hour from a few days.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Program starting as '"C:\Program Files (x86)\Gideros\GiderosPlayer.exe"'.
Program 'GiderosPlayer.exe' started in 'C:\Program Files (x86)\Gideros\Examples\Graphics\Bird Animation' (pid: 6580).
Starting the player and waiting for the bridge to connect at 'C:\Program Files (x86)\Gideros\Tools\gdrbridge.exe'.
Couldn't connect to the player. Try again or check starting the player and the bridge manually.
Qt: Untested Windows version 6.2 detected!
Program completed in 6.10 seconds (pid: 6580).
I tried starting the player manually which just gave me one open player on screen before clicking run and then a second player appeared for a short while before closing as before.
Any ideas about how to get it playing?
So i tried with the same example project and for me it works. First it gave me the same error as for you, then i pressed the play button again and it worked. I guess waiting for the player times out too early. So you should try the same.
Also, did you add socket.lua too? I was never sure when it is needed, but it's better to be added in any case.
did you put at mobdebug your computer's ip address?
i will try to help as much as i can, especially that i want that the tutorial is correct.
also perhaps @paulclinger can help.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Program starting as '"C:\Program Files (x86)\Gideros\GiderosPlayer.exe"'.
Program 'GiderosPlayer.exe' started in 'C:\Program Files (x86)\Gideros\Examples\Graphics\Bird Animation' (pid: 6440).
Starting the player and waiting for the bridge to connect at 'C:\Program Files (x86)\Gideros\Tools\gdrbridge.exe'.
Starting project file 'C:\Program Files (x86)\Gideros\Examples\Graphics\Bird Animation\Bird Animation.gproj'.
Debugging session started in 'C:\Program Files (x86)\Gideros\Examples\Graphics\Bird Animation\'.
"hello"
Fragmenter - animated loop machine and IKONOMIKON - the memory game
"Qt: Untested Windows version 6.2 detected!"
Fragmenter - animated loop machine and IKONOMIKON - the memory game
I had tried running several times as your tutorial usefully mentioned that I might need to but it failed each time. Just tried again and it is starting up ok usually on the second attempt. No idea why it's doing it now when it wouldn't before as I've changed nothing, but I'm happy that I can now play!
Fragmenter - animated loop machine and IKONOMIKON - the memory game
I'm not sure why it's sometimes working and sometimes not, but given the discussion in the thread, it doesn't seem like something I can fix in ZBS.
The reason why the player may not connect to ZBS on the first attempt is that ZBS waits for 5 seconds to get a response back from gdrbridge after it's started. If it doesn't get a response in that timeframe, it shows the error message that @petec referenced. It usually works the second time because the process works faster. I can increase the timeframe, but users will then wait longer if something is really not working.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
www.tntengine.com
testing ZeroBrane Studio on osx 10.9.2
when i try to select project folder zbs just crash and close...
error:
Process: lua [7512]
Path: /Users/USER/Desktop/ZeroBraneStudio.app/Contents/ZeroBraneStudio/bin/lua
Identifier: com.ZeroBrane.ZeroBraneStudio
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: bash [7511]
Responsible: bash [7509]
User ID: 501
Date/Time: 2014-03-01 01:02:13.913 +0100
OS Version: Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: F4528C58-F47F-1B7D-0A1B-4A5E1FF0116B
Sleep/Wake UUID: B539964E-3FF7-473B-971B-2D1391D1C752
Crashed Thread: 6 CVDisplayLink
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
Performing @selector(controlAction from sender wxNSButton 0x3539a0
Dyld Error Message:
Symbol not found: _gliCreateContextWithShared
Referenced from: /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
Expected in: flat namespace
www.tntengine.com
thanks!
i'll try this evening!
one thing: it's possible (in a next version) to have functions navigation using a "treeview" or a "listbox" ?
thanks for your great work!
Likes: MikeHart
www.tntengine.com
Likes: ar2rsawseen
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
@GregBUG, this function navigation (using a treeview) has been implemented.
The most recent version (0.95) also adds fuzzy search for files, symbols/functions, and library API functions.
Likes: keszegh
Likes: antix
Fragmenter - animated loop machine and IKONOMIKON - the memory game