RPG Enemy Attacking - Part 1

November 12th, 2008

Every RPG will an enemy, and there several ways to go about implementing enemies into our RPG game, the two ways I can think of off the top of my head are:

• Enemies on the map will chase the Hero if the Hero gets too close
• Random battle encounter every so many steps the Hero takes

If we go with option 2, we simply check what type of map/level it is, set a random number, and every step the Hero takes we decrement that random number, and if that random number reaches below 0, we go to a battle scene. If we go with option 1, there would be 2 kinds of ways to have our Enemies chase our Hero. One way is, we can have the enemies chase the Hero straight on, or secondly, use a little path finding.

Read the rest of this entry »

RPG Item Gathering / Pick Ups

October 7th, 2008

This is a slight continuation from the last tutorial of the RPG series, and it was requested by Chris.

In the last tutorial, we have set up our Intentory menu and allowed our Hero to use selected items and drop the items once the item’s quantity was zero. Now let me share with you how we gather/pick up the items that are laid across the level.

I will admit upfront, this way of creating item gathering is very different from what you might expect, buts its quite useful and easier to work with once you get the concept of it.

Read the rest of this entry »

Happy Birthday to me and everyone else out there

September 27th, 2008

Today is my birthday, and that is all this post is about - its just an fyi for everyone out there.

I am still programming like crazy the past couple of weeks with Flash and PHP, brainstorming on an story for an exciting RPG game (which I am currently partnered with Dhryn, who’s site is still in the works), designing the graphics, etc. So I have been keeping busy but will share the next steps in the RPG game development shortly when things begin to settle a bit.

Anyways, the other day I had a spare minute to play with Papervision3D and come up with a “possible” 3D isometric game in the future… hopefully not to far off future. Here is a quick demo with some ugly looking graphics (sorry I didn’t have too much time to polish - but you should get the idea):

Use W, A, S, D keys to move

The Flash plugin is required to view this object.

RPG Inventory

August 22nd, 2008

This tutorial is continuing from the RPG tutorials previous posted, RPG Character Movement Part 3

Making an inventory for our Hero is needed. Our Hero is most likely going to pick up items along his/hers journey, and those items need to stored and saved for later use. The Hero could pick up some Potion or Bread and use that to heal himself when low on HP (Hit/Health Points). Well, lets start setting up a in game menu movie clip which is of course very needed as well. The in game menu movie clip at this point will just have a button called “Inventory” which will open a list of items our Hero has been carrying around, but we can use the in game menu for other things like “Options”, “Quests”, etc. But for now, lets just do the Inventory. Before I begin, prepare yourself for a lengthy tutorial.. but I assume you knew that before beginning? Lets start…

Read the rest of this entry »

RPG Character Movement - Part 3

July 31st, 2008

This is the third part of the RPG Character Movement tutorial, if you are not caught up, you can check out the other two here: Part 1, Part 2

Today I would like to show how to make our hero jump onto platforms. I know from our gaming experience we usually don’t have a top down RPG hero jumping around, but in this game, we are going to have our hero jump. I will also discuss how we could have our hero swim on a later date. I think having our Hero jump around the stage can be really nice if you want to place some gold, or a hard to reach item. Speaking of which, there was a request for an item inventory which will be in the next tutorial of this RPG development series.

Before we begin making our Hero jump, we are going to have to do several updates and changes to our code and movie clips. If you follow the steps in order you should be just fine. So lets begin.

Read the rest of this entry »