tiflolinux.org - GNU Social
  • Login

Bienvenido

  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Monday, 04-Jun-2018 23:27:25 CEST Ekaitz Zárraga 👹 Ekaitz Zárraga 👹
    • Efi (nap pet) ??

    @Efi Not really, I understood it well I think.
    Now I need good code examples... :S

    The play-clj-examples repo is good but not great.

    Do you know any good game made with it where I can check the code and the way they handle the textures?

    In conversation Monday, 04-Jun-2018 23:27:25 CEST from mastodon.social permalink
    • Efi (nap pet) ?? (efi@mastodon.social)'s status on Monday, 04-Jun-2018 23:37:00 CEST Efi (nap pet) ?? Efi (nap pet) ??
      in reply to

      @ekaitz_zarraga https://gist.githubusercontent.com/Efimero/08e1ea59862512ee8e346b057024a64e/raw/b85a7cc5dabf6b30cbd033700a6fa7f8cdda2244/gistfile1.txt sorry, it got long

      In conversation Monday, 04-Jun-2018 23:37:00 CEST permalink

      Attachments


      1. Invalid filename.
      Ekaitz Zárraga 👹 repeated this.
    • Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Tuesday, 05-Jun-2018 09:10:43 CEST Ekaitz Zárraga 👹 Ekaitz Zárraga 👹
      in reply to
      • Efi (nap pet) ??

      @Efi Bang! mind blown!
      Okay okay... i have to study a little bit more.

      The thing with the examples is they are so simple the design itself is made considering they *are* simple.

      And I want to read some code which expected a kinda complex game.

      Get what I mean?

      In conversation Tuesday, 05-Jun-2018 09:10:43 CEST permalink
    • Efi (nap pet) ?? (efi@mastodon.social)'s status on Tuesday, 05-Jun-2018 12:59:43 CEST Efi (nap pet) ?? Efi (nap pet) ??
      in reply to

      @ekaitz_zarraga of course I do, hon
      I had the same issue when learning it
      what I do is pack my entities in a custom dictionary instead of the entities array, and then render them like (render! screen (-> entities :sprites :background)) for example
      or you can even abstract on that and make a function that selects exactly what to draw and in which order aand gives that to (render!)
      it's just a matter of what ends up on the screen, there's no opengl magics involved yet =P

      In conversation Tuesday, 05-Jun-2018 12:59:43 CEST permalink
      Ekaitz Zárraga 👹 repeated this.
    • Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Tuesday, 05-Jun-2018 13:03:21 CEST Ekaitz Zárraga 👹 Ekaitz Zárraga 👹
      in reply to
      • Efi (nap pet) ??

      @Efi hmmmmm!
      Looks a nice way.

      I have to learn the rest of the thing too... :S

      In conversation Tuesday, 05-Jun-2018 13:03:21 CEST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.