I’m diving into OpenGL and C++ for a platformer I’m working on, and I’ve run into a frustrating issue with my fragment shader. Essentially, it seems to be executing for every pixel on the screen, not just for the parts ...Read more
askthedev.com Latest Questions
I’m diving into the world of game development as a freshman CS major, and I’ve been working on a 2D space shooter using SDL2 in C. While I’ve managed to implement some basic features, collision detection is something that’s been ...Read more
I’m having a pretty frustrating issue with input detection in my two-player Pong game built using SDL2, and I’m hoping someone here can help me out. As soon as I start working with SDL2, I seem to run into the ...Read more
I’m currently knee-deep in developing a turn-based game using an event-sourced architecture, and things have been running smoothly until I hit a snag with how to manage intermediate state effectively—all while trying to maintain a clean separation of concerns. Here’s how ...Read more
I’m diving deep into the design of my turn-based game, and I’ve hit a bit of a snag with how to evaluate actions for the AI without messing with the game state or duplicating logic. Here’s the deal: each unit ...Read more
Alright, so imagine you’re sitting in a cozy café, sipping your favorite drink, and you notice those fascinating patterns of light dancing on the surface of your cup. You know, those intriguing caustics formed by the light refracting through the ...Read more
I’m deep into developing this farm game in Unity, and I’ve hit a bit of a wall that I hope some of you might have insights on. The game implements a tilemap where each individual tile represents various crops and ...Read more
I’m really struggling with this issue while trying to compile a solver in OpenFOAM, and I could use some help from anyone who’s experienced this before. So, I’ve been working on a custom solver for my project, and everything was ...Read more
I’m diving into this game project titled “Symbolic of Immortality and Eternity,” and I’m super pumped about it—but I also know I need some help to bring my vision to life. So, I’m trying to figure out what specific skills ...Read more
I’m working on a tool in Unity that needs to store and retrieve certain objects from the currently active scene. As part of my system, I’m using ScriptableSingleton to save object IDs, which is working pretty well. I retrieve them ...Read more