Electric Turnip
  • Blog
  • Stories
    • Story 000
    • Story 001
    • Story 002
    • Story 004
    • Story 007 - Unfinished
    • Story 008
    • Story 010 - BattleWagon
    • Story 012
  • Images
    • Adventure Caddie concept gallery
    • Page Design Gallery
    • Older Work
  • 5FEAT Video
  • Videos
  • Game Experiments
    • Climb
    • Super Shapetoy
    • TurboGarbageTruck
    • 031 - Best Games - Enchanter
    • 033 - Shader Test
  • Contact

386

3/23/2020

0 Comments

 
I’ve been working on a game and this is just a quick update on how that is going.
I rigged up a control scheme that let me roll a ball around using Unity physics. That part is pretty simple since all of those systems, the physics and the input handling, are built into the engine. Next I set up a camera that would follow the ball. This is also not too difficult since cameras and their basic controls are also built into unity. It only got tricky when I tried to use my physics based control system along with my following camera.
I set up the controls in the simplest way I possibly could, which I think is the only way any game feature should get implemented. I took the value sent from the left thumbstick on a standard gamepad and translated that into physics forces on the ball along the horizontal plane. Pretty simple right? I could move the ball around, but only if the camera stayed directly behind the ball. As soon as the camera lagged a little left or right the entire axis of motion would be different from what your brain expected. To fix that I needed to make the input relative to the camera and not the world or the ball object. Less simple, but not much of a problem. Computers are really good at solving math problems as long as you input the problem properly. 
Now none of this is anything new for games, and it’s not even new for me. I knew this would be an issue that would take some tuning right from the start. That’s why I prioritized the feel of movement and camera. It was always going to be something that was going to take some work, and I will be adjusting and changing it all through this project no matter what I do. As a result, the first few iterations were not great, but the potential was there with only a few tweaked parameters and a few lines of code.
Since then I have tested and adjusted the basic control many many times. It’s getting much closer, but I know that I’m still not quite done.
After basic movement, I needed to create a place to move in. At first that was just a large flat plane with a few boxes sticking out of it. Next it was a sort of hot wheels track snap together set that included curved and straight pieces. After that it was those same track pieces with banked curves and quarter pipe ramps around bowl structures. Now I have surfaces that can curve in any direction and ramps that can kick the ball high up into the air if you hit them with enough speed.
I have just barely started dealing with proper collisions between your player controlled ball and other balls in the world, but that is moving along better than I had expected. I am still having issues with gravity not really feeling right, but I tweak and adjust it all the time.
Like any large project, I keep breaking it into bite sized chunks that I can wrap my head around and I deal with them one at a time. So far that seems to be working, but I do wish I could get the gravity problem solved sooner rather than later, because I would like to have more people test it with some good feeling gravity. I don’t think that is asking too much. 

​
0 Comments



Leave a Reply.

    Archives

    December 2022
    November 2022
    October 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    June 2020
    May 2020
    April 2020
    March 2020
    February 2020
    January 2020
    December 2019
    November 2019
    October 2019
    September 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    July 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017
    June 2017
    May 2017
    April 2017
    March 2017
    February 2017
    January 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    January 2016
    December 2015
    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014
    July 2014
    June 2014
    May 2014
    April 2014
    March 2014
    February 2014
    January 2014
    December 2013
    November 2013
    October 2013
    September 2013
    August 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    January 2013
    December 2012
    November 2012
    June 2012
    October 2011
    July 2011
    June 2011
    May 2011
    April 2011
    March 2011
    November 2010
    October 2010
    August 2010
    July 2010
    June 2010
    May 2010
    April 2010

    Categories

    All
    Adventure Caddie
    Best Games

    RSS Feed

Owen McManus
  • Blog
  • Stories
    • Story 000
    • Story 001
    • Story 002
    • Story 004
    • Story 007 - Unfinished
    • Story 008
    • Story 010 - BattleWagon
    • Story 012
  • Images
    • Adventure Caddie concept gallery
    • Page Design Gallery
    • Older Work
  • 5FEAT Video
  • Videos
  • Game Experiments
    • Climb
    • Super Shapetoy
    • TurboGarbageTruck
    • 031 - Best Games - Enchanter
    • 033 - Shader Test
  • Contact