HobbesHK

joined 1 year ago
[–] HobbesHK@startrek.website 2 points 3 months ago

I would just like them to finally release the Boimler and Mariner statues that have been on pre-order since October 2023 and for which the release date keeeeeeeeeeps slipping. Q2 2024 was the last we heard, but that’s definitely some time ago. Again.

Not impressed with Exo-6. They have my money (granted, a 25 USD pre-order) and have delivered NOTHING for almost a year now. Original planned release was Q4 2023 back when I ordered.

[–] HobbesHK@startrek.website 5 points 3 months ago

This worked perfectly - thank you!!

For anyone else looking here later, the final shader code (confirmed working Godot 4.2) is:

shader_type canvas_item;

uniform sampler2D screen_texture : hint_screen_texture;
uniform vec4 water_color : source_color;
uniform sampler2D wave_noise : repeat_enable;

void fragment() {
	vec2 water_wave = (texture(wave_noise, UV * TIME * 0.02).rg - 0.5) * 0.02;
	vec2 uv = vec2(SCREEN_UV.x , SCREEN_UV.y - UV.y) + water_wave;
	vec4 color = texture(screen_texture, uv);
	float mix_value = 1.0 - UV.y;

	float avg_color = (color.r + color.g + color.b) / 3.0;
	avg_color = pow(avg_color, 1.4);
	mix_value += avg_color;

	mix_value = clamp(mix_value, 0.0, 0.7);
	COLOR = vec4(mix(water_color, color, mix_value).rgb, texture(TEXTURE, UV).a);
}

Credits to Single-mindedRyan for creating this shader in the first place.

 

I have been looking for a 2D reflective water shader for some time and was delighted to see that this tutorial was posted on YouTube to create just that:

https://www.youtube.com/watch?v=wPr5PvSgxFo

I've had a go at implementing it and have got the reflective water rendering. It's very "Kingdom: Two Crowns" like when spread across the full width of the scene.

However, as you can see from the image above, I've drawn a pond (as a separate Sprite2D) and I've applied the water shader to the pond. It's done that, but draws the water as a rectangle.

Is there a way to apply this shader to the Sprite2D, but conform to the actual sprite (only the light blue), rather than as a rectangle?

[–] HobbesHK@startrek.website 0 points 4 months ago

It's not a patient game yet, but I caved and got Alan Wake 2 the other week. In the early stages so far (the game's quite scary!) but loving it.

[–] HobbesHK@startrek.website 3 points 5 months ago (1 children)

I think Burnham was referencing Book, not Tyler, when she said she knows what it’s like to lose someone but got him back. Book died during the final events of 10C, but they magically zapped him back into existence, if I recall correctly.

[–] HobbesHK@startrek.website 9 points 5 months ago (1 children)

I prefer the world-famous song “Press X to Jason”

https://m.youtube.com/watch?v=_56257iS77A

Since it’s about the first 5-10 minutes of the game, it’s not a big spoiler.

Stupid Jason.

[–] HobbesHK@startrek.website 2 points 5 months ago

Not sure either, ENT rewatch was some years ago… I think that might’ve been another time version / shapeshifter or something something?

[–] HobbesHK@startrek.website 8 points 5 months ago

Hah, yes! Or O’Brien, the most important Starfleet officer in history!

[–] HobbesHK@startrek.website 21 points 5 months ago (4 children)

As a show with so much promise, I often felt Disco reached for big concepts but never quite managed to get there. It would get bogged down with pathos and dragged out plot lines. Unfortunately, season 5 felt no different. This episode dragged on and on for me. Mol and L’ak had mostly become irrelevant and were completely unnecessary in this episode.

I get the series got axed and additional scenes were shot to round things out. But that random “we’re all hugging” scene? It was weird. And didn’t the actress who played Detmer say their absence was planned and revealing anything would be a big spoiler or something? Well. No, it really wasn’t.

Kovitsch was Daniels? I think at that point of the story, he could’ve been anyone and it wouldn’t have landed. He could’ve been Sloane (not dead after all!) and it would’ve made as much sense and be just as meaningful to the story.

The progenitor plot? With a tick list of “clues” and “challenges” to lead the way, but ultimately we decide your worthiness to reshape the universe as we know it with a geometry puzzle? I can’t even.

