frontonthis
u/frontonthis
i got the infrastructurre mostly going but my problem is the sound it outputs is choppy. i think the problem has to do, i hope at least, with how im generating my sine wave, because the opensl data buffer is of type int16_t.
here's my algorithm:
float increment = (float)(2*M_PI) * 900.f / 44100.f;
float angle=0;
for (int i=0; i<240; ++i){
int output=sinf(angle)*(float)INT_MAX;
buff[i]=output;
angle+=increment;
}
and then buff is being sent to opensl Enqueue function for playback.
EDIT: i've changed INT_MAX to INT16_MAX and it's still choppy but
I need his sword, I've tried about 10 times, but he hits too hard, and keeps knocking me down, too. I'm a Knight, about level 13, i think. I've got a silver claymore and all heavy armor. I've got various magical items and scrolls, and some healing potions. But I just can't bring him down, even if I do manage to get alot of hits in. Anyone know a good strategy on dealing with him as a warrior character?
My hooded sweatshirt made of 100% baumwolle cotton says NOT to tumble dry. But what if I want to anyways cause I want it to shrink a little? Anyone know?
Do you think its good how some games allow you to save whenever you want? Personally, it triggers my OCD. I'm more worried about saving than I am playing it. I don't wanna lose any progress. And on scary games, I think the impulse to oversave would be much worse. And how about the fact that you could potentially save your game in a hopeless situation, and have to restart the whole thing? I think generally it's best when saving is not something left up to the player.
can you make me a moderator here? where are people to find love in this world if not for r/conspiracy?
you need me here to lay down the ban hammer on those who disrespect what this subreddit is about. those people who would choose to redefine the meaning of conspiracy to something petty.
i have some sega genesis roms in the .bin format, but my emulator, osmose, does not run them,
it only works with .gg, i believe. anyone know a good solution?
With X windows itself, without installing any additional software?
Does anyone have any tips on how I could do that? I've no clue....
Could someone help me understand something I heard about once where you can compile your program so that it doesn't depend on external libraries from the end-users perspective. As an example, say I develop a game using GLFW and the OpenGL 3 API. Is it then possible to utilize this static compilation principle so that my binary can be run on a computer which does not have GLFW installed?