Mech Retriever Dev Blog

I got the JoyStickEntity to play a sound when you successfully triggered a move by dragging it over far enough.

It is weird how satisfying it is to play with it. Click, click, click…

Feedback like that is powerful for the user experience, so that they can “feel” what they are doing. It was interesting to code though-I had to create new mechanisms for playing sounds in the engine, so that I could successfully test it. But, I was able to make my Soundplayer interface take in “Soundwrapper” classes so that I could test that the code would work without literally having to play a bunch of clicking noises every time I ran my unit tests.

…Which is good, because those noises would have gotten old after the first two times. Maybe three…

May you build the ultimate giant robot.

Like, Share, Subscribe, or Tweet us!

Check us out on Youtube or Deviantart!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s