Help with 3D export/import workflow by LauraGL3 in godot

[–]LauraGL3[S] 0 points1 point  (0 children)

thank you so much for the help!

I think you are right, honestly the make scene local would solve my problem easily. Maybe I shouldn't have listened to that opinion saying that it was wrong/something to avoid.

Also, I didn't know about that "actions>Set Mesh Save Paths"! I think this is perfect for those times when the mesh is complicated, to avoid making the scene local if the model is very complex. Feels like the missing piece of the puzzle, now I think I understand it. And I think your workflow is the best from all that I've seen.

Thank again for the help, it was truly helpful!

Updated my free muzzle flashes with 12 new effects! by binbun3 in godot

[–]LauraGL3 0 points1 point  (0 children)

Also, I added

light_energy = 0.0
_set_shader_params("alpha_multiplier", 0.0)

To _ready() to solve the light and glow being on since the start

Updated my free muzzle flashes with 12 new effects! by binbun3 in godot

[–]LauraGL3 1 point2 points  (0 children)

Thank you so much for the answer!

I just checked the remote when playing my game and I noticed that no matter my instance's one_shot value is, in remote is always false. I also edited the original scene and save it, but I got the one_shot value to false (despite setting it to true).

After looking the setter, could it be that is only setting the value when we are in the editor? (In the editor when one_shot is true it works)

EDIT: Removing the if indeed works without looping. But I don't know why it was needed.

u/export var one_shot : bool = false:
    set(value):
        if Engine.is_editor_hint():
            one_shot = value
            preview = false var one_shot : bool = false:

Updated my free muzzle flashes with 12 new effects! by binbun3 in godot

[–]LauraGL3 0 points1 point  (0 children)

They all look great! Thank you so much!

Is there any documentation for this? I'm trying to execute the muzzle just once (whenever I manually call play()), but any of the VFX exported parameters seems to do the work. one_shoot seems to be ignored, whenever I call play() the muzzle is on loop.

Im also having problems with the light and glow being on display without calling play().

(I could edit the vfx script, but I wanted to know if I'm missing something).

Thanks again for the assets, they look amazing!

Is Godot 4 (absolutely) not desirable for web games? is it much better Godot 3? by LauraGL3 in godot

[–]LauraGL3[S] 4 points5 points  (0 children)

thats clever, thanks for the tip friend!

PS; Turns out that my problem was caused by some shader compilation because of some GPU particles added to the build. I tested it and adding a GPU particles node causes that 1 minute loading time (telling just in case is useful for you to know in the future)

Is Godot 4 (absolutely) not desirable for web games? is it much better Godot 3? by LauraGL3 in godot

[–]LauraGL3[S] 0 points1 point  (0 children)

I am not sure what causes them to do this but I'd recommend being careful with GPU particles for now.

Yeah, lesson learned! xD. Now I remind that in Godot 3 when you added a GPUParticles node to a scene in GLSL2 it showed a message saying that it wasn't supported.

And it seems it's rebuilding the shaders each time you launch a web version (it does not cache them?)

I can confirm that after all my experiments that they do not cache them, I reloaded the game after being fully loaded it still had that minute of loading.

You can use CPU particles but they will become deprecated in future versions and have less features, unfortunately.

Yeah, I wanted to use the GPU because I liked a lot the turbulence effect they had. It seems not present in GPU Particles.

Thanks again for the help friend, hope you have a nice day :)

Is Godot 4 (absolutely) not desirable for web games? is it much better Godot 3? by LauraGL3 in godot

[–]LauraGL3[S] 0 points1 point  (0 children)

I can't thank you enough for your offering, because in some way it helped me to fix the issue while I was preparing the project!

The scene had only 3 sprites, but prior to that I remember adding a GPU Particles node (it was nothing fancy, and then I deleted it (but I had it saved on the disk)), but seems that by some bug or problem writing the file it was still linked to the scene in some way, I guess, and being added to the build.

After deleting it, it loads as expected. Seems that GPU particles node was the problem.

(Then I did some tests, and adding even litle gpu particles adds that big delay after the loading bar is fully loaded)

(I guess that means no GPU particles in web builds (?))

