Functional Game Engine Design for the Web - Alex Kehayias

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ธ.ค. 2024

ความคิดเห็น • 10

  • @rebeccapaz4471
    @rebeccapaz4471 8 ปีที่แล้ว +6

    Love this talk! I tried making a game in Clojure with an approach similar to this, but got stuck on handling input and events. Good to see someone figured it out!

  • @dengan699
    @dengan699 7 ปีที่แล้ว +3

    Where do all these guys find work for Clojure? :( I want one too

  • @thenashbridges
    @thenashbridges 8 ปีที่แล้ว +3

    Slides for the presentation github.com/alexkehayias/clojure-west-2016-functional-game-engine-design

  • @pacoestevez8780
    @pacoestevez8780 8 ปีที่แล้ว +2

    Would it be worthwhile to keep a backend in play-clj (libgdx) and then build the engie on top? The principles are platform-indepenent, it's a pity they get lost by focusing on web for the sake of web.

    • @alexkehayias
      @alexkehayias 8 ปีที่แล้ว +2

      +Francisco Estévez García I would recommend that you think about separating it into two parts, one which is the game engine that you can organize similarly to the talk, and another for rendering. The only reason this is targeting the web is for ease of development and maturity of rendering libraries in Javascript. There is no reason why you can't take the same approach to manage your game state and use Java2D or libgdx as the renderer.

    • @kexuyo
      @kexuyo 8 ปีที่แล้ว

      Yeah I would be really happy if play-clj has this CES thing, but I don't think it'll happen any soon, if ever.

  • @aoeu256
    @aoeu256 5 ปีที่แล้ว

    You said you didn't use MACROS, but isn't it a way to improve performance? Especially macros that take in a function then look at the function's source code then jquery the S-expressions to replace slow code with fast code. You can also have a simple dynamic compiler that is inserted by the macro system which looks at any functions and inlines the calls and get rid of any other types of indirection.

  • @JulienBertozzi
    @JulienBertozzi 7 ปีที่แล้ว

    Very nice talk !!

  • @kevintanudjaja8893
    @kevintanudjaja8893 4 ปีที่แล้ว +1

    I can't imagine implementing inventory like diablo in the clojure.. It's all mutable state