file [WEEKLY] Week 1: Stripping

  • whirligig
  • whirligig's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
More
08 Jun 2015 01:57 #1 by whirligig
[WEEKLY] Week 1: Stripping was created by whirligig
Week 1: Update & Goals

So, Quaternion development is finally starting! Get excited!

As I said, in these weekly threads I'll begin by posting the goals for the week. Then, the thread will serve as a general discussion / update thread for everything that gets done that week. Every week, I'll try to have a primary goal (what I expect to be able to finish with no issues) and a secondary goal (what I'd like to finish but am not sure).

This week's primary goal is Stripping: taking a fresh copy of MBG and stripping it down to only include what I think I'll use. That means removing hazards, powerups, etc. so that all that's left is the basic gameplay functionality. This is to eliminate the potential clutter that would result from having too many unnecessary files and such in the Quaternion directory.

This week's secondary goal is Audio Hacking: to add engine functionality to the game for FMOD audio. FMOD is a more extensive audio system than the OpenAL library that MBG uses, so this will be helpful in enhancing the game's audio (like adding pitch-shifted sound beyond just the marble's rolling).

Looking forward to the week! As always, if you have any questions/comments, they can be posted in this thread.
The following user(s) said Thank You: Three, Lichable

Please Log in or Create an account to join the conversation.

  • Battlecube314
  • Battlecube314's Avatar
  • Offline
  • Professional Marbler
  • Professional Marbler
  • 100% Gold/Ultimate/Awesome!!
More
08 Jun 2015 04:59 #2 by Battlecube314
Replied by Battlecube314 on topic [WEEKLY] Week 1: Stripping
This is a great way to start the project! It's good that everyone knows exactly what is happening :)

Please Log in or Create an account to join the conversation.

  • whirligig
  • whirligig's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
More
09 Jun 2015 11:21 #3 by whirligig
Replied by whirligig on topic [WEEKLY] Week 1: Stripping
Well, stripping took about 10 minutes. Talk about overestimation.

So now I'm focusing on the Audio Hacking part. So far, I have an engine plugin that initializes FMOD and can use it to play sound effects. It's the most basic functionality (just a "play this sound" function), but it's going to be expanded over the next few days.

Please Log in or Create an account to join the conversation.

More
10 Jun 2015 10:47 #4 by ProMarbler
Replied by ProMarbler on topic [WEEKLY] Week 1: Stripping
Has it exceeded MBG functionality yet? :P

Please Log in or Create an account to join the conversation.

  • whirligig
  • whirligig's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
More
10 Jun 2015 11:28 #5 by whirligig
Replied by whirligig on topic [WEEKLY] Week 1: Stripping
So far, the FMOD functions can play and stop audio and set the volume and frequency of audio channel groups (SFX/music). Note that setting frequency is new! So you can type e.g. fmodSetChannelFrequency(2, 0.5) to make the music play at half speed. It's pretty trippy.

Please Log in or Create an account to join the conversation.

More
11 Jun 2015 13:01 #6 by lachniet
Replied by lachniet on topic [WEEKLY] Week 1: Stripping
Is Quaternion going to be packaged as a stand-alone application, or just extra files to insert in MBG?

Please Log in or Create an account to join the conversation.

  • whirligig
  • whirligig's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
More
11 Jun 2015 21:52 #7 by whirligig
Replied by whirligig on topic [WEEKLY] Week 1: Stripping
Quaternion will be stand-alone, similar to MBPU.

In other news, 3D audio is now working! The next step is to actually go through the game and change all of the audio calls to use Fmod instead of OpenAL. This is harder than one might think, thanks to engine calls.

Please Log in or Create an account to join the conversation.

  • whirligig
  • whirligig's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
More
12 Jun 2015 03:20 #8 by whirligig
Replied by whirligig on topic [WEEKLY] Week 1: Stripping
UPDATE: FMOD integration is basically done at this point. I'll be streaming to show it off! Check twitch.tv/whirligig231 at 8 pm tomorrow!

Please Log in or Create an account to join the conversation.

More
12 Jun 2015 03:47 #9 by Derpking
Replied by Derpking on topic [WEEKLY] Week 1: Stripping

whirligig wrote:
UPDATE: FMOD integration is basically done at this point. I'll be streaming to show it off! Check twitch.tv/whirligig231 at 8 pm tomorrow!

What timezone?

"You know you've spelled something wrong when the only search results are Jeff convos" - HiGuy
The following user(s) said Thank You: whirligig

Please Log in or Create an account to join the conversation.

  • whirligig
  • whirligig's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
More
12 Jun 2015 11:01 #10 by whirligig
Replied by whirligig on topic [WEEKLY] Week 1: Stripping
Thanks for asking.

That's 8 pm Central Time (9 EDT).
The following user(s) said Thank You: Jeff, Three, Derpking

Please Log in or Create an account to join the conversation.

  • Kalle29
  • Kalle29's Avatar
  • Offline
  • Administrator
  • Administrator
  • I blame ping for losing
More
12 Jun 2015 11:27 #11 by Kalle29
Replied by Kalle29 on topic [WEEKLY] Week 1: Stripping
And wtf is central time? GMT pls so the rest of the world understands

༼ ͡◕ ͜ ʖ ͡◕༽ You have been visited by the Nivea™ Donger of moisture. Soft skin and good fortune will come to you, but only if you post "thank you Mr. Skeltal" in this thread ༼ ͡◕ ͜ ʖ ͡◕༽

Please Log in or Create an account to join the conversation.

  • Eguy
  • Eguy's Avatar
  • Offline
  • Expert Marbler
  • Expert Marbler
  • Booper Supreme
More
12 Jun 2015 15:43 #12 by Eguy
Replied by Eguy on topic [WEEKLY] Week 1: Stripping

whirligig wrote:
9 EDT

Isn't that good enough for you to understand? EDT = Eastern Time. I think Sweden is 6 hours ahead of that IIRC. You should check though.

"it's the internet eguy. where children are men. men are monkeys, and women are PQ."
-Jeff 2014

Please Log in or Create an account to join the conversation.

More
12 Jun 2015 15:57 #13 by [email protected]
EDT = GMT -4
Sweden = GMT +1 (excludes DST)
Add on Daylight Savings Time (+1)
Sweden = GMT +2
2+4 = 6 hours difference
The joys of timezones. (or be lazy and google 'EDT to [City e.g. Stockholm] time')

"funny quote" - funny person 2016 part 2 electric boogaloo
The following user(s) said Thank You: Kalle29

Please Log in or Create an account to join the conversation.

  • whirligig
  • whirligig's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
More
13 Jun 2015 01:37 #14 by whirligig
Replied by whirligig on topic [WEEKLY] Week 1: Stripping
The stream happened! You'll be able to watch it on YouTube soon.

For those who watched, I inadvertently discovered a glitch where upon trying to set the frequency of an individual sound, it would appear to have stopped the audio. Turns out it wasn't stopped, just slowed down over 40,000x! I used the wrong FMOD function--setPitch() is what does pitch shifting, while setFrequency() sets the sample rate, which defaults to 44100 Hz.

In any case, the script function will still be called fmodSetFrequency, because "set pitch" makes you think it should use a log scale, which it doesn't.

Please Log in or Create an account to join the conversation.

More
13 Jun 2015 20:25 #15 by Jkk39
Replied by Jkk39 on topic [WEEKLY] Week 1: Stripping

whirligig wrote:
The stream happened! You'll be able to watch it on YouTube soon.

Can you post a link to your channel or the video when you upload it? I can't find your channel.

Please Log in or Create an account to join the conversation.

  • whirligig
  • whirligig's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
More
13 Jun 2015 22:55 - 13 Jun 2015 22:55 #16 by whirligig
Replied by whirligig on topic [WEEKLY] Week 1: Stripping
Video's up:

Last edit: 13 Jun 2015 22:55 by whirligig.
The following user(s) said Thank You: Kalle29

Please Log in or Create an account to join the conversation.

Moderators: DoomblahGo'way