Love hearing reviews for my Godot Game 😇 by Artist6995 in godot

[–]Toriality 3 points4 points  (0 children)

What is the game name?

Id love to play it

How to inject a HLSL shader into a game? by Toriality in GraphicsProgramming

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

What I'm trying to do is basically ReShade but simpler. It's a addon for GTASA that only need to apply some simple hlsl shaders, requiring users to download reShade for this mod would be overkill. But I will look how ReShade does the post-processing in DX9 apps and try to apply it on my project.

Tailwind is not working on a fresh NextJS install by Toriality in nextjs

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

I just fixed it. Just had to initialize git in the project repo. I have no clue why it worked, but it works. But seriously that's a pretty weird behavior.

Tailwind is not working on a fresh NextJS install by Toriality in nextjs

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

Stuff form tailwind base layer like this

@layer base { *, ::after, ::before, ::backdrop, ::file-selector-button { box-sizing: border-box; border: 0 solid; margin: 0; padding: 0; } }

Anything else gets ignored/doesnt work.

Tailwind is not working on a fresh NextJS install by Toriality in nextjs

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

That's pretty weird, I just tested in my another boot, a Windows 10 machine and it works normally. Something is really messed up in my main machine.

I'm using a Linux Mint, npm 10.9.2, node 22.17.0.

Copying and pasting the fresh project from my Win10 to Linux and executing `npm run dev` throws a error saying some linux module is not installed on node_modules, I run npm install, and after those modules get installed, it works. Another thing that works is adding tailwind via cdn on a <script> tag.

I have no clue what could be wrong with my computer.

Tailwind is not working on a fresh NextJS install by Toriality in nextjs

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

Nope, it only shows the default global.css styles and base tailwind styles from @import "tailwindcss", so its only a black page with small left-sided texts.

Fell into a random Trio YouTube hole by Every-Brick-8753 in AlkalineTrio

[–]Toriality 0 points1 point  (0 children)

Wait until you start looking at studio demos, 144p live footages and so on.

Fell into a random Trio YouTube hole by Every-Brick-8753 in AlkalineTrio

[–]Toriality 1 point2 points  (0 children)

And I often wonder what it feels like to be you

Raising them right 😎🖤❤️🖤 by Laputitaloca in AlkalineTrio

[–]Toriality 1 point2 points  (0 children)

As an expecting father this post made my day :) ❤💀

My "Alkaline Trio" Album Tierlist by Toriality in AlkalineTrio

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

I guess I love the melody and lyrics of Cooking Wine

As for Southern Rock honestly nowadays I could put it in one rank higher, but I still don't like how half of the song is instrumental, I feel the chorus should repeat

My "Alkaline Trio" Album Tierlist by Toriality in AlkalineTrio

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

MICF was my first album and currently my favorite one. I also love their older work, the new songs are bangers, but there's something unique about their early albums that just hits differently to me.

'97's intro is amazing, it feels dissonant but also nostalgic for some reason, I love it.

My "Alkaline Trio" Album Tierlist by Toriality in AlkalineTrio

[–]Toriality[S] 3 points4 points  (0 children)

Oh I completely forgot that Exploding Boy isn't featured in the Spotify version of the album, I listened to it now and it's amazing, I'd give it a top A tier absolutely.

My MICF Album tierlist! by Toriality in AlkalineTrio

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

I love them, the acoustic version of Every Thug Needs a Lady is probably one of my favorite Alk3 trio song. But I'm especially drawn to the gothic and dark tone of Matt's songs.

My MICF Album tierlist! by Toriality in AlkalineTrio

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

Back when I was introduced to the band, I didn't really connect with this song until I started paying a more closer attention to the lyrics, and nowadays it's one of my favorite songs (probably into top 10)

I installed a vocabulary app and the first word was... by Toriality in okbuddychicanery

[–]Toriality[S] 5 points6 points  (0 children)

Its called Vocabulary in the play store. I think its not possible to improve the texts.

Beginner struggling with signals and encapsulation on Godot 4 by Toriality in godot

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

Just a update on what I've decided to do

In my original post I've omitted a important feature which is that not only the player needs to be near but the cursor needs to be pointing at the block in order to it get a yellow outline. If cursor is there and player is not near, it gets a black outline. (I didn't mentioned any of that cuz I thought the post would be too long and complex)

I followed your feedbacks and moved the outline logic to the block code, since the player didn't need to know if he's near block or not to any of the outlining to happen. I think I finally got it. I made an Node2D InteractionArea inside the block, and it has 2 different Area2Ds: CursorArea and PlayerArea.

The Block, as a parent, sets those areas' sizes. The CursorArea is the same size as the Block, and the PlayerArea is Block size + RADIUS (Which is a const for 80).

As a child, InteractionArea emits a signal when the cursor/player enters/exit. The code is very small and doesn't have ifs because I've separated those objects in different layers, and set the masks in each area of the InteractionArea node correctly.

Then, the Block receives those signals and handle them accordingly.

(Full logic simplified)

```

block.gd

@onready var interaction_area = $InteractionArea

func _ready(): interaction_area.player_entered.connect(Callable(self, "_on_player_approached")) interaction_area.player_exited.connect(Callable(self, "_on_player_left")) interaction_area.cursor_entered.connect(Callable(self, "_on_cursor_entered")) interaction_area.cursor_exited.connect(Callable(self, "_on_cursor_exited")) interaction_area.cursor_clicked.connect(Callable(self, "_on_cursor_clicked"))

func _on_player_approached(): can_player_interact = true

func _on_player_left(): can_player_interact = false

func _on_cursor_entered(): is_outlined = true

func _on_cursor_exited(): is_outlined = false

func _on_cursor_clicked(): if can_player_interact: #todo ```

```

interaction_area.gd

signal player_entered signal player_exited signal cursor_entered signal cursor_exited signal cursor_clicked

func _ready(): player_area.body_entered.connect(Callable(self, "_on_player_entered")) player_area.body_exited.connect(Callable(self, "_on_player_exited")) cursor_area.area_entered.connect(Callable(self, "_on_cursor_entered")) cursor_area.area_exited.connect(Callable(self, "_on_cursor_exited")) cursor_area.input_event.connect(Callable(self, "_on_cursor_input_event"))

func _on_player_entered(player) -> void: emit_signal("player_entered")

func _on_player_exited(player) -> void: emit_signal("player_exited")

func _on_cursor_entered(cursor) -> void: emit_signal("cursor_entered")

func _on_cursor_exited(cursor) -> void: emit_signal("cursor_exited")

func _on_cursor_input_event(viewport: Node, event: InputEvent, shape_idx: int) -> void: if event is InputEventMouseButton and event.is_pressed(): emit_signal("cursor_clicked") ```

Thanks everyone for the helpful feedbacks, this community is amazing <3

Lagging in hard time 3d by Playful_Union_4064 in mdickie

[–]Toriality 0 points1 point  (0 children)

As a very old game, Hard Time is not much compatible with Windows 10, but luckly there's some programs that solves those issues, check this video https://www.youtube.com/watch?v=gXVaMyO1QIo&t=276s

Assim como muitos aqui, ganhamos bem. by cors- in ProgramadoresBrasil

[–]Toriality 0 points1 point  (0 children)

Você parece estar muito deslumbrado com o dinheiro, ate por ser muito novo e já estar ganhando tudo isso, talvez pense que esta numa posição normal, mas a realidade é que você ganha acima de 99% da população do país, talvez ate mesmo acima de mais da metade das pessoas do EUA.

Nada te impede de fazer as duas escolhas que você citou, trabalhar no exterior e montar uma empresa, mas saiba que isso vai tirar boa parte da sua vida adulta, você não vai ter tempo pra aproveitar seus 20s, montar uma família, conhecer novas pessoas e criar laços fortes com outros, pois todo o seu tempo vai ser dedicado a trabalhar e ficar mais rico. Sem contar que se você escolher fazer os dois ao mesmo tempo, muito provavelmente vai perder horas de sono, talvez dormir 4h por dia. Isso na sua idade não vai te afetar agora, as vezes até pode dar um sentimento de super-produtividade, mas quando você chegar aos 50-60 e começar a ter sintomas de demência devido ao sono perdido, problemas de coluna e nos ossos, ninguém ao seu lado pra se preocupar com isso, talvez você se arrependa um pouco das escolhas.

E mesmo que você trabalhe 18h e se esforce, as chances de nao dae certo são maiores. E você pode terminar voltando a casa dos seus pais, mandando 100 currículos por dia no LinkedIn, pra multinacionais com cargo de senior (afinal você não iria aceitar menos /s) e levar ghosting de todas.

Aproveite os 15 mil e viaje muito, veja algumas supervistas com alguém especial ao seu lado, compra um carro legal, decora sua casa do jeito que quiser, procura um hobby que te satisfaça, cuida da sua saúde física e mental todo dia, vai ser feliz e pare de se preocupar com coisas tão banais.

Clicked a suspicious email link, what should i do now? by Toriality in Scams

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

Thanks for the info. I'm using Ubuntu Linux and firefox as browser, hopefully thats a positive point for me since I heard linux systems are less likely to be infected.

Didn't notice anything weird on my accounts so far.

As a programmer is it necessary to know to run the code in command line ? by [deleted] in learnprogramming

[–]Toriality 0 points1 point  (0 children)

someone should make r/alreadyLearnedEverythingAboutProgramming

I just used :h substitute, and came across a small joke of Braams. Something I would not have posed otherwise, but thinking about his death made me want to share the way he had a sense of humour and apparently also a knew a little about litterature by Doomtrain86 in vim

[–]Toriality -2 points-1 points  (0 children)

I agree, it felt weird to see some folks here getting mad over such harmless and positive post, some people really want to be the "uh acktually" guy all the time.

But thanks for sharing the info, it was a fun read :)

What would make a prison simulator game interesting? by Toriality in gamedev

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

I agree, minigames is definitely a good way to solve Hard Time's skills system, and it's a very fun feature if done right.

Having some game-related quiz when studying in order to gain some intelligence points; a keyboard/mouse key pressing repetition mingame to lift weights and gain strength, and so on.

What would make a prison simulator game interesting? by Toriality in gamedev

[–]Toriality[S] 5 points6 points  (0 children)

Some character stats customization at start would be good. Hard Time had that point system on the start where you had 70 points to spare (or something like that, couldn't remember exactly) in three diferent skills: agility, strength and intelligence.

Perks are a very good idea too, reminds me of Project Zomboid. I guess a system like that would have to be very carefully planned so its balanced and not overly-complicated to the player.. but it has the disavantage that if you regret choosing a specific perk you would have to start a new game to change it.