Tag Archives: c#

Storing and Retrieving Multiple Flags in an Integer

By Shahed C on October 5, 2013

Many years ago, I taught myself game development from Andre LaMothe’s “Windows Game Programming For Dummies”. Back then, I was just learning about C/C++, Win32 and DirectX for making video games.

One of the interesting things I learned was about using bitwise operators to store multiple states in a single variable. This can still be useful in any C-derived language, such as C#. You can even use this technique in JavaScript!

Let’s say, your game character has a carry-on weapon bag with 8 available slots. Each slot can store 1 type of weapon.

Continue reading

Presenting Entity Framework at GWU’s Graduate Computing Club

By Shahed C on September 21, 2013

Having presented Entity Framework Code First Migrations at several venues throughout  this year, I will be presenting an EF intro session at George Washington University (GWU)

Sep27

GWU logo

GWU Graduate Computing Club (GCC)

  • Website: http://gcc.seas.gwu.edu/?p=78
  • Date/Time: Wednesday, September 27, 2013 at 6:00 PM
  • Location: George Washington University, Washington DC.

OnekSoft Games/Labs Q&A with Microsoft Technical Evangelist Frank La Vigne

By Shahed C on July 14, 2013

Earlier this week, I spoke to Frank La Vigne, a Microsoft Technical Evangelist, for his YouTube
channel: Frank’s World TV.

See the entire video here:

FWTV: Indie Games, Windows 8 and Ninja Cats:
http://www.youtube.com/watch?v=lRjrQPvVOpo


 

 

Continue reading

Discord Games Q&A

By Shahed C on April 30, 2013
UPDATE, Mon May 6, 2013:
  • Now that the funding goal of $150k has been reached over the weekend, tell us about your expectations (and your plans) for the rest of this week. 

> We’re going to start focusing on trying to reach some of our Stretch Goals so we can give our fans the deepest and most fulfilling experience we can. Hopefully we’ll manage to get a little rest now too 😉

  • Care to elaborate a little about those stretch goals?

> Yea, sure! With the lower tiers we’ll be unlocking some nice little add-ons like extended soundtracks and Achievements. As we move up higher on the ladder we get to more content rich goals like Crafting, and new game modes like Arena and Roguelike. We also have some purely cosmetic goals like Gender Swap, as well as functional things like professional language translations. We’re hoping to be able to achieve all these things for the final game regardless of money raised, but hope to guarantee them by reaching the goals!

See the original Q&A below:

In this week’s post, we’re talking with fellow XNA developer James Petruzzi of Discord GamesJames is responsible for the multiplayer action title Take Arms on Xbox 360, followed by labyrinth puzzler 48 Chambers. Up next is Chasm, a 2D Action-RPG Platformer, aimed at PC, Mac and Linux.

 

  • Welcome to WakeUpAndCode.com, James! Do you… umm… wake up and start coding every morning? 🙂

– I wish! It was like that for a while, and was amazing. Since GDC though,
it’s been pretty much full-time on marketing, promotion, and keeping things
running smoothly. Hopefully we’ll get back to coding soon!

Continue reading