How to Create a Video Game in Less than 5 Minutes
Hello this is Jeff for the Click Team and today we’re going to be building a game in less than five minutes. So I better get to work here and I need to bring up our library toolbar. Okay, I’m going to do a new application and I’m going to open up frame number one and an application is just a series of frames. You can have as many of those as you needed and let us get some objects here and we’re going to be making a simple break-out game. There’s a player, a ball, and we need a brick, don’t we? Yes. Okay, now these are just standard objects as you see in this list here and if you add any of these to your frame, all of those functions feed into the menus you will see. For example, here’s an active object and that’s the basic object in the program and our player is actually an active object and it just has some graphic attached to it and you can import in all of the common file formats. You can use the existing drawing tools in here to draw your animations.
So I don’t want you to think you’re limited to these graphics. You can import in anything and these are just pre-made graphics. So let’s select our player and go on to the movement tab and give it a mouse controlled movement and I’m going to edit this. This is simply just defining the zone that the payer can move around in. That looks about good. I’m going to close our library here so we have a little bit more room. Click on our ball and give it a bouncing ball movement and I’m going to make the starting directions. Pick one of these five. Make it a little bit more fairer the ball be heading up when our game starts and let’s duplicate our brick four rows of 15. Let’s try that again, duplicate four rows of 15. Alright, that looks better. Okay, so if we run our game now, our players are moving around with the mouse, the ball flew off the screen and not much game action going on here yet.
So let’s go over the event editor. The event editor is just a series of events which have conditions. When those are through, any actions we place under our objects will be executed. As you add objects to the frame, they automatically appear in here and they’ll automatically appear on the menus. So I’m just going to click and I want to test for when the ball collides with another object and that would be our player. Now, when this is through, I want our ball to bounce and when the ball collides with another object, the brick, well, I want the ball to bounce and I want our brick to be destroyed there. Now, we need to keep the ball in the play field so I’m going to test the position of the ball and go for the tops and the sides and that will also be a bounce. I’m just going to drag and drop that down. You can drag and drop in here. You can drag and drop over here. You can just drag and drop everywhere. Now we also need some score. So on to our player, I’m just going to add to the score 25.
Now, back over to our frame. We don’t have anything displaying our score so let’s insert an object and I’m just going to our game group and grab the built in score display sticking up there in the corner. Okay, let’s run our game and in just however long that was, three minutes, four minutes, we have a game keeping score. Now, our ball went off the bottom of the screen. Let’s address that fact and test the position of the ball and off the bottom. When that’s though, let’s destroy our ball and then let’s create a new ball and I’m going to create that right about in the middle so if we run our game now, we get anew ball every time one goes off the bottom. So that’s how easy programming in multimedia fusion and the game’s factory is. Thanks a lot!
Transcription by:
Scribe4you Transcription Services