denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] The new possibilities


From: Jeremiah Benham
Subject: Re: [Denemo-devel] The new possibilities
Date: Sun, 12 Jul 2009 09:26:05 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Jul 11, 2009 at 09:41:14PM +0100, Richard Shann wrote:
> Just for fun, with the new git run this script
> 
> (define GameScore::score 0)
> (define (GameScore::Increase)
>   (set! GameScore::score (+ GameScore::score 1))
>   (d-DirectivePut-score-display "GameScore" (object->string
> GameScore::score)))
> (d-SetDirectiveTagActionScript "GameScore" "(GameScore::Increase)")
> (d-DirectivePut-score-graphic "GameScore" "<b>The Score:</b> ")
> 
> and then try clicking on the button labelled The Score


Ooh. I like it. I let them constanly see their score. The button idea can also 
be used for other things also. Can the buttons be keybound? Just curious. 

Thanks,
Jeremiah


> 
> Richard
> 
> 
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/denemo-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]