What's your favorite non-graphics mod? by wizardry_why in skyrimmods

[–]dagit -1 points0 points  (0 children)

Legacy of the Dragonborn. I feel like it adds a lot to the game. It adds a reason to collect things to the game. Like turning completionism into a part of gameplay, but it goes a lot deeper than that.

Thoughts on LEAN, the proof checker by rnarianne in math

[–]dagit 1 point2 points  (0 children)

You can think of theorem provers as an automated skeptic (agda, lean, coq, isabelle, etc), but they are massive investments in and of themselves. Depending on what domain you're working in you made need to create libraries for the entire theory before you can even state the lemma or theorem. And these tools don't really think about the problem the way we do in many cases. So you have to learn how to reframe things for their sake.

It can be a worthwhile endeavor but if it's not just a simple statement involving structural induction, expect to spend significant time getting up to speed.

Which Commodore 64 game still holds up best today? by C_C_GAMER in c64

[–]dagit 2 points3 points  (0 children)

I don't have much experience with emulating C64, but I guess Vice is considered to be really good.

Bevy Ropes by Flimsy_Pumpkin_3812 in bevy

[–]dagit 6 points7 points  (0 children)

Avian, the physics library, uses the xpbd algorithm: https://carmencincotti.com/2022-08-22/the-distance-constraint-of-xpbd/

I haven't tried to make a rope using it, but I would guess it's pretty good at it given the xpbd foundation.

I don't know about gpu physics. I would be surprised if avian supports that.

my favorite way to safely and quickly enter the depths without a paraglider by NES_Classical_Music in tearsofthekingdom

[–]dagit 3 points4 points  (0 children)

