A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/borodust/trivial-gamekit below:

borodust/trivial-gamekit: Simple framework for making 2D games

Library for getting into gamedev with Common Lisp! Very simple interface to graphics, audio and input.

By default, trivial-gamekit works in OpenGL 3.3 mode. To enable OpenGL 2.1 you need to

(pushnew :bodge-gl2 *features*)
;; add cl-bodge distribution into quicklisp
(ql-dist:install-dist "http://bodge.borodust.org/dist/org.borodust.bodge.txt")

;; load the gamekit
(ql:quickload :trivial-gamekit)

Copy-paste these into your Common Lisp REPL after loading trivial-gamekit:

(gamekit:defgame example () ())

(defmethod gamekit:draw ((this example))
  (gamekit:draw-text "Hello, Gamedev!" (gamekit:vec2 240.0 240.0)))

(gamekit:start 'example)

See trivial-gamekit external documentation.

#lispgames or #cl-bodge at irc.libera.chat:6697


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4