@lisyarus@mastodon.gamedev.place
@lisyarus@mastodon.gamedev.place avatar

lisyarus

@lisyarus@mastodon.gamedev.place

He/him

I live in a totalitarian state, teach computer graphics, and make videogames

Check out my cozy traffic simulator: https://store.steampowered.com/app/2403100/Costa_Verde_Transport_Department/

This profile is from a federated server and may be incomplete. Browse more on the original instance.

lisyarus, to random
@lisyarus@mastodon.gamedev.place avatar

"Grass cutting tasks" get automatically cancelled when the grass dies out. I had to make some big upgrades to my ECS implementation for this to work properly

video/mp4

lisyarus,
@lisyarus@mastodon.gamedev.place avatar

@elitihak Well, I wanted to do it by specifying a child-parent relationship between the task and grass entities (child gets destroyed if the parent is destroyed), but I didn't want to hard-code this logic into the ECS itself. My ECS has support for constructors and destructors (functions called on entities matching a specific set of components when the entity is created/destroyed), and support for per-world singleton objects (intended to be used as e.g. search acceleration structures, etc).

lisyarus, to random
@lisyarus@mastodon.gamedev.place avatar

Your daily reminder that in almost all aspects of technology (and probably life as well) the answer to any question is not one of the fanatical "die on this hill" extremes, but a boring and unenlightening "it depends".

lisyarus, to random
@lisyarus@mastodon.gamedev.place avatar

I've mostly settled on how the first iteration of villagers' AI should work, now prototyping a "harvest" tool that selects all entities eligible for harvesting (the red arrows are temporary ofc)

video/mp4

yassie_j, to random
@yassie_j@labyrinth.zone avatar

In the UK, Europe, Asia, and other places that follow international road sign standards, this sign warns drivers that there is a wormhole up ahead.

lisyarus,
@lisyarus@mastodon.gamedev.place avatar

@yassie_j Lisan al Gaib!

lisyarus, to random
@lisyarus@mastodon.gamedev.place avatar

I accidentally left the simulation for a long time and it converged to a very cool dynamic equilibrium with two species only contacting at a single spot and neither of them winning

video/mp4

lisyarus, to random
@lisyarus@mastodon.gamedev.place avatar

Making two "plant" species governed by cellular automata-like rules fight each other

video/mp4

lisyarus, to random
@lisyarus@mastodon.gamedev.place avatar

I'm at this stupid stage of the project when I can't randomly prototype anymore kuz I have specific plans, but I don't have a solid foundation to work with yet, so I have to invent it on the way, and it's hard.

Still, I'm making progress. Here's some grass spreading mechanic :)

video/mp4

lisyarus,
@lisyarus@mastodon.gamedev.place avatar

@efi Ugh, just need to figure out how to map all the mechanics into my specific ECS implementation

lisyarus,
@lisyarus@mastodon.gamedev.place avatar

@efi 🌚🌚🌚

lisyarus, to random
@lisyarus@mastodon.gamedev.place avatar

Felt like having some energy for cooking again. Here's some pasta with mushrooms in a cream+parmigiano sauce, and chicken fried in tomato sauce with carrots and buckwheat.

image/jpeg

efi, to random
@efi@chitter.xyz avatar

how do I remove the changes to a file a single commit made in the middle of the history?

lisyarus,
@lisyarus@mastodon.gamedev.place avatar

@efi If there were no changes to that file after that, you can do

git checkout <last-good-revision> -- <path-to-file>

Otherwise the only thing I can think of is

git revert <bad-commit> --no-commit

and then discard all the changes that don't touch your specific file

lisyarus,
@lisyarus@mastodon.gamedev.place avatar

@efi Hmmm wdym "which side"?

bug, to gamedev
@bug@fosstodon.org avatar

✨ New blog post! Fixing the iterative damping interpolation in video games

https://blog.pkh.me/p/41-fixing-the-iterative-damping-interpolation-in-video-games.html

#GameDev #math

lisyarus,
@lisyarus@mastodon.gamedev.place avatar

@bug Hi! I wrote a very similar thing about a year ago, thought you might be interested: https://lisyarus.github.io/blog/posts/exponential-smoothing.html

lisyarus,
@lisyarus@mastodon.gamedev.place avatar

@bug Yep, I was planning to mention expm1 (which is also more precise) but decided the post is already too long :)

The thing wiki mentions is actually the same as in my article: if you divide a thing by e = 2.71828, you get 0.3678 of the thing, or 36.78%, meaning you got closer to zero by 100 - 36.78 = 63.21%

efi, to random
@efi@chitter.xyz avatar

discourage me

lisyarus,
@lisyarus@mastodon.gamedev.place avatar

@efi don't

BartWronski, to random
@BartWronski@mastodon.gamedev.place avatar

I am excited to finally share our recent paper "Filtering After Shading With Stochastic Texture Filtering" (with Matt Pharr, @marcosalvi, and Marcos Fajardo), published at ACM I3D'24 / PACM CGIT, where we won the best paper award! 1/N

lisyarus,
@lisyarus@mastodon.gamedev.place avatar

@aras @BartWronski "a sensible application of a theory that has not been formulated yet" is pretty much all particle physics since 1950s 😄

niconiconi, to random

"Lambda expressions are objects - their types are classes, so we can inherit from them too."

statements dreamed up by the utterly deranged

lisyarus,
@lisyarus@mastodon.gamedev.place avatar

@niconiconi @whitequark Imo this trick combined with lambdas is the closest we have in C++ to pattern-matching on sum types

aeva, to random
@aeva@mastodon.gamedev.place avatar

I need to get my mind off the bad. Anything good going on tonight for anyone? Feel free to share things your excited about or happy about or just cool stuff you've come across recently

lisyarus,
@lisyarus@mastodon.gamedev.place avatar

@aeva Returning to my passion game project, doing much more detailed planning this time, have an exciting feeling that I'm slowly learning how to organise work for such things, and generally happy to by working on this again.

Also kinda got used to walking every day around the apartment complex where I live, there's a river and trees and omg so many birds! One I haven't still identified even.

whitequark, to random
@whitequark@mastodon.social avatar

(reverse engineering something voice)
msvcrt was a mistake
also, c++ was a mistake

lisyarus,
@lisyarus@mastodon.gamedev.place avatar

@whitequark oi mate whatcha cookin'ere

lisyarus, to random
@lisyarus@mastodon.gamedev.place avatar

I'm slowly returning to the development of my village building game, and what's a better way to do that other than making a new devlog! :3

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • ethstaker
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • tester
  • khanakhh
  • everett
  • thenastyranch
  • Youngstown
  • slotface
  • tacticalgear
  • kavyap
  • osvaldo12
  • JUstTest
  • mdbf
  • GTA5RPClips
  • ngwrru68w68
  • provamag3
  • Durango
  • rosin
  • cisconetworking
  • normalnudes
  • modclub
  • megavids
  • cubers
  • Leos
  • lostlight
  • All magazines