Showing posts with label algorithm. Show all posts
Showing posts with label algorithm. Show all posts

Saturday, July 23, 2011

Eureka!

I've finally figured it out!  You'll have to watch the videos to see what I figured out, but it took me all week to get this working the way I wanted--granted I only have time to work on this for an hour or two each night.  The videos will include a trig lesson as background to how I had to implement the code the way I did.  I'll also show you a bug I found in ShiVa, or if it isn't a bug, it's at least something that isn't implemented correctly.  So check back sometime tonight for the update!

Wednesday, June 1, 2011

Taking a look at an algorithm and how it changed my design

 
 I am really bad at planning out the details of my game before I jump in and start coding.  You would think that I could at least do some basic outlining so that I know if I am going down the right path.  In this video I plan out a basic algorithm for aiming and launching the ball and then go about making the changes in my code to reflect the change.  Luckily it is early in the process so there are no major changes, but I had better keep that in mind for the future!