Great news everyone, I just completed my latest short toon entitled, "Phone Call" So check it out on the site. www.houselifecartoons.com
Wednesday, May 20, 2009
Cartoon Update: New Short, Phone Call
Great news everyone, I just completed my latest short toon entitled, "Phone Call" So check it out on the site. www.houselifecartoons.com
Side Scroller Tutorial, Part 2: Enemies, Objects, and Counters
In part 1 of this tutorial you learned how to create your character, some of his movements and the ground and walls. In this section you will learn how to create enemies, objects, and counters. I will also go over some of the coding that I gave you in part 1. So if you haven’t read part 1 you will be very confused. Let’s get started!
- The first thing you’ll need to do is create a new layer and name it “Enemies.”
- Next draw you enemy. Once you’ve finished select your enemy, and convert it into a movie clip and name it whatever you want to, it doesn’t really matter.
Note: The reason I like to draw the enemy before turning it into a movie clip is to avoid distortion issues when trying to resize it. If you want to make an enemy with multiple layers, draw the main layer (or the body) first. Then add the other layers after you’ve converted it into a movie clip.
- Now double click on the enemy movie clip. You should now be inside the movie clip and see a new time line. On the first frame type in the label name “walk.” On the actions tab of that frame type: Stop();
- Now create another frame, draw your enemy in some sort of a dead position, and label the frame “dead.” On the actions tab type: Stop();
- Next zoom out to the main timeline and on the actions tab of the enemy movie clip enter this code:
onClipEvent (load) {
enemyspeed = 2;
// this sets the speed your enemy will move at
enemystepsright = 0;
// how far it has moved right
enemystepsleft = 0;
// how far it has moved left
enemydir = "left";
// its direction is set left
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char.attackpoint)) {
// if it hits the attackpoint in the character MC
enemyspeed = 0;
// its speed is set to 0
enemystepsright = 0;
// how far it has moved right is set to 0
enemystepsleft = 0;
// how far it has moved left set to 0
dead = true;
// dead is true
this.gotoAndStop("dead");
// goto and stop on the dead frame
}
if (this.hitTest(_root.bulleter)) {
// if this hits the bullet (_root.bulleter)
enemyspeed = 0;
// its speed is set to 0
enemystepsright = 0;
// how far it has moved right is set to 0
enemystepsleft = 0;
// how far it has moved left set to 0
dead = true;
// dead is true
this.gotoAndStop("dead");
// goto and stop on the dead frame
}
if (this.hitTest(_root.char) && !dead) {
// if this hits the character and is not dead
_root.char.jumping = false;
// characters jumping state is set false
_root.health.text -= 1;
// health goes down 5
_root.char.health-= 1;
_root.char.gotoAndStop ("injured");
}
if (_root.health.text<=0) {
// if the health is smller than or equal to 0
_root.dead = true;
// _root.dead is true
_root.lives.text -= 1;
_root.health.text = 50;
_root.char.health = 50;
_root._x = 0;
_root._y = 0;
// the _roots timeline is set to 0
_root.char._x = 221.1;
// the char mc's X is set to 233.2
_root.char._y = 124.3;
// the char mc's Y is set to 258.3
_root.char.speed = 0;
// characters speed is 0
_root.lives._x = 8.0
_root.health._x = 161.0
_root.score._x = 284.0
_root.liveslabel._x = 46.0
_root.healthlabel._x = 179.0
_root.coinslabel._x = 321.0
_root.sun._x = 184.9
_root.healthbar._x = 177.0
_root.pausescreen._x = 0
_root.dead = false
}
if (_root.lives.text == -1) {
_root.gotoAndPlay(3);
_root._x = 0;
_root._y = 0;
}
if (!dead) {
// if NOT dead
if (enemydir == "right") {
// if the direction (enemydir) is right
enemystepsright += 1;
// its amount of steps (enemystepsright) right goes up 1
this._xscale = -100;
// _xscale (flips character) is set to neg. 100
this._x += enemyspeed;
// its X goes up the value of enemyspeed
} else if (enemydir == "left") {
// otherwise if the direction (enemydir) is left
enemystepsleft += 1;
// its amount of steps (enemystepsright) left goes up 1
this._xscale = 100;
// _xscale (flips character) is set to 100
this._x -= enemyspeed;
// its X goes down the value of enemyspeed
}
if (enemystepsright == 50) {
// if enemystepsright is equal to 100
enemystepsright = 0;
// enemystepsright is set to 0
enemydir = "left";
// direction is set to left
} else if (enemystepsleft == 50) {
// otherwise if enemystepsleft is equal to 100
enemystepsleft = 0;
// enemystepsleft is set to 0
enemydir = "right";
// direction is set to right
}
}
}
You can adjust the “enemyspeed”, “enemydir”, “enemystepright”, and “enemystepleft.” Enemystepright and Enemystepleft controls how far the enemy walks left and right, and Enemydir controls the direction in which the enemy starts walking.
- Now, in order for the enemy to take affect we need to create a health bar a lives counter and a points counter. So first we need to make a few new layers.
- Create a new layer and name it “counters” Then on that layer create 3 Dynamic text boxes name them, “lives”, “health”, and “score.”
- Now create another layer and name it Actions. Then on the actions tab enter this code:
stop ();
lives.text = 3;
score.text = 0;
health.text = 50;
char.health=50;
char.pausesreen=1;
_quality = "MEDIUM";
_root._y = 0;
_root._x = 0;
this.onEnterFrame=function(){
healthbar.gotoAndStop(char.health);
if(char.health<=0){
cleanup();
}
}
The code you just typed is meant to give values to your counters. So lives = 3, health = 50 and so on. I’ve also gone ahead and added some other useful coding such as the quality settings, the starting x and y positions, and the health bar coding.
- Next we need to create a health bar. Create a new layer and name it health bar. Now Draw a bar and convert it into a symbol, name it health bar.
- Then double click the symbol to enter it. On the first layer count 50 frames and add a key frame.
- Next move back to the first frame and shrink the bar horizontally until it is barely visible. Now add a shape tween between the key frames.
- Now back on the main timeline select the health bar symbol and in the instance name box type “healthbar” with no spaces.
- If you test the movie you will see that when your character comes in contact with the enemy both the health bar and text will decrease, and when your life hits 0 the scene should reset and the lives text should have decreased by 1.
- Now that we have an enemy and counters we need to add some objects to add points. So, add another layer and name it points. Now draw an object. For simplicity’s sake I’m just going to draw a coin. Next convert it to a symbol and name it coin.
- Next select the actions tab on the coin symbol and add this code:
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
// if this hits the char (_root.char)
_root.score.text ++;
// _root.score goes up 1
this.gotoAndStop("sound");
if (_root.score.text>=100) {
_root.lives.text ++;
_root.score.text = 0;
}
unloadMovie(this);
// this movie clip is unloaded
}
}
- To add an extra effect you can add a sound to the object for when you pass over it. To do this, double click the object to enter it. On the frame on the actions tab type, stop(); Then create another frame delete the object in the frame and in the frame instance box type “sound.” And on the actions tab of that same frame type stop(); Now all you need to do is find a sound and place it in the frame.
- Now whenever you hit one of these objects the points counter will go up one, and when the points text reaches 100 the counter will be reset to zero and the lives text will go up one.
- Ok, now we have our enemy, and we have our counters. Now all we need is a way to attack the enemy. So, double click on your character to enter it. Now click on the attack frame. It should look something like this.
- Now drag the coin object from the library and place it over the fist of the character. In the actions tab of the object add this code:
onClipEvent (load) {
_alpha = 0;
}
The Alpha code tells the movie what transparency we want the object to be.
- Then in the instance name box type “attackpoint.”
- Now test your movie and when you press the capslock button your character will attack.
Congratulations! You’ve completed part 2 of my Flash side scroller tutorial. Look for part 3 where I will teach you how to add dynamic objects to your level. If you have any questions please feel free to leave a comment.
Tuesday, May 19, 2009
Favorite House Life Character 2009
Thursday, April 16, 2009
My trip through the Rip in the WoW time-space continum AKA: When Warlocks fly


