[Top][All Lists]

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

Re: trying Chickadee

From: Zelphir Kaltstahl
Subject: Re: trying Chickadee
Date: Tue, 4 Sep 2018 20:34:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

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)


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.



On 04.09.2018 18:00, address@hidden wrote:
> Send guile-user mailing list submissions to
>       address@hidden
> To subscribe or unsubscribe via the World Wide Web, visit
> or, via email, send a message with subject or body 'help' to
>       address@hidden
> You can reach the person managing the list at
>       address@hidden
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of guile-user digest..."
> Today's Topics:
>    1. Re: How to get started in guile & programming generally
>       (Joshua Branson)
> ----------------------------------------------------------------------
> Message: 1
> Date: Mon, 03 Sep 2018 16:53:39 -0400
> From: Joshua Branson <address@hidden>
> To: <address@hidden>
> Subject: Re: How to get started in guile & programming generally
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=utf-8
> Amirouche Boubekki <address@hidden> writes:
>> Using guix on my Ubuntu I successfully installed chickadee master.
>> Try to install guix again and report the error you have please :]
>> Le mer. 29 ao?t 2018 ? 23:09, Joshua Branson <address@hidden> a ?crit :
> Thanks for the encouragement!  I successfully install guix via the
> 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
> address@hidden
> ------------------------------
> End of guile-user Digest, Vol 190, Issue 6
> ******************************************

reply via email to

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