X-Git-Url: https://git.jsancho.org/?p=gacela.git;a=blobdiff_plain;f=examples%2F02-event-driven-programming%2F02-event-driven-programming.scm;fp=examples%2F02-event-driven-programming%2F02-event-driven-programming.scm;h=903a6a536d00857feb92c97c5af32b3a22f8e32a;hp=0000000000000000000000000000000000000000;hb=475d22be2375535402165d3373fae03a028886f2;hpb=e435ee14c06537860a24930e8d8372c77bc96b4d diff --git a/examples/02-event-driven-programming/02-event-driven-programming.scm b/examples/02-event-driven-programming/02-event-driven-programming.scm new file mode 100644 index 0000000..903a6a5 --- /dev/null +++ b/examples/02-event-driven-programming/02-event-driven-programming.scm @@ -0,0 +1,22 @@ +#!/usr/bin/env guile +!# + +;;; Gacela, a GNU Guile extension for fast games development +;;; Copyright (C) 2017 by Javier Sancho Fernandez +;;; +;;; This program is free software: you can redistribute it and/or modify +;;; it under the terms of the GNU General Public License as published by +;;; the Free Software Foundation, either version 3 of the License, or +;;; (at your option) any later version. +;;; +;;; This program is distributed in the hope that it will be useful, +;;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with this program. If not, see . + +(use-modules (gacela)) + +(run-scene (import-bitmap "x.bmp"))