@mac@programming.dev cover
@mac@programming.dev avatar

mac

@mac@programming.dev
  • 🎮Indie game dev
  • 💬Adding content to programming.dev

posting things from the 160+ rss feeds I follow. You should see me post links in two chunks for when im reading stuff, once in the morning and once in the evening ET. If you want some of my sources for certain communities feel free to dm

This profile is from a federated server and may be incomplete. For a complete list of posts, browse on the original instance.

mac OP ,
@mac@programming.dev avatar

Rather than usual sails these are solid and foldable and act more like plane wings

mac ,
@mac@programming.dev avatar

I dont know how larger games do it but it mostly depends on what kinds of enemies and what genre of game youre doing.

If you have a lot of enemies that will be spawned and despawned and they are mostly the same you can do an object pool where instead of destroying the object it gets hidden and added to the back of the pool for another enemy to spawn in as in the future by showing it and moving it to the correct spot

In terms of when to spawn it usually (assuming youre doing most genres) you can just spawn it right outside the view of the player when they hit a trigger. In games I usually make enemies are spawned on a timer since it tends to be more arcade like and in that case you usually just spawn them outside the range of the player in a random location around a radius after X amount of time has passed

Can give more specific things if I know the genre

Also downvote is likely someone from the all feed

mac ,
@mac@programming.dev avatar

For old reddit style theres mlmym which fills that niche better (e.g. for you that would be at https://old.lemmy.world)

Default UI is currently getting overhauled in a bunch of different ways. Lemmy-Leptos for Lemmy itself, and new UIs for Sublinks and Piefed as they get constructed

mac ,
@mac@programming.dev avatar

Not all work with someone happens from opening up issues or PRs

TIL about Sublinks, a Java-based alternative to Lemmy's backend ( github.com )

Today I learned about Sublinks (here), an open-source project that aims to be a drop-in replacement for the backend of Lemmy, a federated link aggregator and microblogging platform. Sublinks is designed to be initially API-compatible with Lemmy, allowing existing Lemmy clients, such as Lemmy-UI, to integrate seamlessly....

mac ,
@mac@programming.dev avatar

Theres more than just the api repo and pull requests are squashed in some of them making it show as less

mac ,
@mac@programming.dev avatar

API pretty much already has parity, should be done way quicker than that

mac ,
@mac@programming.dev avatar

All lemmy apps are sublinks apps, it has api compatibility

The demo site also isn't an instance for accounts, its a demo

mac ,
@mac@programming.dev avatar

For self hosting there's also Forgejo which is a fork of Gitea

Thats what Codeberg uses

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines