Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Learning XNA 2D Engine IceCream With 1945 Demo Project

, 8 Aug 2012 CPOL
IceCream1945 is a demonstration of XNA and the IceCream 2D library in a 2D top-down scrolling shooter similar to 1942 for the NES.
1945_Code_Package.zip
1945 Code Package
IceCream
XNA4
IceCream
Attributes
Background.png
Components
Content
BloomCombineEffect.fx
BloomExtractEffect.fx
Content.contentproj.vspscc
DefaultParticleTexture.png
DefaultTileGridTexture.png
diagnosticFont.spritefont
GaussianBlurEffect.fx
IceCreamContent.contentproj
IceCreamContent.contentproj.user
RefractionLayerEffect.fx
Debug
Console
Drawing
IceEffects
IceCream.csproj.user
IceCreamMono.pidb
Input
Properties
QuadTree
Resources
WIN
Arial.xnb
blank.xnb
BloomCombineEffect.xnb
BloomExtractEffect.xnb
DefaultFont.xnb
DefaultParticleTexture.xnb
DefaultTexture.xnb
DefaultTileGridTexture.xnb
diagnosticFont.xnb
GaussianBlurEffect.xnb
RefractionLayerEffect.xnb
XBOX
BloomCombineEffect.xnb
BloomExtractEffect.xnb
DefaultFont.xnb
DefaultParticleTexture.xnb
DefaultTileGridTexture.xnb
diagnosticFont.xnb
GaussianBlurEffect.xnb
RefractionLayerEffect.xnb
SceneItems
AnimationClasses
CompositeEntityClasses
ParticlesClasses
TileGridClasses
TypeConverters
Serialization
Utility
Milkshake
Editors
AnimatedSprites
Components
CompositeEntities
Materials
Particles
PostProcessAnimations
Sprites
TileGrids
TileSheet
Graphics
GraphicsDeviceControls
IceCream_Icon_128px.ico
Lib
XPTable.dll
Milkshake_TemporaryKey.pfx
Properties
app.manifest
Resources
car.png
checker.png
color_swatch.png
cross.png
font.png
pivot.png
plugin.png
ppBackground.jpg
sport_soccer.png
user.png
weather_lightning.png
weather_sun.png
Selectors
Tools
Wizards
MilkshakeLibrary
Properties
Templates
IceComponent.zip
IceCreamWindowsGame.zip
IceCream1945
IceCream1945
IceCream1945
Components
Game.ico
GameScenes
GameThumbnail.png
Global
Properties
IceCream1945Content
1945.png
Ending.icescene
EnemyBulletsAndIslands.png
global.ice
IceCream1945Content.contentproj
Music
Sounds
ExplosionBomb.wav
ExplosionHit.wav
Laser_Shoot3.wav
Laser_Shoot_Player.wav
Laser_Shoot_Turret.wav
Quick_Hit.wav
Splash.icescene
Level1.icescene
Game.icproj
1945_Demo_Package-noexe.zip
1945_Demo_Package
Game.icproj
IceCream1945Content
1945.xnb
Ending.icescene
EnemyBulletsAndIslands.xnb
global.ice
Level1.icescene
Sounds
ExplosionBomb.xnb
ExplosionHit.xnb
Laser_Shoot3.xnb
Laser_Shoot_Player.xnb
Laser_Shoot_Turret.xnb
Quick_Hit.xnb
Splash.icescene
1945_Demo_Package.zip
Game.icproj
IceCream.dll
IceCream1945.exe
1945.xnb
Ending.icescene
EnemyBulletsAndIslands.xnb
global.ice
Level1.icescene
Music
ExplosionBomb.xnb
ExplosionHit.xnb
Laser_Shoot3.xnb
Laser_Shoot_Player.xnb
Laser_Shoot_Turret.xnb
Quick_Hit.xnb
Splash.icescene
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace Milkshake.Selectors
{
    internal struct SceneItemTypeStruct
    {
        internal SceneItemType type;
        internal String name;
        internal String pluralName;
        internal String icon;
        internal Bitmap image;
        internal bool requiresTemplate;

        internal SceneItemTypeStruct(SceneItemType type, String name, String pluralName, String icon, Bitmap image)
        {
            this.type = type;
            this.name = name;
            this.pluralName = pluralName;
            this.icon = icon;
            this.image = image;
            this.requiresTemplate = false;
        }

        internal SceneItemTypeStruct(SceneItemType type, String name, String pluralName, String icon, Bitmap image, bool requiresTemplates)
        {
            this.type = type;
            this.name = name;
            this.pluralName = pluralName;
            this.icon = icon;
            this.image = image;
            this.requiresTemplate = requiresTemplates;
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Tyler Forsythe
Software Developer (Senior)
United States United States
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141223.1 | Last Updated 8 Aug 2012
Article Copyright 2012 by Tyler Forsythe
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid