HN user

mdtrooper

622 karma
Posts42
Comments194
View on HN
supertuxkart.net 3mo ago

The History of SuperTuxKart

mdtrooper
1pts0
github.com 5mo ago

LibGodot Lands in Godot 4.6, Enabling Engine Embedding

mdtrooper
1pts0
eslib.re 8mo ago

EsLibre 2026: Spain's open source event (mostly in Spanish), Apr 17–18

mdtrooper
2pts1
www.youtube.com 9mo ago

SuperTuxKart 1.5 official trailer [video]

mdtrooper
1pts0
www.youtube.com 1y ago

Why Blender Changing to Vulkan Is Groundbreaking [video]

mdtrooper
56pts45
www.vega-strike.org 1y ago

Vega Strike 0.9.0 Released

mdtrooper
2pts0
lyra.horse 1y ago

CSS Clicker – incremental game about making a personal web, written in pure CSS

mdtrooper
31pts6
git.minetest.land 1y ago

VoxelLibre Release Notes 0.89

mdtrooper
3pts0
github.com 1y ago

New release of Cataclysm-DDA, 0.H-RELEASE

mdtrooper
8pts2
en.wikipedia.org 1y ago

Piecepack Article in Wikipedia

mdtrooper
1pts1
www.w4games.com 1y ago

W4 Consoles Officially Launches Today

mdtrooper
2pts0
github.com 1y ago

Td-watson (a CLI timetracker) is going to adoped by Jazzband

mdtrooper
2pts0
godotengine.org 2y ago

Godot Community Poll 2024

mdtrooper
2pts0
jairajdevadiga.com 2y ago

Let's make games open source, so future generations can enjoy them

mdtrooper
5pts1
github.com 2y ago

Not Enough Nots

mdtrooper
1pts1
news.ycombinator.com 2y ago

The problem of min length in text inputs for non-Latin languages

mdtrooper
1pts0
www.intsys.co.jp 2y ago

Old website 1997 (online): Metal Combat: Falcon's Revenge

mdtrooper
1pts1
www.youtube.com 2y ago

[spanish]Interview to Emilio Coppola Executive Director Godot Foundation [video]

mdtrooper
1pts0
github.com 2y ago

GodSVG: An application for creating small and tidy SVG files. Built with Godot

mdtrooper
2pts0
www.youtube.com 2y ago

All (for now) 219 Godot nodes explained in 42 minutes [video]

mdtrooper
2pts0
media.ccc.de 2y ago

Videos of Godotcon 2023

mdtrooper
250pts45
godotengine.org 2y ago

Dev snapshot: Godot 4.2 beta 5

mdtrooper
3pts0
slate.com 2y ago

The Means of Gaming Production: video game industry labor cooperatives

mdtrooper
2pts2
w4games.com 2y ago

Call for co-exhibitors for GDC 2024: join the Godot pavilion booth

mdtrooper
2pts0
gist.github.com 2y ago

Juan Linietsky (BDFL Godot): From Larvita to Godot

mdtrooper
5pts0
gist.github.com 2y ago

Godot codebase goes far back to around 2002

mdtrooper
3pts0
gamefromscratch.com 2y ago

Unreal Engine Pricing Changes

mdtrooper
45pts52
www.gamesindustry.biz 2y ago

Pistol Shrimp and the importance of owning what you make

mdtrooper
3pts0
gist.github.com 2y ago

Article reply “Godot is not the new Unity” from Juan Linietsky (BDFL of Godot)

mdtrooper
277pts80
freegamedev.net 2y ago

Freegamedev.net

mdtrooper
2pts0
TypeScript 6.0 RC 5 months ago

What has always bothered me about TypeScript are union types. If you have a function that receives a parameter such as ‘Dog | Cat’, you cannot separate it. For example:

type Dog = { bark: () => void }

type Cat = { meow: () => void }

function speak(animal: Dog | Cat) {

    if (‘bark’ in animal) {

        animal.bark();

    } else {
        animal.meow();
    }
}

Okay, okay, I know you can filter using ‘in’ to see if it has methods, but in real life, in a company where you have a colleague (who is a golden boy) who writes over-engineered code with hundreds of interfaces of interfaces, you don’t want to spend time searching through the files to find every element that is in the union type.

Whereas in Rust it does:

struct Dog { name: String, }

struct Cat { name: String, }

enum Animal {

    Dog(Dog),

    Cat(Cat),
}

fn process_animal(animal: Animal) {

    match animal {

        Animal::Dog(dog) => {

            println!(‘It is a dog named {}’, dog.name);

        }

        Animal::Cat(cat) => {

            println!(‘It is a cat named {}’, cat.name);

        }
    }
}

I think TypeScript should add a couple of lines of code to the generated JavaScript to do something like:

type Dog = { bark: () => void }

type Cat = { meow: () => void }

function speak(animal: Dog | Cat) {

    if (animal is Dog) {

        animal.bark();

    } else {

        animal.meow();

    }
}
iPhone 17e 5 months ago

Some years ago a chinese company released a phone with 2 screens, one typical mobile screen and other side a e-paper screen. But I don't remember what happened, but unfortunately this idea didn't succeed.

There is not a old socket from the toilets in the old trains (maybe trains are 60 years old...more or less 1970) in Spain. This sockets are near the mirror and I think that this sockets were for old electic shavers.

I think these kind of things will bring problems.

Because Nint€ndo or $ony (and others game companies) have a big problem, their old games are awesome and if the people can play these games, then the people will be happy and will not need new games or new sagas.

Because the problem is not the people playing old games, the real problem is the people will not pay for new games

And we know that these companies have army of lawyers (and "envelopes" to distribute among politicians) to change the laws and make illegal something that is not illegal.

In Spain we have 2 last names:

- first last name from last name first of the father.

- second last name from the last name first of the mother.

And with this method we have collisions.

In Portugal the last name come from the mothers.

I love this kind of free software (or open source) project.

It is a hard work for several years.

I think that the goal or finish of this work is the engine and a new (similar to old close game) set free assets (sprites, 3D models, maps, music...). And I know few projects in this point, OpenTTD and FreeDoom.

Are there more projects in this point?

Sorry I only know the spanish community. But the last years, the gamebooks (spanish) have been revival with a lot complex and interesting things.

For example loops, like as Groundhog Day (film), the book is https://www.puntodeheroe.com/elbucle.html

Or open worlds, like as modern RPG or GTA, the book is https://jose-tamayo.itch.io/la-leyenda-okiri .

Or Elite like gamebooks, the book https://sites.google.com/view/spacegom/inicio .

Plus, there are other new mechanics in other gamebooks.

I found out this morning, it's quite interesting. But I have some questions about the dot ID.

Can I use IDs in mathematical/logical operations (I've been testing and haven't been able to add two IDs together)?

Can the value be exchanged for the ID?

Well, the final question is: what is the ID for?