I Created a WEB framework for Godot!

Поділитися
Вставка
  • Опубліковано 13 жов 2024

КОМЕНТАРІ • 45

  • @thatanimeweirdo
    @thatanimeweirdo 2 місяці тому +34

    Please consider open-sourcing this, I already got excited to contribute while watching this short showcase!

    • @spimortdev
      @spimortdev  2 місяці тому +6

      Haha, that's awesome, I'll think about it 🙂!

    • @StiekemeHenk
      @StiekemeHenk 2 місяці тому +1

      Please open source it!
      I'd love if this was merged into Godot

    • @spimortdev
      @spimortdev  2 місяці тому

      @@StiekemeHenk That will always be a plugin, as I don't think this can be merged in the engine itself, but I might open source it at some point 🙂!

    • @StiekemeHenk
      @StiekemeHenk 2 місяці тому

      @@spimortdev hmm, I'll take whatever I can get

  • @JuanElorriagaYT
    @JuanElorriagaYT 2 місяці тому +4

    Omg congrulations for this! I'm from Brazil and your project is very awesome!

    • @spimortdev
      @spimortdev  2 місяці тому

      Yeah thank you! I'm glad you like it 🥳

  • @SiMeGamer
    @SiMeGamer 2 місяці тому +4

    I'll definitely never use this kind of thing, but I think it's a really cool project you've created.
    Was a really fun watch!

    • @spimortdev
      @spimortdev  2 місяці тому

      Yeah thanks, I'm glad you like it! 😎

  • @Egaikko4
    @Egaikko4 2 місяці тому +3

    I have absolutely no clue what you were talking about, but it seems cool!

    • @spimortdev
      @spimortdev  2 місяці тому

      hahah, as long as it is fun to watch 🙂

  • @Snowdrama
    @Snowdrama 2 місяці тому

    I was thinking about building something like this, it's super cool to see I'm not alone. For mine I was considering using XML documents, that way you can get formatting help from XML extensions in VSCode. But yeah overall super cool, hope to see more about this eventually!

    • @spimortdev
      @spimortdev  2 місяці тому

      I was looking for syntax highlighting for inline strings but did not find one sadly. I want the template to be inline because I want to "share" the variables with both the component and the template, like in React.
      But yeah, this is def. a cool projet 🙂

  • @noahcuroe
    @noahcuroe 2 місяці тому

    Cities Skylines 2 uses an off the shelf product called "Coherent UI" to use React (other frameworks should also work) for all of their UI with a native renderer. I'd recommend taking a look just so you aren't reinventing the wheel!

    • @spimortdev
      @spimortdev  2 місяці тому

      Thanks for the tip! I took a look at it few weeks ago but I think its not compatible with Godot 😔

  • @Gamewithstyle
    @Gamewithstyle 2 місяці тому

    This looks very cool! The templating syntax is very promising. Now I just have to write a parser to pair with it that converts the css box model key words into style attributes in Godot and we can style UI with CSS like God intended 😂

    • @spimortdev
      @spimortdev  2 місяці тому

      hahah that would be craaaazzzyyy 😎!

  • @synccyt_
    @synccyt_ 2 місяці тому +1

    this dude never fails to surprise me

    • @spimortdev
      @spimortdev  2 місяці тому +1

      hahah Thanks a lot 😎

  • @nuxnux308
    @nuxnux308 2 місяці тому

    coming from web development as well, i really miss data binding. hope to see some updates on this

    • @spimortdev
      @spimortdev  2 місяці тому

      I realise now that this is something a lot of people are missing!
      Pretty cool to see that I'm not alone! 🙂

  • @collinvisser7108
    @collinvisser7108 2 місяці тому +1

    Neat - Like the idea - make a plugin I am sure people will help with it

    • @spimortdev
      @spimortdev  2 місяці тому

      Thanks! 🙂
      I might, we'll see how it evolves!

  • @shukhambalie3936
    @shukhambalie3936 2 місяці тому

    I have no idea what is this because I'm new with coding myself. It probably have to do with css and html implementation inside godot right? Is it lighter file size wise? I hope you can make godot plugin with this. It seem fun to use. Keep up the good work. 👍🏻

    • @spimortdev
      @spimortdev  2 місяці тому +1

      Kinda!
      It's a "templating" language that allows to create Godot Node 🙂
      Thank you tho, I'm glad you like it!🙂

  • @dominoh1732
    @dominoh1732 2 місяці тому

    this is so cool!
    great work!

    • @spimortdev
      @spimortdev  2 місяці тому

      Thank you ! 😁
      I'm glad you like it!

  • @SquidSnipes
    @SquidSnipes 2 місяці тому

    You should open source this i'm sure the godot community will make something amazing out of this!

    • @spimortdev
      @spimortdev  2 місяці тому

      I might yes! We'll see 🙂 Godot community is always awesome!

  • @bappity
    @bappity 2 місяці тому

    this is BEAUTIFUL

    • @spimortdev
      @spimortdev  2 місяці тому

      Yeah, I'm glad you like it 😎

  • @BumpDev
    @BumpDev 2 місяці тому +1

    wooo

  • @semaph0re
    @semaph0re 2 місяці тому +1

    You say "I dont want a browser in my game" but browser technology is commonly used inside games, look up coherent UI.

    • @spimortdev
      @spimortdev  2 місяці тому

      Oh yeah I saw this not so long ago (sadly, after I did my experiment)! It's really interesting ngl!
      I think it does not have anything that runs on Godot right now right?

    • @thatanimeweirdo
      @thatanimeweirdo 2 місяці тому

      I've worked with Coherent in the past, it's really cool, but also quite hefty as it ships with a full build of Chromium and interop is not always fluid (So you'd have to use React/Vue within your Coherent Web UI)...

    • @spimortdev
      @spimortdev  2 місяці тому +1

      @@thatanimeweirdo Yeah I bet! Obviously, for a full Web Platform a browser is kinda required. In my case, I went simple by just reusing what Godot already offers, I feel like it's not a bad idea 🙂

  • @msd-x990
    @msd-x990 2 місяці тому

    This! +1

  • @zxuiji
    @zxuiji 2 місяці тому

    Great, so you made a slow as s**t method of updating a static UI.

    • @spimortdev
      @spimortdev  2 місяці тому

      If you say so 🤷‍♂
      I guess you think that this recreate the nodes all the time.
      The whole project is based on a dependency system. Only when needed a control gets updated (not recreated, I only create it once).
      The goal is not to have a static UI, the goal is to be able to handle the dynamic aspect of a component.
      That's why it has a binding system
      At some extent it can even be more performant since a value knows when to update each control.
      Anyway, I did not benchmark anything, this is just a fun experiment. We'll see how/if it evolves 🙂

    • @zxuiji
      @zxuiji 2 місяці тому

      @@spimortdev For the label's case you just needed to embed some script into the input box that grabs sibling and changes it's content, it also could update the value at the same time. The list gneration, fine that's not exactly static

  • @GameDevForNoobs
    @GameDevForNoobs 2 місяці тому

    Lovely

  • @diegotorres-v2n
    @diegotorres-v2n 2 місяці тому

    interesting implementation, although Godot has its way in the UI, certainly a touch of html and css can be a more usable perspective. maybe you are doing the possible official implementation of interfaces with extension ".spimort"
    Greetings

    • @spimortdev
      @spimortdev  2 місяці тому

      hahah maybe, who knows! 🙂