denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] The new possibilities


From: Richard Shann
Subject: [Denemo-devel] The new possibilities
Date: Sat, 11 Jul 2009 21:41:14 +0100

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

Richard






reply via email to

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