Then I checked out Star's Rest and no one was there either.
Then the D.E.T.L.A. Encampment and you guessed it, no one there either.
Then just for kicks I went to Dalaran to see what would happen and lo and behold no one was there either and even cooler than that, I didn't get kicked off of my mount.


So after about an hour I was kind of getting sick of being the only person in the world, and tried to use my hearthstone but all it did was kick me off my mount. Then something Totally Awesome happened. I jumped and woosh!!! I was flying without a mount!!!!







And for my final journey I wanted to see if there really was anything at the whirlpool in the middle of the map. When I got there I was a little disappointed to find nothing. Oh well. 
Wednesday, January 28, 2009
Side Scrollers
Don't you miss the the good old days? The days when you would just sit down pick up the SNES controller and play for hours on end. Games like Donkey Kong Country, or Yoshi's Island. Every now and again I'll go back and replay my favorite childhood games, but lately I've been working on making my own side scrolling adventure game.It was'nt easy coming up with the actionscript to make it all work but some how I figured it out.
Anyway, since I'm feeling nice and I want my hits to go up (Nudge, nudge, wink, wink) I've decided to write my own side scrolling adventure game tutorial. As I was making my game I searched for as many flash tutorials as I could looking for some of the more complex features that a side scrolling game would have and was dissapointed to find few if any tutorials on the subject. So I've decided that in this tutorial I will supply you with all of the knowledge that I have on the subject. The tutorial will cover everything from basic character creation, movement, object collection and counters, level progression, level objects, and yes even a pause screen. So look for this tutorial starting tomorrow. part one will be ready to read.
In House Life news, the Beta demo for the game is available on the site. So if you want to try it out Click Here
Monday, November 24, 2008
Happy Unicorn Day
Tuesday, November 11, 2008
Bob's new Blog