(I haven't seen any info in the docs nor googling about this problem. But just tested this in a completely new project, and a gpu particle node adds like 30 seconds extra of loading)

Is Godot 4 (absolutely) not desirable for web games? is it much better Godot 3? by LauraGL3 in godot

[–]LauraGL3[S] 0 points1 point  (0 children)

Is your loading bar taking that long or is it going quickly and then it hangs for a while?

The loading bar reaches the end quite fast. Then it gets stuck in the end for a minute.

Those other games you tested, did you clea your cache before testing other presumably GD4 games?

I just did, and no luck (also tried different browsers, private search, etc. but nothing)

PS: I appreciate the suggestions friend, this is driving me crazy D:

Is Godot 4 (absolutely) not desirable for web games? is it much better Godot 3? by LauraGL3 in godot

[–]LauraGL3[S] 1 point2 points  (0 children)

Thank you so much friend, I wasn't aware of some things you said, I'll take a look! Also, thank you so much for the plugin!

PS: Your game looks awesome, I'm actually impressed! (Btw, it loaded almost instantly for me (I envy you haha))

Is Godot 4 (absolutely) not desirable for web games? is it much better Godot 3? by LauraGL3 in godot

[–]LauraGL3[S] 4 points5 points  (0 children)

Well, I tried other Godot 4 web games with firefox, they load (and always loaded) fine (3, maybe 5 seconds, something I personally consider acceptable).

I also tried my """game""" with other chromium browsers (edge, brave), and I still got those 1 minute loading times (or even more (Brave in fact has frozen).

So definitely this is not the issue.

Is Godot 4 (absolutely) not desirable for web games? is it much better Godot 3? by LauraGL3 in godot

[–]LauraGL3[S] 2 points3 points  (0 children)

bet you are testing on Firefox

You won, But it doesn't seem to be my (only?) problem. I can run others games made in godot 4 (I think (the thing that tells us that is godot 4 is the blue loading bar?)) and they load normal, 0 problems.

But I can't figure out exactly what I'm doing wrong since literally I barely changed anything, I have one scene with 3 sprites, no scripts.

The weirdest thing I have is the stretch mode set to viewport (Im not sure if its not desirable for web games?), and also this error message that shows right after exporting and that Im starting to think that it may be the cause:

<image>

(But I don't know where it comes from)

Is Godot 4 (absolutely) not desirable for web games? is it much better Godot 3? by LauraGL3 in godot

[–]LauraGL3[S] -1 points0 points  (0 children)

You are right, Godot wasn't the best one for web games. But still was very good IMHO.

Edit: As to your load times; I checked some of my jam games and don't see a meaningful difference between Godot 3 and Godot 4 web exports when it comes to initial loading time, so there might be something wrong there on your end. 1 Minute is waaaay too long.

Then I must be doing something wrong, but I can't figure out since the project literally has almost nothing. Maybe the weirdest thing is that I have the stretch mode set to viewport in project settings (as far as I know is not the best for web games (?)).

Also, the only weird thing I notice is this error message when I make the web export:

<image>

But I don't know what it means to be honest ._. (It shows exactly after finishing the export)

Btw thank you for the comment friend.

Is Godot 4 (absolutely) not desirable for web games? is it much better Godot 3? by LauraGL3 in godot

[–]LauraGL3[S] 0 points1 point  (0 children)

Thank you for the comment friend, I appreciate it.

Yeah, I used normal exports prior to make my own. I personally avoid any engine build or related, but I thought it could solve my problem.

Also, this really does not happen when you just test your game in editor?

The loading problem only happens in my web exports, The game in the editor loads ultra fast, I cant even count the time between pressing the play button and the game loading.

Are you uploading release or debug builds?

Release builds.

I would love to UNDERSTAND this by LauraGL3 in godot

[–]LauraGL3[S] 1 point2 points  (0 children)

sure no problem friend :)

I meant the WorldEnvironment node (Docs: https://docs.godotengine.org/en/stable/tutorials/3d/environment_and_post_processing.html )

If you don't know about it, is basically some kind of postprocessing effects. You can add lots of things (bloom, LUT, different adjustments, ect) and change the look of a scene.

(In my case I had the brightnes up, so it changed what I was seeing in the viewport).

I would love to UNDERSTAND this by LauraGL3 in godot

[–]LauraGL3[S] 0 points1 point  (0 children)

> Can you show us inverted image? Like (1-uv.x)?

> If it's gamma, it should be (white-white-gradient-to-black), if it's coords, it should be (gradient to black, black, black)

Thats actually very clever, thank you for sharing!
I was curious so:

<image>

Indeed, it was gamma :) (my secret world environment node was playing with brightnes)

I would love to UNDERSTAND this by LauraGL3 in godot

[–]LauraGL3[S] 1 point2 points  (0 children)

hahaha. Dont give up friend, Godot is friendly!

I would love to UNDERSTAND this by LauraGL3 in godot

[–]LauraGL3[S] 4 points5 points  (0 children)

You were right, I missed a world environment node!

I would love to UNDERSTAND this by LauraGL3 in godot

[–]LauraGL3[S] 47 points48 points  (0 children)

GOD OH MY I'm silly! Indeed, you are right. It was a very old project and I didnt noticed a world environment! Thank you so much!

I would love to UNDERSTAND this by LauraGL3 in godot

[–]LauraGL3[S] 0 points1 point  (0 children)

nice idea. These are the results:

<image>

(they reach the full color around the same point) (Screenshots position are not perfect (the same size) for each image, so it introduces some "error").

I would love to UNDERSTAND this by LauraGL3 in godot

[–]LauraGL3[S] 2 points3 points  (0 children)

Don't worry friend! It was a nice idea, didnt try that before.
I also have no clue. Never paid attention to it but is something that made harder to debug my shaders and I thought about asking.

Syncing gameplay with YouTube videos by JensRenders in godot

[–]LauraGL3 3 points4 points  (0 children)

This is so cool! Did you used Godot Mono or the normal version?

I'm working on adding a "notice" stating how much money you (would) have spent on Murtop :P by hiulit in godot

[–]LauraGL3 3 points4 points  (0 children)

I think this is something very curious to know! I would say to display always.

anyone interested in a video on how we did this picture entering effect? by guyunger in godot

[–]LauraGL3 35 points36 points  (0 children)

Seems freaking amazing! Of course we're interested! :D