Tags : Browse Projects

Select a tag to browse associated projects and drill deeper into the tag cloud.

Panther Game Engine

Compare

  Analyzed 10 months ago

Panther game engine is being developed as part of a class on game engine development at Chapman University 2009/2010. Development continues through May of 2010.

117K lines of code

0 current contributors

over 5 years since last commit

2 users on Open Hub

Activity Not Available
0.0
 
I Use This

zune starter kit

Compare

  Analyzed 12 months ago

A simple starter kit for XNA projects for the Zune. Using http://www.cssplay.co.uk/menus/circular-sub.html as inspiration. This is for Zune 80+ devices. Screen resolution limited to 240x320.

1.68K lines of code

0 current contributors

over 7 years since last commit

1 users on Open Hub

Activity Not Available
4.0
   
I Use This
Licenses: Apache-2.0, CC-BY-SA-3.0

dwcontrollers

Compare

  Analyzed about 1 year ago

DarkWynter Xna Controller HarnessSummaryDWController is an override controller system in C# for Xna. It collects input from the Mouse, Keyboard, XBox Analog Controls, and XBox Digital Controls. IntroductionKey/Function pairs are added in override constructor. Key-press events call Functions when ... [More] triggered, passing the key_value and a user supplied object array via EventArgs. ContributorsPrototype By: Priyesh Dixit Engineering By: Jason Hardman & Subhir Rao DLL and Docs By: Jason Hardman DownloadTutorial CodePlex Project UsageTo use DWController, override the Controller class, use the controller.Add() function with the key you wish to assign, and function you want to call, and the timer-delay for the key input. This time delay repeat inputs (from holding a key down) giving your application a consistent input rate across multiple PC hardware configurations. The key-delay argument is specified in milliseconds. To disable it, just pass in 0.0f. It’s simple. To connect a key to a function, use commands like: Add(new KeyboardControl(Keys.W, MoveForward, 10)); Add(new KeyboardControl(Keys.A, MoveLeft, 10)); Add(new MouseControl(ControlType.Motion, Rotate, 0)); Add(new MouseControl(ControlType.LeftButton, Attack, 0));DWController instantiates child-controllers through Type Reflection: ControllerManager controllerManager; List args = new List(); protected override void Initialize() { // Create a List of Child Controllers List controllerTypes = new List(); controllerTypes.Add(typeof(MenuController)); controllerTypes.Add(typeof(GameController)); // Pass in Width and Height used by mouse. controllerManager = new ControllerManager( graphics.GraphicsDevice.Viewport.Width, graphics.GraphicsDevice.Viewport.Height, controllerTypes ); // Pass “this” as EventArgs to Conroller delegates functions args.Add(this); base.Initialize(); } protected override void Update(GameTime gameTime) { // Checks if any controllers Added or Removed controllerManager.Update(); // Update Appropriate Controller if (gameMode == GameMode.Menu) { // Update all MenuControllers List controllers = controllerManager.GetControllers(typeof(MenuController)); for (int i = 0; i < controllers.Count; i++) { controllers[i].Update(ref args); } } if (gameMode == GameMode.Game) { // Update all GameControllers List controllers = controllerManager.GetControllers(typeof(GameController)); for (int i = 0; i < controllers.Count; i++) { controllers[i].Update(ref args); } } base.Update(gameTime); } Enjoy :-j [Less]

1.21K lines of code

0 current contributors

about 8 years since last commit

0 users on Open Hub

Activity Not Available
0.0
 
I Use This