• Register
Post news Report RSS Back Then - Devblog #2 | Control

Welcome to the second blog edition of 'Back Then'! In this edition, we're talking about how the controls worked before, what caused us to change them, and how we overcame some troubles.

Posted by on

Hey everyone!

Welcome to our second blog, this time we'll share light on how we approached the wheelchair movement, our troubles with it, and a wholesome story to go along with it! Smiley

On the 17th of July, we had the opportunity to participate in the GameDevStudent Showcase.

‚Äč67403237_442650019651266_1463877257096331264_o.jpg


It was here that we for the first time, got first-hand feedback for the game because up until then, we were kind of winging it. Don't get me wrong, we already had a plan in motion, but this event solidified that and helped us polish the rough edges.

We received tons of great feedback, and one of the problems players found the most annoying, was this...

wheelchair_camera.gif


See, you couldn't use your mouse to rotate the camera as you'd expect, instead, you rotated left or right with the wheelchair, the mouse could only go up or down.

It's interesting how divided this choice was, some players liked it while others thought it wasn't needed, which lead us to a brief discussion about what we'd end up doing.

Well, we wanted to see how the game would feel if you had horizontal movement in the mouse too, and at first...things didn't go that...well.

almost_there.gif


What's happening here you ask?

Since the camera is clamped, meaning you can't go beyond certain limits with your mouse, the chair could rotate a full 360º but the camera wouldn't.
We clearly have an issue, so how do we fix it?

Firstly, I tried making the camera suffer from the rotation of the chair when the player pressed A or D, that didn't work.
Then I looked at the place you look whenever you feel stuck. Google.
Hours were spent scavenging the internet for anything remotely similar to my issue, some were close, but not quite what I was looking for.

Then I (Ruben), was invited to be the guest at a weekly Portuguese gaming podcast called Game Corner, and André, the co-host, so happened to be a dev himself, and after I explained the problem, he gave me a bit of an answer but wasn't sure, although it was a "puzzle to solve and I'll crack it eventually". That he did.

The next day, he shoots me a message on discord saying that he found a video that explained exactly what I needed, but it wasn't known at all.

Then what do ya know, after messing about with new code and doing things a bit outside of the box. Voilá.

works.gif


We got results. It works fantastically well (a bit too well), and this will be many of the features present in the upcoming demo.

We're keeping this blog entry short and sweet, as we have a lot to cover next time.

Be sure to keep up to date with our social media:

Facebook
Twitter
Discord

Thanks for reading!

Ruben

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Related Games
A Demon's Game
A Demon's Game Adventure
Back Then
Back Then Adventure
Related Engines
Leadwerks Game Engine
Leadwerks Game Engine Commercial
Unity
Unity Commercial
Related Hardware
HTC Vive
HTC Vive HTC Headset
Related Groups
Indie Devs
Indie Devs Hobbies & Interests with 1,654 members
Outriders
Outriders Developer & Publisher with 2 members
RP Studios
RP Studios Developer & Publisher
Unity Games
Unity Games Hobbies & Interests with 1,810 members