Discovery had potential, back in the day, but disappointed year on year. I had hoped this final season would offer redemption, but alas. Decent bunch of actors, but with subpar writing that usually went nowhere coherent. I won’t miss it. Glad it’s done. I hope Paramount learnt some valuable lessons from this and moves things on.

[–] HobbesHK@startrek.website 4 points 5 months ago (1 children)

Something about the former Primarch really reminds me of Sarris from Galaxy Quest.

[–] HobbesHK@startrek.website 2 points 6 months ago

Thanks for posting this here, just purchased it. Keen to dive into the 2D course and the Shaders course!

[–] HobbesHK@startrek.website 3 points 7 months ago

Did anyone else notice that the alien statues in 5x02 looked remarkably similar to the Batarians from Mass Effect?

[–] HobbesHK@startrek.website 1 points 10 months ago (1 children)

Have a look at Three Minutes to Eight - small indie game released on Steam a while back. Haven’t given it a good run myself yet.

And as someone else mentioned: Oxenfree. Definitely good vibes there.

 

I scoured all the Act 1 areas (probably still missed stuff) but finally decided to jump into Act 2. I'm struggling to feel "connected" to it, to be honest. I went down the ladder into the Underdark and just sailed my way across to some ancient Shar-worshipper place and I feel... lost?

I remember this was exactly the issue I had with D:OS2 as well. Played Fort Joy, loved it, made it off the island and couldn't figure out where to go, what to do, etc. The sense of direction left me.

I feel similar vibes here arriving in Act 2. Anyone have any tips or advice, or is it just a case of "stick with it, you'll be all right"? I'm asking because I've played a lot of Act 1 and barely touched the game since making it into Act 2 a few weeks ago.

 

Hi everyone, I was hoping someone could help me with the following. I have a button that saves a screenshot PNG to the Downloads folder when you press it.

What I want is for the button to disappear after it is pressed, so the screenshot does not include the two menu buttons called "%SaveReport" and "%BackMainMenu".

The code for the save button is listed below:

`

func _on_SaveReport_pressed():

$"%SaveReport".visible = false

$"%BackMainMenu".visible = false

print("I've disabled the buttons")
print("That means the screenshot SHOULD be button free")

take_screenshot()

$"%SaveReport".visible = true
$"%BackMainMenu".visible = true

`

As you can see, it calls the take_screenshot() function which is listed above:

`

func take_screenshot(): image = get_viewport().get_texture().get_image()

if OS.get_name() == "Web" or OS.has_feature('JavaScript'):
	print("We're on the web")
	# We're on the web		

	image.clear_mipmaps()

	var buffer = image.save_png_to_buffer()
	JavaScriptBridge.download_buffer(buffer, fileName)

if OS.get_name() != "Web" or !OS.has_feature('JavaScript'):
	# We're not on the web
	print("We're not on the web")
	
	var docs = OS.get_environment("HOME") + "/Documents"
	
	var title = str(docs + "/results",global_ints.observed_person_name, global_ints.observation_minutes,".png")
	
	print(title)
	
	var _saveimage = image.save_png(title)
	
	if OS.get_name() != "OSX":
		print("We're not on MacOS")
		var _openfolder = OS.shell_open(docs)
	
	if OS.get_name() == "OSX":
		print("We're on MacOS")
		
		var _openfolder = OS.shell_open("file://" + docs)

`

The code works. The screenshot is taken and it's saved to the Downloads folder and MacOS/Windows/Linux open up the Downloads folder straight after.

For the life of me, I can't figure out why the Back & Screenshot buttons ( "%SaveReport" and "%BackMainMenu") that I turn invisible BEFORE I call take_screenshot() end up being in the screenshot. Every single time.

Anyone have any ideas?

Thank you!

 

Hi everyone,

Pretty much as I described in my toot (text copied here). Is anyone aware of what I may need to fix to get this plugin to work again?

I'm hoping someone can help me with a Godot engine question. With the Q&A forum being read-only, I'm hoping Lemmy people can answer this one for me.

I'm trying to use this plugin for HTML5 downloads in Godot 4.1:

https://github.com/Pukkah/HTML5-File-Exchange-for-Godot

It's for Godot 3.4, but I've upgraded my projects and want to stay in 4.1.

Currently, it throws an error “Identifier JavaScript not defined in scope” (see screenshot).

Would anyone have an idea on what to fix here? Thanks!

view more: next ›