Wednesday, February 24, 2016

John Frankel Week 7 Journal PPJ, Blog post 7, GMAP 378

Content with hours provided

Updated sounds on transitions and some art
I removed my glorious sounds that I added.  I basically had a fun circus track that I messed with to create the fun sounds but APPARENTLY no one could tell the difference.  This is why I don't do sound stuff.  I added the boring sounds to the transitions that don't sound interesting.  I guess it fits in with the rest.  The change was simple, but I actually removed some of the sounds in order to fix this.

I also found and added the circus tent.  Needs textures though.

(30 minutes)
Made the map program that maps game names to the controls
I set up a mapping script that maps game names to the controls that were added to the script.  This script is not very good.  It works, it does what I want, but It looks bad.  This is a clear hack to make up for the missing framework changes that would take too much time for the little benefit that they would produce.  Here is the code.

public class GameToControllerMap : MonoBehaviour {

    public Sprite[] humanControls;
    public Sprite[] alienControls;
    public string[] levelNames;

    public GameObject humanDest;
    public GameObject alienDest;

// Use this for initialization
public void DisplayControls (string game)
    {
        Debug.Log(game);
        int index = System.Array.IndexOf(levelNames, game);
        humanDest.GetComponent<Image>().sprite = humanControls[index];
        alienDest.GetComponent<Image>().sprite = alienControls[index];
}
}

It works and I tested it to prove that.
 (4 hours)


Made variant of Crazy Ball

I basically took crazy ball and made new scripts that reversed the goal.  Instead of running from the ball, you chase it down.  It is incredibly simple and took only a short time.  After talking with Ryan about this process, we realized that this was one of the few games we could do this with.  The other game are not easily changed to become a different game.

(90 minutes)

Positives
I completed my tasks
Negatives
Not extatic over my work

Total 6 hours

No comments:

Post a Comment