Export Your Game to the WEB in Godot 4 - Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • Learn how to export your godot 4 game to a web browser.
    Node JS: nodejs.org/en
    // JOIN THE COMMUNITY DISCORD!
    / discord
    // SUPPORT THE CHANNEL
    / muddywolf
    // PLAY BANANA TOSS NOW!
    play.google.co...
    // WEB DEV CHANNEL
    / tylerpotts

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

  • @arckanumsavage2822
    @arckanumsavage2822 2 หลายเดือนก่อน +4

    Just a simplest scene with a camera and one cube is 50 mb. It doesn't fit for html5 games 😅 Three js scene will be less than 1 mb

  • @KT24-c6f
    @KT24-c6f 2 หลายเดือนก่อน +1

    Thank you so much I haven't fully learned GDscript yet but I'm just getting ready

  • @FixiousMaximus
    @FixiousMaximus 5 หลายเดือนก่อน +12

    To anyone uploading this to their own server but still seeing the Godot error at 1:30, you'll want to create an .htaccess file (if it doesn't already exist), and add the following:
    Header add Cross-Origin-Embedder-Policy "require-corp"
    Header add Cross-Origin-Opener-Policy "same-origin"

    • @taahailyas9782
      @taahailyas9782 4 หลายเดือนก่อน

      where do I put this?

    • @kiocode
      @kiocode 4 หลายเดือนก่อน +1

      little mf thx

    • @kiocode
      @kiocode 4 หลายเดือนก่อน

      @@taahailyas9782 any apache webserver

    • @elenaparis8268
      @elenaparis8268 3 หลายเดือนก่อน +1

      Bless you sir!

    • @molcho9286
      @molcho9286 18 วันที่ผ่านมา

      Not working, where is it located?

  • @Holonet01
    @Holonet01 9 หลายเดือนก่อน +7

    Love the little local webserver setup. 😁
    It's worth stipulating that you cannot do this in Godot 4 yet if you are using C#. I'm hoping that's on the way though.

    • @robertsandiford6223
      @robertsandiford6223 5 หลายเดือนก่อน

      What are the alternatives to C#?

    • @jakobmiesner3995
      @jakobmiesner3995 3 หลายเดือนก่อน

      @@robertsandiford6223 gdscript

  • @TODL316
    @TODL316 4 หลายเดือนก่อน +1

    it just throws a bunch of errors at me what the hell

  • @jvos
    @jvos 2 หลายเดือนก่อน

    In Godot 4.3 it has better support for being a browser game on all kind of platforms even safari.
    (Note it is in beta3 as of july 2024)

  • @ZeroBudgetDevelopments
    @ZeroBudgetDevelopments 6 หลายเดือนก่อน +1

    Would this allow me to modify the html files and use godot as a development platform for aframe content ive just aquired 25 blade center blades and 2 enclosure for a price only god could have sent for a project to help people and i want to deliver via aframe so as not to be vendor locked or bound by engine licenses could this export method be used to develop for aframe :)

  • @mewingmonkey-q4g
    @mewingmonkey-q4g 2 หลายเดือนก่อน +1

    thank you so much

  • @jello195
    @jello195 7 หลายเดือนก่อน +2

    This is very helpful. I've been trying to make a joke game for my collegues for a few while but I didn't wanted to host this on a server cause the project was that important. If you read this (or anyone willing to help) could you please explain how to make a file of this to boot it with that line without going through the command prompt each time. Also do you think this is feasible with flask of django (or any other python server related method)? Thanks for the great video again.

    • @dr_workaholic
      @dr_workaholic 2 หลายเดือนก่อน

      you can export it as a .exe file, the documentation is pretty helpful for the step by step

  • @Steven-kun
    @Steven-kun 6 หลายเดือนก่อน

    Thanks for the help

  • @kuroyukidevgames
    @kuroyukidevgames 2 หลายเดือนก่อน

    can you do a more advanced Web Export video that covers how to use the PWA (Progressive Web App) options? the purpose of a PWA is so that the players can get that "Install as App" option in web browsers that support PWA like Chromium based browsers and MS Edge. (sadly Firefox has yet to reinstate that feature since they removed in a couple years ago.... no freaking clue why they did something dumb like that.....)

    • @kuroyukidevgames
      @kuroyukidevgames 2 หลายเดือนก่อน

      basically I figured I'd ask you to make that PWA video since most other youtube tutorial makers only show how to publish a web build to itch but you clearly have the knowledge/skills needed to do the PWA route since you knew to mention NPM and NodeJS for a live server.
      P.S.
      I am a web dev, game dev and a software engineer. that said I've never had a reason to look into how to actually setup a PWA build for a Godot game.... hoping I can get some guidance on how to set that up given my lack of experience with that part of Godot's export settings...

  • @squiggy_gamer
    @squiggy_gamer 9 หลายเดือนก่อน

    how would you do it if you up load this to a host from filezilla?

  • @malsypright
    @malsypright 3 หลายเดือนก่อน

    I can't export project because it wants me to use a non-C# build editor to export it
    how do I fix that?

    • @AsatteGames
      @AsatteGames 3 หลายเดือนก่อน

      Try using the normal version if you do not have any C# on your project, not the .Net version

  • @Jucidful
    @Jucidful 10 หลายเดือนก่อน

    Thanks !

    • @MuddyWolf
      @MuddyWolf  10 หลายเดือนก่อน

      You're welcome!

  • @pai6969
    @pai6969 7 หลายเดือนก่อน +8

    bri ish

  • @Alexander-z8m9o
    @Alexander-z8m9o 11 หลายเดือนก่อน +1

    hello me again how long will it be until you make the fps serise really want to make it
    Thank you
    Alex

    • @MuddyWolf
      @MuddyWolf  11 หลายเดือนก่อน

      I'll tell you what, Alex, I'll make the FPS next, it may take a week or so but I'll put together the first few episodes

    • @BW-ye6mx
      @BW-ye6mx 6 หลายเดือนก่อน

      Already made one with margin container viewport container viewports and areas and collisions and animation tree and wasd and drawknife drawsnipera zoom zoom out staba.Jump. both PS4 controllers work. Using animation player for look left lookright. A lot of animation players and action just pressed inputs.

  • @scriptabledrawing7773
    @scriptabledrawing7773 9 หลายเดือนก่อน +1

    Does the web server make this work for everyone, or does it just work for me?

    • @falcongold2024
      @falcongold2024 8 หลายเดือนก่อน +1

      just you, it is a local server

    • @Steven-kun
      @Steven-kun 6 หลายเดือนก่อน

      i think everywhere in your network

  • @fastiapk.
    @fastiapk. 10 หลายเดือนก่อน

    Hello, can you help me with something in Unity 2D? I want the character to switch between weapons from the ground. Thank you.

  • @josescharneck8989
    @josescharneck8989 5 หลายเดือนก่อน

    thank you

  • @noyt_
    @noyt_ 4 หลายเดือนก่อน

    help
    npm ERR! code ENOENT
    npm ERR! syscall lstat
    npm ERR! path C:\Users\Guru\AppData\Roaming
    pm
    npm ERR! errno -4058
    npm ERR! enoent ENOENT: no such file or directory, lstat 'C:\Users\Guru\AppData\Roaming
    pm'
    npm ERR! enoent This is related to npm not being able to find a file.
    npm ERR! enoent
    npm ERR! A complete log of this run can be found in: C:\Users\Guru\AppData\Local
    pm-cache\_logs\2024-05-19T11_24_35_595Z-debug-0.log

    • @homemtesta8907
      @homemtesta8907 3 หลายเดือนก่อน

      same here, managed to resolve it?

    • @noyt_
      @noyt_ 3 หลายเดือนก่อน +1

      @@homemtesta8907 sorry, but no, i cant resolve this

  • @gitee
    @gitee 4 หลายเดือนก่อน

    How can I use webview inside godot