May 25, 2011

The Secret Game

Filed under: Uncategorized — admin @ 4:23 am

Today we learned how to fix lots of errors that the Java compiler can spit out. Here’s some code for a secret game. See if you can be the first to successfully debug the entire thing and play a round.

Be careful, it’s filled with syntax errors, runtime errors, and even a few logic errors!
Click for the Code

May 24, 2011

PolygonSprite Star

Filed under: Uncategorized — admin @ 1:12 am

Here’s a method you can use in your programs to make a star. I have an example setup() method that uses my makeStar().

package star;

import fang2.core.Game;
import fang2.core.Sprite;
import fang2.sprites.PolygonSprite;
import java.awt.Color;

/**
 * @author Cole Sherer
 */
public class Star extends Game {

    public void setup()
    {
        Sprite star = makeStar();
        star.setColor(Color.YELLOW);
        star.setSize(0.5);
        addSprite(star);
    }

    public Sprite makeStar()
    {
        return new PolygonSprite(.5, .02, .62, .36, .98, .36, .7, .58, .8, .92, .5, .72, .2, .92, .3, .58, .02, .36, .38, .36);
    }
}

May 23, 2011

Rotating Sun

Filed under: Uncategorized — admin @ 4:21 am

Here’s the rotating sun that we just made in class.

package circle;

import fang2.core.Game;
import fang2.sprites.CompositeSprite;
import fang2.sprites.OvalSprite;
import java.awt.Color;

/**
 * @author Cole Sherer
 */
public class Circle extends Game {
    CompositeSprite c = new CompositeSprite();

    public void setup()
    {
        double r = 0.5;
        for(int theta=0; theta<4*1080; theta+=10)
        {
            r -= 0.001;
            //double r = Math.cos(4.0 * Math.toRadians(theta)) * 0.48;
            OvalSprite o = new OvalSprite(0.035, 0.035);
            o.setColor(new Color(255, 255, theta % 255));
            o.setLocation(Math.cos(Math.toRadians(theta)) * r,
                          Math.sin(Math.toRadians(theta)) * r);
            c.addSprite(o);
        }

        c.setLocation(0.5, 0.5);
        addSprite(c);
    }

    public void advance()
    {
        c.rotateDegrees(1);
    }
}

May 22, 2011

Fang Engine Challenge

Filed under: Uncategorized — admin @ 11:55 pm

For people who’ve finished their “Lots of Dots” game, try to make these dot patterns.  You should only use OvalSprites, for loops and if statements to achieve this.  All dots can be added in your setup() method.  There is no interaction required for this project.  Just make each pattern as a separate game.

January 28, 2011

Global Game Jam 2011

Filed under: Uncategorized — admin @ 1:26 am

This weekend we will be participating in the Global Game Jam at the Georgia Southern Polytech site. If you want to help make one of the 1000+ games that are being created this weekend, find your local site and prepare for the sleep deprivation. Plus, we’ll be looking to recruit some artists at the SPSU site so we can get more of the games we’ve been working on ready for the public.

April 29, 2010

Summer Development

Filed under: Uncategorized — admin @ 2:58 pm

It’s been a slow start, but we’re finally kicking into gear here at Ginger Magic Games.  We’ve hired 10 contractors that will be helping us for the summer, and have several games in development for multiple platforms.  Starting next week, the blog posts should start flowing with updates.  We’ll post concept art, background music, game play footage, and even tutorials when we write a particularly interesting or difficult piece of code.

Subscribe to our RSS feed for regular updates, and you could have the chance to comment on a game’s design, and affect the final product.

November 12, 2009

Website Launch!!

Filed under: Uncategorized — admin @ 2:44 pm

The site is now live (and actually works in IE6)!

The site has gone from a sketch on a piece of paper to fully designed and developed in the past two weeks.  Thankfully I was able to skim through a book on Adobe Illustrator, and transfer that knowledge into Inkscape easily enough to create the logo.  A little CSS and a few browser tests later, and the site is born.  Check us out on Facebook and Twitter as well.  Drop by the Facebook page, and join in some of the discussions.

Copyright ©2009 Ginger Magic Games, L.L.C. --- Powered by WordPress