Log in

No account? Create an account


It seems that...

« previous entry | next entry »
Feb. 2nd, 2006 | 11:23 am
posted by: soullesshippy in mctcstudents

in order to leave an initial comment, you do need to log in / have a LiveJournal account.
You can reply to someone else's comment w/o logging in, using anonymous.
I just realized this, and it may make this avenue less attractive to some.

Creating a LiveJournal account is relatively quick and painless though, just look at the topright of the screen where it says LogInNow, beneath it is a link to Create account, for those still interested in participating.

Sorry, I just became aware of this nuance today.

Link | Leave a comment |

Comments {3}

My first post

from: jonnyh
date: Feb. 21st, 2006 10:17 pm (UTC)

Hey. Just joined. I thought someone might find this source interesting. I got it from:

It works in scheme (assuming you can copy/paste it alright after it posts). It creates some frames and some buttons and does some simple UI stuff. If it doesn't work right after posting, just go to the site I got it from and copy/paste it from there.

(define start (instantiate frame% ("Welcome to the land of land")(x 150)(y 150)(height 300)(width 500)))
(define line1 (instantiate message% ("You find yourself in a room. In this room are a wand and a sword." start)))
(define line2 (instantiate message% ("Obvious exits are North and South. Areas of the room may be hidden." start)))
(instantiate button% () (label "Pick up sword")(parent start)
(callback (lambda (button event) (send sword show #t)(send start show #f))))
(instantiate button% () (label "Pick up wand")(parent start)
(callback (lambda (button event) (send wand show #t)(send start show #f))))
(instantiate button% () (label "Search the room") (parent start)
(callback (lambda (button event) (send gos1 show #t)(send start show #f))))
(send start show #t)
(define sword (instantiate frame% ("You have the sword in hand...")(x 150)(y 150)(height 300)(width 500)))
(define sl1 (instantiate message% ("The sword is heavy, but you know you can wield it in combat." sword)))
(define sl2 (instantiate message% ("Which exit will you take?" sword)))
(define wand (instantiate frame% ("You have the wand in hand...") (x 150)(y 150)(height 300)(width 500)))
(define wn1 (instantiate message% ("You fell great power as you pick up the wand..." wand)))
(define wn2 (instantiate message% ("But the moment is ruined as you fart loudly." wand)))
(define gos1 (instantiate frame% ("Darn but your stupid...")(x 150)(y 150)(height 300)(width 500)))
(define gos1m1 (instantiate message% ("You search the room, setting off several traps. You dead!" gos1)))

Reply | Thread


Re: My first post

from: soullesshippy
date: Feb. 21st, 2006 10:49 pm (UTC)

Awesome! Instantaneous GUI in Scheme!
Off to try and incorporate/understand this,

Reply | Parent | Thread