Search found 128 matches

by Deckhead
Thu Mar 05, 2020 2:54 am
Forum: Game Development
Topic: openAl sound
Replies: 37
Views: 33668

Re: openAl sound

The endianess is just to increase the code portability to other systems.

You're more than welcome for the tutorial; there is a second one up now for Streaming Audio. I am planning out the next tutorial to cover audio positioning within your 3D space.
by Deckhead
Wed Mar 04, 2020 8:49 pm
Forum: Game Development
Topic: openAl sound
Replies: 37
Views: 33668

Re: openAl sound

Okay, I'm back on my dev machine. You've got a few problems in the code, if it came from the article, apologies. What you provided has some double ups of functions and some declarations are out of order which is causing that error you have. I've edited your code so that it works; compiles and plays ...
by Deckhead
Wed Mar 04, 2020 8:33 am
Forum: Game Development
Topic: openAl sound
Replies: 37
Views: 33668

Re: openAl sound

Hi Mckl, To fix your issue, replace this code in the main function: std::uint8_t channels; std::int32_t sampleRate; std::uint8_t bitsPerSample; std::vector<char> soundData; if (!load_wav("iamtheprotectorofthissystem.wav", channels, sampleRate, bitsPerSample, soundData)) { std::cerr << &quo...
by Deckhead
Wed Mar 04, 2020 1:10 am
Forum: Game Development
Topic: openAl sound
Replies: 37
Views: 33668

Re: openAl sound

Hi Mckl, I edited your post for formatting. Looks like you found an error in my code. For some reason there's a problem on the forum right now, I can't post code properly. You need to change a part of main, the load_wav to match the load_wav function declaration. (I'll try to fix the forum and post ...
by Deckhead
Sun Feb 23, 2020 7:18 pm
Forum: Game Development
Topic: Etherbound Feedback!
Replies: 5
Views: 6942

Re: Etherbound Feedback!

Adding a sort of tutorial where both players need to execute each move might help. But then of course, adding a tutorial mode, if you didn't plan for it, can be hard to shoehorn in later.
by Deckhead
Sun Feb 23, 2020 8:40 am
Forum: Game Development
Topic: Etherbound Feedback!
Replies: 5
Views: 6942

Re: Etherbound Feedback!

Hey man, so I just downloaded it and played it. My partner and I just played a few rounds, it's heaps of fun. The controls are a little bit beyond me, I couldn't get the guy flipping. My attempt at constructive feedback: It's hard to tell the two guys apart after a few flips and parry's. I would be ...
by Deckhead
Sat Feb 22, 2020 1:16 am
Forum: Game Development
Topic: How can I construct a branching narrative that allows for multiple replays?
Replies: 3
Views: 5060

How can I construct a branching narrative that allows for multiple replays?

I've been working on a sort-of-visual-novel for a while now called The Last Boundary . I never intended to make a visual-novel type game, but that's where I ended up (I was just aimlessly developing the rough idea of being Captain Jean-Luc Picard). So here I am in need of creating a branching narrat...
by Deckhead
Fri Feb 21, 2020 10:42 am
Forum: Game Development
Topic: Welcome
Replies: 0
Views: 11240

Welcome

This forum is a sort of experiment. I have heard recently from a few different people directly, and a few different people indirectly, that there's something missing in all the current GameDev forums: GameDev.net is just ugly and a mess, with weirdly low activity TigSource has a lack of community, o...