dark        
Osc blog header photo
Osc's c-blog
Posts 1106Blogs 33Following 0Followers 13


 
 

LONG BLOG

Game In Progress: November 2019

   0

Game in Progress Image Header

Another blog post, another slow update. This one will be short like last time. But I did manage to fix my main issues. In fact, I killed two birds with one stone this time. I fixed the camera issues and also added a jump feature for the ball.

I was first trying to find solutions online through videos and forums but it wasn't what I needed. So I went back to basics and looked through the Unity tutorials I had bought that kick started this whole journey. Wouldn't you know it, they had a section for adding the camera. I checked it out and they had us download a Standard Assets pack from the Unity store. It had several different basic characters and scripts to use. In this pack they had exactly the script I needed for the ball.

Standards assets store

So I downloaded it. As advertised it had its own ball scripts and camera scripts.  So I said 'screw it' and replaced my assets with their pre-built stuff. It was wonky at first, but messing around with some settings allowed me to get the control I wanted for the camera and movement.

The nice thing about it was the How-to read me files. It easily explains how the scripts and characters models work together. The other nice thing was how the ball already had a jump feature. I had previously wondered whether to add this or just add some sort of terrain style power-up that would do the jumping for you when you touched it. The script made the choice for me, it seems.

The issue I have now with it now is not being able to control the ball mid-air. But I think that will be much easier to figure out.

Camera scripts
These are the camera scripts

Ball script
Ball movement script

There's still a few more things I need to add. For one, I need to set the logic to run the next level after hitting the ending platforms. Luckily, I already had done this in a previous tutorial. I need to finish polishing the levels, and probably some more things I'm missing.

That's it for now, but hey at least I'm still going!

Progress is progress!

Login to vote this up!

LOOK WHO CAME:


Osc   
RLZ   1


 
 

  0 COMMENTS

Please login (or) make a quick account (free)
to view and post comments.



 Login with Twitter

 Login with Dtoid

Three day old threads are only visible to verified humans - this helps our small community management team stay on top of spam

Sorry for the extra step!

 

About Oscone of us since 9:37 AM on 11.12.2011

Here to play games and make the funnies.
My twitter: https://twitter.com/oscmolo