Zelphir Kaltstahl
2018-09-04 18:34:15 UTC
On my system Chickadee seems to build fine with the usual configure,
make, make install. However I want to mention something, which might
indicate a problem.
When I run the example code:
~~~~~
(use-modules (chickadee)
(chickadee math vector)
(chickadee render sprite)
(chickadee render texture))
(define sprite #f)
(define (load)
(set! sprite (load-image "logo.png")))
(define (draw alpha)
(draw-sprite sprite (vec2 256.0 176.0)))
(add-hook! load-hook load)
(add-hook! draw-hook draw)
(run-game)
~~~~~
It works and the sprite is rendered, however, one core is used to 100%.
I guess the game loop is rendering the sprite over and over again in a
non-updated position.
Another thing is, that I cannot click the close button of the window
that renders the sprite. I guess because I do not handle the closing
event in this example code. I need to close it by C-c C-c in my Eshell.
Aside from that it seems to work fine. I would like to see development
in 2D game engines for Guile. I imagine minimalistic libraries / game
engines and Guile to be a powerful combination! I always wanted to make
a game (like probably most people in CS :D). Maybe with Guile and
Chickadee or similar I can grab some new motivation. So far I have not
tried to build anything complex with Chickadee, but maybe it is already
possible. I think it would be cool to have a page listing projects using
Chickadee, even if those projects are not done or only proofs of concepts.
Thanks!
Zelphir
make, make install. However I want to mention something, which might
indicate a problem.
When I run the example code:
~~~~~
(use-modules (chickadee)
(chickadee math vector)
(chickadee render sprite)
(chickadee render texture))
(define sprite #f)
(define (load)
(set! sprite (load-image "logo.png")))
(define (draw alpha)
(draw-sprite sprite (vec2 256.0 176.0)))
(add-hook! load-hook load)
(add-hook! draw-hook draw)
(run-game)
~~~~~
It works and the sprite is rendered, however, one core is used to 100%.
I guess the game loop is rendering the sprite over and over again in a
non-updated position.
Another thing is, that I cannot click the close button of the window
that renders the sprite. I guess because I do not handle the closing
event in this example code. I need to close it by C-c C-c in my Eshell.
Aside from that it seems to work fine. I would like to see development
in 2D game engines for Guile. I imagine minimalistic libraries / game
engines and Guile to be a powerful combination! I always wanted to make
a game (like probably most people in CS :D). Maybe with Guile and
Chickadee or similar I can grab some new motivation. So far I have not
tried to build anything complex with Chickadee, but maybe it is already
possible. I think it would be cool to have a page listing projects using
Chickadee, even if those projects are not done or only proofs of concepts.
Thanks!
Zelphir
Send guile-user mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/guile-user
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of guile-user digest..."
1. Re: How to get started in guile & programming generally
(Joshua Branson)
----------------------------------------------------------------------
Message: 1
Date: Mon, 03 Sep 2018 16:53:39 -0400
Subject: Re: How to get started in guile & programming generally
Content-Type: text/plain; charset=utf-8
binary installation method. I'm sure chickadee will install without any
problems. If it doesn't, I'll let you know.
------------------------------
Subject: Digest Footer
_______________________________________________
guile-user mailing list
https://lists.gnu.org/mailman/listinfo/guile-user
------------------------------
End of guile-user Digest, Vol 190, Issue 6
******************************************
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/guile-user
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of guile-user digest..."
1. Re: How to get started in guile & programming generally
(Joshua Branson)
----------------------------------------------------------------------
Message: 1
Date: Mon, 03 Sep 2018 16:53:39 -0400
Subject: Re: How to get started in guile & programming generally
Content-Type: text/plain; charset=utf-8
Using guix on my Ubuntu I successfully installed chickadee master.
Try to install guix again and report the error you have please :]
Thanks for the encouragement! I successfully install guix via theTry to install guix again and report the error you have please :]
binary installation method. I'm sure chickadee will install without any
problems. If it doesn't, I'll let you know.
------------------------------
Subject: Digest Footer
_______________________________________________
guile-user mailing list
https://lists.gnu.org/mailman/listinfo/guile-user
------------------------------
End of guile-user Digest, Vol 190, Issue 6
******************************************