Am 08.07.2011 um 19:21 schrieb [email protected]:
>
> The app wasn't planned - a friend crowd sources numbers for the lottery on
> Twitter, and so one day I created a Ruby script for him - and then thought,
> wonder if I could make it an executable script where he'd just have to double
> click it!
Laurent is right and and I think best would be for you to use a NSTimer.
def drawWord
if !next_word
self.timer.invalidate
return
end
self.label.stringValue = next_word
self.setNeedsDisplay true
end
def next_word
...
end
self.timer = NSTimer.scheduledTimerWithTimeInterval( 1/20.
Hi Daniel,
I have those two related to the arch:
ARCHS = $(ARCHS_STANDARD_64_BIT)
VALID_ARCHS = x86_64
Don't forget that you have to codesign the rbo files,
a look into the resulting app's CodeResources will tell you.
and welcome to the shop :)
Am 09.05.2011 um 02:47 schrieb Daniel Westendorf
uot;framework 'Cocoa'" line somewhere in your app?
>
> - Josh
>
> On Wed, Apr 27, 2011 at 12:10 PM, Thomas R. Koll wrote:
>
>
> Nope, still no good.
>
> Am 27.04.2011 um 18:07 schrieb Kam Dahlin:
>
> > Hi,
> >
> > http://dev
Nope, still no good.
Am 27.04.2011 um 18:07 schrieb Kam Dahlin:
> Hi,
>
> http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/NSTrackingArea_class/Reference/Reference.html
>
> Looks like the initializer is:
>
> – initWithRect:options:owner:userInfo:
>
> Try something like:
Hi,
I trying to listen to events by mouseMoved using
a NSTrackingArea as the cocoa docs suggest but
I can't get it working in MacRuby.
This is my simplified view i want to add the
tracking zone but I'm getting:
undefined method `initWithRect' for #
(NoMethodError)
class TowerView < NSView
de
Am 03.04.2011 um 22:00 schrieb Ben Rimmington:
> On 3 Apr 2011, at 18:33, Johannes Fahrenkrug wrote:
>
>> I like the name MacRuby :)
>> NSObject is also still called NSObject although NeXTStep hasn't been
>> around for a long time.
>
> I don't hate the name MacRuby, but I thought it might be co
Hi Everybody,
After I failed to get box2d or chipmunk running in last week's game
I started a new one today, similar in idea but without that bloddy
physics engine.
Sirtet it's called and basically that russian game in reverse.
Download etc:
https://github.com/TomK32/Sirtet
ciao, tom
PS: The
Am 01.04.2011 um 14:54 schrieb Eloy Duran:
> Code works for me, so it's not really clear to me which #transform
> method you are missing. Regarding the style, I prefer to use
> parenthesis, which makes it a bit clearer.
I didn't mean functionality, just the style which looks more like objC than
Hi,
I just used a little transformation in a new game (pic [1], demo later)
and wrote this which looks rubish and not so ruby-sh:
transform = NSAffineTransform.transform
transform.translateXBy 20, yBy: 20 # looks ugly
transform.concat
The MacRuby examples are all like this, and #translate d
Am 31.03.2011 um 10:26 schrieb Jean-Denis Muys:
>
> I will be blunt: stay away from MacRuby and go with Objective-C.
I say, if you don't know either Ruby or Objective-C yet, stay away from MacRuby.
All those ruby dev who like me are most likely coming from webdevelopment,
dive into this new wor
Hi Martin,
Something else I stumbled over when changing build options:
"Symbols hidden by default" must be no
GCC_SYMBOLS_PRIVATE_EXTERN = NO
Am 29.03.2011 um 09:30 schrieb Martin Hawkins:
> Thomas,
> I don't understand why you think I forgot the .m file - as I said - I
> followed Matt's instr
Hi everybody,
I have to bring this up too as I'm stuck in the same problem.
Unlike Martin I didn't forget the add a .m implementation
for the library I want to use (Box2D in my case)
but then I only get a different error:
~/Downloads/Box2D_v2.1.2/Box2D/Build/Box2D/Debug $ macruby -e 'require
"l
schrieb Laurent Sansonetti:
> Hi Thomas,
>
> Yes that would be awesome! Please file a new ticket and attach your sample
> there, and we will review and add it to the samples repository :)
>
> Laurent
>
> On Feb 23, 2011, at 12:25 AM, Thomas R. Koll wrote:
>
>>
Great timing, I've switched from 0.8 to edge just a few days ago due to
a bug that was fixed two days after 0.8 came out. :)
Btw, can I contribute an example of a StatusBarMenu with a custom view in one
of the menuitems?
ciao, tom
Am 22.02.2011 um 23:20 schrieb Laurent Sansonetti:
> Hi guys,
Am 16.12.2010 um 01:58 schrieb Matt Aimonetti:
> FYI I'm getting a few error messages:
>
> unknown: warning: already initialized constant MIN_SPEED
> unknown: warning: already initialized constant MAX_SPEED
> unknown: warning: already initialized constant MAX_TURN
> unknown: warning: already i
Am 15.12.2010 um 02:03 schrieb Laurent Sansonetti:
> (I noticed that the Xcode project has a reference to a README file which
> doesn't exist in the github repository. You may want to fix that.)
Right, renamed it for github.
> Congratulations for grabbing the prizes!
>
> Would you mind if we
Hai,
I hope it's okay to show off with our little game on the mailinglist.
Over the weekend we participated in a contest at the Super Gamedev Weekend
at the metalab[1] in Vienna.
Against the hard competition of games developed in Objectiv-C (for the iPad),
pygame, HTML, Flash and even C++ (the onl
18 matches
Mail list logo