From: "Dr. Arne Babenhauserheide" <arne_bab@web.de>
To: "Thompson, David" <dthompson2@worcester.edu>
Cc: guile-user@gnu.org
Subject: Re: Chickadee 0.8.0 released
Date: Fri, 08 Oct 2021 17:53:01 +0200 [thread overview]
Message-ID: <87y273cwwd.fsf@web.de> (raw)
In-Reply-To: <CAJ=Rwfbu8RrM+JpwXL6B1VJ5-fZi304prnBMeAf4zHCZGcm6fQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]
"Thompson, David" <dthompson2@worcester.edu> writes:
> I'm happy to announce that Chickadee 0.8.0 has been released!
Hell yeah! Thank you!
And thank you for the link to https://itch.io/jam/autumn-lisp-game-jam-2021
Something fun I collected for a chickadee-based game:
https://opengameart.org/content/art-for-drachi
Most technically interesting part of the game itself:
define-module : drachi drachi
. #:export : drachi
. #:declarative? #f
define drachi-sprite #f
define drachi-atlas #f
define drachi-batch #f
define repl #f
define provide-repl #f
define : load
set! drachi-sprite : load-image "walking_dragon-red.png"
set! drachi-atlas : split-texture drachi-sprite 144 128
set! drachi-batch : make-sprite-batch drachi-sprite
when provide-repl
set! repl : spawn-coop-repl-server
;; …
define : update dt
when provide-repl
poll-coop-repl-server repl
update-drachi dt
define : drachi args
when : member "--repl" args
set! provide-repl #t
run-game #:update update #:load load #:draw draw
And then:
guix environment -l guix.scm -- ./run-drachi.w --repl &
telnet localhost 37146
,m drachi drachi
And then:
define : draw-drachi
sprite-batch-clear! drachi-batch
sprite-batch-add! drachi-batch
vec2 256.0 17.0 ;; replace 176.0 by 17.0
. #:texture-region : texture-atlas-ref drachi-atlas (+ 6 drachi-index)
draw-sprite-batch drachi-batch
and Drachi moved downwards.
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]
next prev parent reply other threads:[~2021-10-08 15:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-08 0:20 Chickadee 0.8.0 released Thompson, David
2021-10-08 13:58 ` Mike Gran
2021-10-08 14:04 ` Zelphir Kaltstahl
2021-10-08 15:53 ` Dr. Arne Babenhauserheide [this message]
2021-10-11 2:18 ` Tim Meehan
2022-05-31 19:06 ` Bill Markmann
2022-05-31 19:26 ` [EXT] " Thompson, David
2022-06-01 11:12 ` Tim Van den Langenbergh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y273cwwd.fsf@web.de \
--to=arne_bab@web.de \
--cc=dthompson2@worcester.edu \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).