;;; Starling Game Engine ;;; Copyright © 2018 David Thompson ;;; ;;; 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 Starling. If not, see . ;;; Commentary: ;; ;; 2D game nodes. ;; ;;; Code: (define-module (starling node-2d) #:use-module (chickadee math matrix) #:use-module (chickadee math rect) #:use-module (chickadee math vector) #:use-module (chickadee render) #:use-module (chickadee render color) #:use-module (chickadee render font) #:use-module (chickadee render framebuffer) #:use-module (chickadee render shapes) #:use-module (chickadee render sprite) #:use-module (chickadee render texture) #:use-module (chickadee render viewport) #:use-module (chickadee scripting) #:use-module (oop goops) #:use-module (starling asset) #:use-module (starling kernel) #:use-module (starling node) #:export ( target offset position width height camera area views origin position rotation skew pivot move move-to teleport rotate rotate-to zoom zoom-to texture atlas animations frame-duration current-animation start-time change-animation region color