XNA Basics – Part 1

Basic XNA Game Structure

XNA is a game programming framework for XBox and the new Windows Phone. As a game programming framework it utilizes a base game structure. Once understood the base structure can be modified and expanded upon to accomplish advanced startup processes. The simplest form of the base game class looks like this:

namespace MyGame
{
    public class MyGame : Game
    {
        public MyGame() { }
        protected override void Initialize() { }
        protected override void LoadContent() { }
        protected override void UnloadContent() { }
        protected override void Update( GameTime gameTime ) { }
        protected override void Draw( GameTime gameTime ) { }
    }
}

These easy to understand methods will start your game and provide all the functionality you need to load your art and sound, code objects, menu screens and network connections.

Understanding the code skeleton above will accelerate your ability to write game components.

Read full article here >>

SneakyInput: A Virtual Joypad For iOS

SneakyInput has very nice joystick controls, it’s simple to use and very popular in the Cocos2d community. The source for SneakyInput can be found on github http://github.com/sneakyness/SneakyInput.

My main goal here was to create a CCLayer class that I could include in my game scene.

First Step – Create A CCLayer Class

First we create a CCLayer with some SneakyInput objects and synthesized the objects so that we can access them from the parent layer.

import "cocos2d.h"
import "SneakyJoystick.h"
import "SneakyButton.h"
import "SneakyButtonSkinnedBase.h"
import "SneakyJoystickSkinnedBase.h"

@interface MyJoystick : CCLayer {
SneakyJoystick *leftJoystick;
  SneakyButton *jumpButton;
  SneakyButton *attackButton;
}

Read full article here >>

Amazon Contextual Ads

I am doing a site redesign and decided to use contextual ads from Amazon.com and frankly the ad content sucks! I am not pleased with it at all. It’s very disappointing.

I kind of want to give Amazon more time to learn the content on my site, but I have serious doubts that will help.

I have a much better idea on how to get quality and relevant ad content from Amazon. As usual roll your my solution!!!

ELECTRONIC ARTS, INC. (Origin Store)

ELECTRONIC ARTS, INC. (Origin Store)

Order Battlefield 3 from Origin and get the SPECACT Kit & Dog Tag Bundle for PC as a bonus