Not very often do I actually post here (by the way, this is bob, not ryan). Anyway, I'm starting a WoW blog (world of warcraft), if you don't know what that is then get off your butt and join the new (actually old) MMO sensation.
Anyway, it's called Bob's Causal WoW Blog. Come check it out if you play WoW, or even if you don't. Its where I get to be geeky without having someone tell me to shut up. ha!
Monday, November 10, 2008
Bugs
This is where you all say, "Wow! Do you practice being vague?"
Thursday, November 06, 2008
Brain Power

I just watched the 60 min. report called Brain power, a wow. I never thought that we would come this far so soon. It's cool to think about. One day people with missing limbs will beable to have moving robotic arms, not too different from Cyborg here. If you want to watch it here's the link. http://www.cbsnews.com/video/watch/?id=4564186n
Tuesday, October 28, 2008
Rays Top 10: What not to do in a Scary Movie
10. Never say "I'll be right back" because you won't.
9. Searching for something with the lights off.
8. Separating from the group (duh!!!)
7. Following a ghost who you think is someone walking funny.
6. Locking yourself in a room with sharp objects.
5. Using a dogie door in a garage door as an escape route.
4. Standing and screaming at the killer.
3. Letting your girlfriend/boyfriend go to the bathroom while you wait in the other room.
2. Poking your head into a closet when you know someone else is in the house.
1. You lose your virginity you lose your life.
Thursday, September 04, 2008
New Ideas
Well it's been awhile but I have some new pictures that I wanted to upload. The one to the right is a final version of one of my newly developed characters. As most of you have already noticed that I like super hero stories. So I thought, why not make my own. It's still in the sketching phase, one day you'll see some comics about them.
pictures in the future.Friday, July 18, 2008
Making an RPG
Many of you may have noticed that I haven't written in awhile. Just so you know I haven't abandoned you but in fact I've been really busy lately working on something that I've been wanting to make for a long time. My own original RPG. Well the time has finally arrived where I have the resources to do so. The Game will be called "House Life RPG" I mentioned the project over a year ago when I first started this blog, and since then some story ideas have changed but the main Story line is the same.
As for the game engine I plan basing it off of "Super Mario RPG: Legend of the Seven Stars" one of my favorite games of all time.
Of course the game will include other elements from the gaming world. From things such as platform levels, mini games, and even to the point of first person shooter levels. Making "House Life RPG" one of a kind.
As for a release date I can't say. Working on a game like this by yourself is a daunting task. But I've been able to find help from some very intuitive On-line tutorials. I mean Actionscript isn't the easiest thing to use. I found this one in particular to be of a lot of use. http://www.kirupa.com/developer/actionscript/rpgprogramming.htm for thoughs of you that might be interested.
Saturday, June 14, 2008
House Remodeling
On a random note, what you you guys think about the new Hulk movie? I've heard that you sould wait at least 20 years or so before you make a remake of a movie that flopped. He does look more realistic in this one though. I guess we'll have to wait and see. (Maybe even until it hits the dollar theater. I don't wanna get ripped off twice!!!)
Sunday, June 01, 2008
Ray's Top 10: Super Nintendo Games

Wednesday, May 14, 2008
IT'S FINALLY HERE!!!!!!

Monday, April 21, 2008
Stargate and World of Warcraft
As many of you out there, I've recently started playing World of Warcraft thanks to the influence of my cousin Brigham (AKA: Applebiscuit) and Brother-in-law Bob. So when I saw this clip from Stargate Atlantis I had to laugh. I know that's it's not entirly acurate but you you have to admit it is funny.
Thursday, April 17, 2008
Favorite House Life Character 2008
Well the votes are in and the winner is... Jordan!!! Congrats on being the fan's favorite character. Sorry for not writing sooner, for the last month I havn't had the internet waiting for the DSL to be installed but now we're up and running again. As for updates, the House Life web site should be up and ready at the end of this week or so. So get ready for the toons!!!!! I know I've been saying this for a long time but this time I mean it.
Sunday, March 23, 2008
Happy Easter
Well as you all know today is easter, a special time of the year where we decorate our houses with eggs and bunnys and eat candy. And as I was watching Teen Titans today I saw this picture which I think matches the ocassion. That's Raven as a bunny rabbit. Funny huh? Some people say that my version of Sora looks alot like Raven from Teen Titans, I mean I can see the resemblence but I swear I didn't intend them to look alike. So anyway, Teen Titans is a really cool show, so you should all go and watch it. I mean it!!Here are some other cool cartoons:
Digimon
Xiaolin Showdown
My Life as a Teenage Robot
Kim Possible
Justice Leage
Yu-gi-oh(the old ones, that Yugi is actually in)
Teenage Mutant Ninja Turtles
Dragon Ball Z
Sunday, March 09, 2008
Who's your Favorite
Monday, February 25, 2008
The Journey Begins













