alertsleeper

joined 1 year ago
 

beginner question: What is the advantage of using cmp::Ordering::Less over "<", same for Greater and Equals?

[–] [email protected] 1 points 11 months ago
[–] [email protected] 5 points 1 year ago

that makes sense, thank you!

 

I'm starting to plan what would be my first game. I have a general idea of the movement system I want, but I'm unsure if it will work as I expect it.

Is there any software where I can make a sort of animated mock-up of what I have in mind?

Alternatively, how is this typically addressed in game development?

Thank you!

[–] [email protected] 5 points 1 year ago

Wow I can't believe I hadn't heard about this WEI monstruosity

[–] [email protected] 15 points 1 year ago (1 children)

if the kids distract me when I'm in the middle of something, a certain amount of cursing might happen

That certain amount must be a rather fun one knowing his insulting prowess

[–] [email protected] 6 points 1 year ago (1 children)

I think this timestamp-as-a-boolean is a good idea if the field is always going to be interpreted as either True or False and nothing more. If the field in question allows for a 3rd (uncertain) value, then using a timestamp would be extremely confusing.

[–] [email protected] 0 points 1 year ago (2 children)

Would you be so kind as to recommend some resources about caching? I've read the basics, but have yet to dive deep on it