u/macin r/Clojure • Recommends
link to this video Combining Clojure with JavaFX for Game Development with Defold
8.9K subscribers • 1 video on Hallway
Intermediate. Assumes working knowledge.
1K views1 year ago1 recommendation
Game developmentProgramming languagesLisp and ClojureUnity, Unreal and Godot
Vlad Protsenko discusses using Clojure and JavaFX to build user interfaces and tools for the Defold game engine.
Vlad Protsenko is a Clojure developer working at Defold. While I initially wanted to learn about the Cljfx project, our conversation evolved into a learning experience: a practical getting-started guide to Clojure, a hands-on demonstration of building JavaFX user interfaces with minimal code, and an inside look at the Defold game engine and its JavaFX-based IDE. About Vlad Vlad is a Senior Developer with proficiency in many JVM-based languages. He worked both in very small and large teams, gaining experience in developing projects of various sizes, from scratch and from legacy codebases. He enjoys full-stack development, writing backend, frontend, and Android applications. He started as a game developer and switched to developing enterprise software, currently mixing both at Defold. You can find him on: GitHub github.com/vlaaad LinkedIn linkedin.com/in/vlad-protsenko-0999b2163/ Cljfx Library Cljfx is a declarative, functional, and extensible wrapper of JavaFX. It's inspired by the better parts of react and re-frame. Like react, it allows to specify only desired layout, and handles all actual changes underneath. Unlike react (and web in general) it does not impose xml-like structure of everything possibly having multiple children, thus it uses maps instead of hiccup for describing layout. Like reagent, it allows to specify component descriptions using simple constructs such as data and functions. Unlike reagent, it rejects using multiple stateful reactive atoms for state and instead prefers composing ui in more pure manner. Like re-frame, it provides an approach to building large applications using subscriptions and events to separate view from logic. Unlike re-frame, it has no hard-coded global state, and subscriptions work on referentially transparent values instead of ever-changing atoms. Like fn-fx, it wraps underlying JavaFX library so developer can describe everything with clojure data. Unlike fn-fx, it is more dynamic, allowing users to use maps and functions instead of macros and deftypes, and has more explicit and extensible lifecycle for components. Links GitHub github.com/cljfx/cljfx Defold Game Editor IDE Defold is a game engine for high-performance cross-platform games. It comes fully featured out of the box. There's nothing to set up or configure, not even when building. Download the editor and get creative! That editor is created with JavaFX and Clojure. Links Defold website defold.com/ GitHub github.com/defold/defold Video content Who is Vlad? Looking back in time with ActionScript About Clojure compared to Scala and Java 21 About the cljfx project Demo of Clojure code and the use of cljfx Demo of Defold game editor The goal of the cljfx project Changes needed in JavaFX More JFX In Action... More posts with JFX In Action videos: webtechie.be/tags/jfx-in-action/u/macin r/Clojure • Recommends