Building Browsergames: Buying Armor (PHP)
While we’ve built and integrated a weapons system into our game, we’re still missing something that (most) other games have – armor! Today we will be laying the initial groundwork down for our armor...
View ArticleBuilding a Space Strategy Game with Ruby on Rails – Part II
In the second part of this series (see: Part1) I will show you how to get started with Ruby on Rails for our space strategy game and easily integrate an authentication system. Setting up a rails...
View ArticleBuilding Browsergames: Buying Armor (Perl)
For all that we’ve built weapons into our game, we’re still missing armor! Today we will be starting on the code for our armor system. To start off, check out a copy of the source code for our...
View ArticleIntegrating Armor into our combat system (PHP)
We just added a way for our users to buy armor, but we still need to make it so that a user’s armor actually affects the our combat system. Today, we will integrate armor into our combat system, so...
View ArticleIntegrating Armor into our combat system (Perl)
Integrating Armor into our combat system (Perl) We now have a way for our users to buy armor, but we haven’t made it so that the armor a user has equipped affects anything – at least, not yet. Today,...
View ArticleUsing Items (PHP)
What game is complete without usable items? Not ours, that’s for sure! With that in mind, today we are going to write the code that makes items usable. To start off, check out a copy of the code for...
View ArticleUsing Items (Perl)
Our game is still missing something really important: items that users can actually use! Today, we’ll be writing the code that allows our users to use the items in their inventory. To start off, check...
View ArticleDropping Items (PHP)
Now that we’ve created a way for users to buy items, we need to create a way for users to get items without buying them – like from monsters they kill in combat. Today, we will be adding item drops to...
View ArticleDropping Items (Perl)
Now that we’ve built a way for users to buy items, we need a way for users to get items – by killing monsters. Today, we’ll be adding drops to our combat system. To begin with, check out a recent copy...
View ArticleOur current database structure
As we’ve been working through our tutorial, our database has undergone a lot of different changes. Sometimes columns were added to tables to accommodate new features, and sometimes tables were removed...
View Article