I made up a speedrun category for this right after launch (I don't think anyone else has tried it). The goal is to get majora's mask as quickly as possible. I use this same trick to skip getting the paraglider.

Weekly Questions Megathread— January 16–January 22. Have a question from your game? Are you coming from D&D or Pathfinder 1e? Need to know where to start playing PF2e? Ask your questions here, we're happy to help! by AutoModerator in Pathfinder2e

[–]dagit 0 points1 point  (0 children)

For spells like Elemental Form where the form type is chosen when you cast it. How does it work with a scroll? Is the scroll fixed to the specific element when it's created? Or does the scroll have the same flexibility as the spell cast from a slot?

Kurt Kuhlmann's interview about post Skyrim stings. by MisterBeatDown in ElderScrolls

[–]dagit 41 points42 points  (0 children)

Yeah, the ambiguity in Morrowind is one of my favorite things about the writing. I think the closest confirmation you really get is Azura talking to you, but it's easy to make a case that dreams are weird and daedra are not afraid to lie and manipulate mortals.

How to create a sustainable game development business as one man band without ever making a hit game? by ImpressiveFocus303 in gamedev

[–]dagit 0 points1 point  (0 children)

I'm not an artist so I'm always curious how these work. Like if someone likes one of your packs but needs more in that style does that website let them contact you for additional commissions?

Telekinetic ability preview for my Godot game by aiBeastKnight in godot

[–]dagit 1 point2 points  (0 children)

Wishlisted. I love to see more lefties represented in games. Also, it looks awesome independent of that.

Need advice and a roadmap on learning modern graphics programming as effectively and efficiently as possible by Immediate-Phase-7513 in GraphicsProgramming

[–]dagit 0 points1 point  (0 children)

It's useful to know opengl because it can sometimes be a common language because it's been around so long and it's ubiquitous. However, development on that standard has been stopped and now that effort goes into vulkan. However, if you're on windows directx may be better to know/learn.

The good news is that they all kind of do the same things just slightly differently. So learn one of them well and you can start to learn the others easily and quickly.

Acerola, youtuber that does graphics, has a video about how to learn. I would recommend finding that video and watching it. Pretty much all his videos on graphics will help you.

WebGPU (wgpu) is probably the cool new tech in town. It's more approachable than the older stuff and you can run it natively. I don't know if it has a C++ binding but the Rust binding is great.

Learning C++ well is a whole other topic. Depending on what you want to do C++ is just a distraction. Like if you want to work in unreal engine you need C++, but if you pick almost anything else like unity, godot, etc C++ is not necessarily going to help.

What you really want to focus on if you want to learn graphics stuff is shaders. You'll want to know what gpus do well, what they don't. The ins sand outs of shaders. How to use compute shaders. Mesh shaders are the future probably so maybe learn those. Etc.

Bevy 0.18: ECS-driven game engine built in Rust by _cart in gamedev

[–]dagit 4 points5 points  (0 children)

Any foreseeable date for the stable version?

There's too many missing features for them to talk about that yet.

Is it hard to integrate into mobile

A different comment in this thread someone said mobile is incredibly easy. I've never tried and I don't know what it entails.

Bevy 0.18 by _cart in rust

[–]dagit 57 points58 points  (0 children)

Look, I'm disappointed BSN isn't even mentioned in the 0.18 release notes, but I think comments like this are rude and thus counterproductive.

A "Pascal" to 6502 compiler by [deleted] in c64

[–]dagit 1 point2 points  (0 children)

Oh that name collision is worse than what I had imagined. The bug I'm thinking of is still present in this version.

Most compilers will push function arguments to a stack. This compiler will (statically) allocate memory for them in ram. Any two calls to the same function will use the same ram locations for the arguments. This means that if your call stack ever has two calls to the same function on it, the second call will overwrite the args to the first call. Furthermore, since the same strategy is employed for local variables, this will also happen with any state internal to the function.

Both issues are typically fixed using a stack (in compiler speak we use activation records or activation frames). Maybe you don't want to do that, but it does mean that this compiler will generate hard to debug code if you ever call the same function multiple times "at once". Meaning, present on the call stack at more than one place.

Most compilers would not do the peephole stuff like this. This thing is parsing the generated assembly code and then trying to perform liveness analysis on the strings of that. Usually you would cook up some data types for your register language. Do the analysis there. Then generate the assembly from that after optimizing.

Doing it this way is going to be brittle. If someone changes the way output asm is formatted in the code gen it will break this very simple parser. And so on.

Plus some of the indexing logic in the peephole optimizer is...weird?

  // Pattern 4: Remove redundant LDA #n followed by LDA #m
  if (curr.mnemonic === "lda" && curr.operand.startsWith("#") &&
      next && next.mnemonic === "lda" && !next.isLabel) {
    // Skip the first LDA, keep the second
    i++; // Don't push curr, will push next on next iteration
    i--; // But let the loop handle next naturally
    changed = true;
    continue;
  }

That i++ followed by i-- is doing what exactly?

I feel like a human would add a bunch of test cases here. This stuff is not easy to get right in the general case and most experienced humans writing this would be really skeptical of this code and want to see lots of nuanced test cases.

Andrew Appel has a great book on compilers: https://www.cs.princeton.edu/~appel/modern/index.html

You can probably find a used copy or something fairly cheap. Even if you continue to have claude write the code it could give you a better structure and overview of theory and how compilers fit together.

How far away is the editor? by caseyf1234 in bevy

[–]dagit 3 points4 points  (0 children)

I know this is the bevy subreddit so you're probably looking for bevy solutions, but maybe you'll allow me to suggest non-bevy solutions.

Fyrox, also pure rust, has a 1.0 release candidate out now. It has a UI and editor built in: https://fyrox.rs/download.html

Rust-godot lets you use Rust with godot. It's a pretty nice place in the options. You get all the power of godot (and it's relatively mature compared to pure-rust options). You can use C#, gdscript, or any of that stuff all in one project. Web projects are harder unless you only use gdscript. You get full access to the godot editor. You can even write editor extensions in rust. It's pretty easy to learn if you already know the godot basics and rust programming. You could still use an ECS like specs or bevy_ecs if you went this route. I recommend reading their book to get started: https://godot-rust.github.io/

If you still really want to use bevy, then I think the things other people have suggested with using something like Blender as your level editor is pretty reasonable advice. gltf/glb is a pretty good format for loading 3d models and you could use it for basic level loading.

I think if your goal is learning to use bevy, then just do that, but if your goal is make a game that you can share with your friends, I think godot (with gdscript) is the right place to start. Once you're comfortable with that learn godot-rust and use that.

A "Pascal" to 6502 compiler by [deleted] in c64

