mac

joined 1 year ago
 
 

This description is a repost of what was said about the project on the nix discourse

SkaraboxOS provides a flake template which combines:

  • Creating a bootable ISO, installable on an USB key.
  • nixos-anywhere to install NixOS headlessly.
  • disko 1 to format the drives.
  • deploy-rs 2 to deploy updates.

SkaraboxOS expects a particular hardware layout:

  • 1 SSD or NVMe drive for the OS.
  • 2 Hard drives that will store data. Capacity depends on the amount of data that will be stored. They will be formatted in Raid 1 (mirror) so each hard drive should have the same size.

WARNING: The 3 disks will be formatted and completely wiped out of data.

At the end of the process, the server will:

  • Have an encrypted ZFS root partition using the NVMe drive, unlockable remotely through ssh.
  • Have an encrypted ZFS data hard drives.
  • Be accessible through ssh for administration and updates.

discourse post

[–] mac@programming.dev 3 points 6 months ago (2 children)

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@programming.dev 6 points 6 months ago

Yes, or it compiles to JavaScript. From the version 1 post

[–] mac@programming.dev 22 points 6 months ago* (last edited 6 months ago)

Tried looking. According to one of the users who posted it its by 0x00 whos the person who made floor 796. All things I can find relating to them are floor 796 related though and can't find where this was originally posted

Heres floor 796 though if anyones interested https://floor796.com

[–] mac@programming.dev 10 points 6 months ago

All lemmy apps are sublinks apps, it has api compatibility

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

[–] mac@programming.dev 12 points 6 months ago* (last edited 6 months ago) (4 children)

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

[–] mac@programming.dev 2 points 6 months ago (1 children)

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

[–] mac@programming.dev 32 points 6 months ago

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

Thats what Codeberg uses

[–] mac@programming.dev 12 points 7 months ago (1 children)
[–] mac@programming.dev 3 points 7 months ago* (last edited 7 months ago)

Canada (Ontario)

  • preschool
  • junior kindergarten, senior kindergarten, grades 1-6 | elementary school
  • grades 7-8 | middle school (or also elementary if the school is K-8)
  • grades 9-12 | high school
[–] mac@programming.dev 10 points 7 months ago

Theyre two different softwares with two different apis, you can't

[–] mac@programming.dev 7 points 7 months ago* (last edited 7 months ago)

Lemmy is indexed so can be found on search engines while discord cant

For internal search without using a search engine discord has had way more devs, time and money thrown at it. Still would say its barely better than lemmy (just is cause of the time filters)

[–] mac@programming.dev 29 points 7 months ago (1 children)

Its a link aggregator, links get aggregated

Theres a bunch of original content if you look at the right communities. For example !foodporn@lemmy.world

view more: ‹ prev next ›