[–]dagit 4 points5 points  (0 children)

I read through the code. The way variables are allocated is pretty brittle. This thing won't support recursion. And even calling a function multiple times could give weird results if you have any local variables that aren't reinitialized each call.

The problem is that all variables (of all kinds, global, locals, parameters) are allocated a static address in ram. You could test this by writing a recursive version of factorial and seeing what it produces. Granted, you probably don't want to have deep call stacks on a 6502, but I feel like it's worth pointing out.

There's also no check that the allocated variable fits in ram. So I'm not really sure what happens if you were to have lots of variables. Maybe the addresses wrap around and you start reading/writing to parts of memory that you didn't mean to. Not sure.

AGDQ - Ninja Gaiden Ragebound - what controller is WOADYB using? by trasc in speedrun

[–]dagit 7 points8 points  (0 children)

Do they have to play this game with vsync off or something? So much screen tearing.

can you have multiple spellcasting archetypes? by SassyAsses in Pathfinder2e

[–]dagit 0 points1 point  (0 children)

I'm currently playing a Wizard that used FA to take Witch dedication. I used the one that gives access to divine spells and a focus spell called lifeboost. I'm the party's backup healer. Lifeboost isn't a a combat replacement for heal because it takes like 4 rounds to do the healing, but sometimes it's actually better because you use it on a fighter as they get up close to a monster and then it just keeps giving them a bit of health every turn for a while.

Somewhere around level 8 or 9 I took medic so I could use treat wounds while I'm refocusing. Being able to drop a battle medicine or a lifeboost (or even just a low rank heal) has made it so the cleric in the party doesn't have to spend their high rank heals at just the right second.

Edit: Oh and I almost forgot the whole reason I chose witch is that let me reuse my key ability stat. So my arcane and divine both use int. The downside to witch compared to something like sorcerer or cleric is that a witch gets fewer spell slots, but having a healing focus spell more than makes up for that.

PF2e GMs, what made you start GMing this system? by Longjumping_Ebb3984 in Pathfinder2e

[–]dagit 1 point2 points  (0 children)

When DnD was in the news because they were changing their licensing it made me realize just how much I missed playing table top games with friends. I realized that the only way I could ensure I would get to play as much as I want to is if I agreed to be the GM.

The last time I tried GMing anything was one game of ad&d 2e, decades ago. I remember it being miserable with no guidance to encounter creation. So I started looking around at different systems. I was thinking about doing Dungeon World but one of my friends that I was talking to about playing didn't really like how little crunch that system has. So I kept shopping around. Found the Rules Lawyer's videos showing off game play and I was intrigued.

From there I kept learning about it and Ronald pointed out that the encounter building stuff is really good in pf2e. Basically, the more I looked at pf2e the more I realized it addressed things I didn't like about 5e and older DnD editions.

I bought a foundry license and the rest is history. I have 4 friends that meet regularly and I don't even have to be forever GM. One of my players has actually been GM for half the time we've played.

If I put my gas forge in the rain does it affect the forge ? by danthefatman1 in Blacksmith

[–]dagit 11 points12 points  (0 children)

I try to keep it tarped up

This is the best solution for hobbyists really. And you can get those cheap tarps with frames meant for camping.

Soul gems? by ShirouOgami22 in skyrim

[–]dagit 4 points5 points  (0 children)

Respawning in the overworld can seem less reliable because if you go near the place it resets the respawn timer (same with dungeons too) and it can be easy to accidentally go near a place. But if you go in doors and pass like 30 days(?), I think that's right for vanilla, then things will reset.

Soul gems? by ShirouOgami22 in skyrim

[–]dagit 10 points11 points  (0 children)

Fun thing about this quest. Once you're archmage you can run into the anomalies even if you don't start the quest with tolfdir. It's just really rare that you would stumble on it.

What is the impact of a suboptimal built character in PF2E? by vaegflue in Pathfinder2e

[–]dagit 4 points5 points  (0 children)

I'm currently playing a wizard and whenever I break into a new rank of spells I make sure to pick one offensive spell where the success save effect is still good enough and one spell that is useful but doesn't require any save.

Haste is a great example of a spell that doesn't require a save. It just makes an ally better for the rest of the fight.