Game Development Tutorials
Here is a short video to help all the people who are having problems when making VCAM for stage 2!
updated 11 years ago
If you like these videos please don't forget to leave a comment below.
You can download the complete project from my gihub:
github.com/AthulDilip/Tic-Tac-Toe-Game-ActionScript3
(Note you will only be able to open it if you have Flash CS6 otherwise follow the video and make the game from scratch)
link to download the code :
http://www.mediafire.com/view/fvsnqr1x51vo7jh/TicTacToe_Code.txt
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
In this tutorial I will show you how to make a game like tic tac toe in flash using ActionScript3. Its a very simple game and its ideal for beginners who doesn't have much experience with flash or AS3.
Tic Tac Toe is an old multiplayer game which makes it very game to make in flash!
You can download the complete project from my gihub:
github.com/AthulDilip/Tic-Tac-Toe-Game-ActionScript3
(Note you will only be able to open it if you have Flash CS6 otherwise follow the video and make the game from scratch)
link to download the code for part 1 :
http://www.mediafire.com/view/fvsnqr1x51vo7jh/TicTacToe_Code.txt
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
In this tutorial I will teach you how to make a game like breakout for Android and iOS
It took me some time to make the game playable on mobile! Lots of hardwork for you guys so please don't forget to like and share the video
You can download the code of the game from here:
github.com/AthulDilip/HTML5-Breakout-Game
Happy Developing :D
In this series of tutorials you will learn how to make a game (HTML5) that can be published on Android, iOS and Web and many other platforms like Tizen and Mozilla OS etc.
We will use an game engine called phaser which will be very helpful for us when porting our game onto mobile devices. The best part about HTML5 games is that you just have to make once and you can run it in every platform you want.
The programming language used to make the game is JavaScript which is very easy when compared to other programming languages ( JavaScript is similar to AS3 ).
In this video you will learn how to publish the game you have made onto Android and iOS!
Download the final code from:
http://www.mediafire.com/download/1z45q3ulyr9qez6/flappytutorial.zip
In this series of tutorials you will learn how to make a game (HTML5) that can be published on Android, iOS and Web and many other platforms like Tizen and Mozilla OS etc.
We will use an game engine called phaser which will be very helpful for us when porting our game onto mobile devices. The best part about HTML5 games is that you just have to make once and you can run it in every platform you want.
The programming language used to make the game is JavaScript which is very easy when compared to other programming languages ( JavaScript is similar to AS3 ).
In this video we will make a simple version of flappy bird. You will also learn many basic important topics in HTML5 game development!
Download the final game from here:
http://www.mediafire.com/download/1z45q3ulyr9qez6/flappytutorial.zip
In this series of tutorials you will learn how to make a game (HTML5) that can be published on Android, iOS and Web and many other platforms like Tizen and Mozilla OS etc.
We will use an game engine called phaser which will be very helpful for us when porting our game onto mobile devices. The best part about HTML5 games is that you just have to make once and you can run it in every platform you want.
The programming language used to make the game is JavaScript which is very easy when compared to other programming languages ( JavaScript is similar to AS3 ).
In this video you will learn how to load a sprite onto the stage and how to move it. and by the end of this series of tutorial you will learn how to make a game like flappy bird for Android, iOS and Web!
Download the final code from:
http://www.mediafire.com/download/p6hi91yaaaa06c9/basicgame.zip
In this series of tutorials you will learn how to make a game (HTML5) that can be published on Android, iOS and Web and many other platforms like Tizen and Mozilla OS etc.
We will use an game engine called phaser which will be very helpful for us when porting our game onto mobile devices. The best part about HTML5 games is that you just have to make once and you can run it in every platform you want.
The programming language used to make the game is JavaScript which is very easy when compared to other programming languages ( JavaScript is similar to AS3 ).
In this video we will be looking at the basics of HTML5 game development and by the end of this series of tutorial you will learn how to make a game like flappy bird for Android, iOS and Web!
You can download brackets from : http://brackets.io
Basic PhaserFrameWork can be downloaded from :
http://www.mediafire.com/download/c1wii7u6cpkx4hp/PhaserFrameWork.zip
Happy Developing :D
In this video you will learn how to make a game like flappy bird in flash by using the programming language ActionScript 3. This is a basic AS3 tutorial and the game logic is very simple.
AS3 will not work with flash 8. you will need flash CS3,CS4,CS5 or CS6 to make this.
You can download the complete project from my gihub:
github.com/AthulDilip/Flappy-Bird-ActionScript3
(Note you will only be able to open it if you have Flash CS6 otherwise follow the video and make the game from scratch)
You can download the code from here:
http://www.mediafire.com/view/piv5jxy4url51cu/Flappy_Main.txt
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
Download the Code for Main.as from here:
http://www.mediafire.com/view/wiuwh4hr7czo68a/Main_Part_8.txt
You can download all the code files from this link:
mediafire.com/#34f51605nqm12
Download Main part 7, Tower part 7 and Tower2 part 7.
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
AS3 will not work with flash 8. you will need flash CS3,CS4,CS5 or CS6 to make this.
You can download the code from this link:
mediafire.com/?ncj6mm2varalqht
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
Tower of hanoi is a classic puzzle game in which goal is to move all the pieces from the left post over to the right post . You can only move one disk at a time and you can never put a bigger disk on top of a smaller disk.
AS3 will not work with flash 8. you will need flash CS3,CS4,CS5 or CS6 to make this. This will be a good tutorials for beginners.In this tutorial you will learn the basics of ActionScript 3 you will learn to control an object using mouse , basics of dragging and droping an object in flash!
This knowledge can be used to create many different games in flash!
If this video helped you please give a thumbs up and make sure that you have subscribed to my channel!
You can download the complete project from my gihub:
github.com/AthulDilip/TowerOfHanoi-Game-ActionScript3
(Note you will only be able to open it if you have Flash CS6 otherwise follow the video and make the game from scratch)
You can download the code from here:
http://www.mediafire.com/view/il0vcm7ql5d7hpi/Tower_of_Hanoi_Code.txt
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
In this I'll show you you how to use the method that I taught you in the previous video to store highscore of a game!
If you look at the popular games right now all of them have a common feature and that is HIGH SCORE! So learning how to save or store a high score of a game is very important for any game developer!
SharedObject Class is used to store small amount of data on the users computer! It works similar to storing data using cookies!
So If this video helped you please give a thumbs up and make sure that you have subscribed to my channel!
you can download code from here :
http://www.mediafire.com/view/r048typ5ww9vq1t/HighScore_Save_Code.txt
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
It is very important for a game developer to learn how to save dat a in games! Using this method you can save game's highscore, user's login data or any other information that must be remembered when users plays your flash game again!
previously I uploaded an AS2 tutorial on saving and loading data using passwords but that is an old method! Most of the popular flash games uses SharedObjects to store information!
In the next video I'll show you you how to use this method to store highscore of a game! SharedObjects works similar to cookies!
If this video helped you please give a thumbs up and make sure that you have subscribed to my channel!
You can download the code for Main.as from here :
http://www.mediafire.com/download/11ihg2i1oa8obto/Save_Load_Code.txt
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
Download the code for Data.as from here:
mediafire.com/?8q1oxbhrt4x3uvt
Download the new code for Main.as from here:
http://www.mediafire.com/view/i25rj7q67v65079/Main_part_5.txt
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
You can download the new code for Main from this link:
http://www.mediafire.com/view/lhdhov1lcbb83bt/Main%20part%203.txt
You can download the new code for Tower from this link:
http://www.mediafire.com/view/y0n9o8k8fky8fq9/Tower.txt
You can download the new code for Bullet from this link:
http://www.mediafire.com/view/3a28uzwtli58u62/Bullet.txt
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
You can download the new code for Mainfrom this link:
http://www.mediafire.com/view/9essz9y3xfd7e9o/Main%20part%202.txt
You can download the new code for Monster from this link:
http://www.mediafire.com/view/2e3t5y3999kdbzb/Monster.txt
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
You can download the complete project from my gihub:
(Note you will only be able to open it if you have Flash CS6 otherwise follow the video and make the game from scratch)
github.com/AthulDilip/TowerDefense-Game-ActionScript3
You can download the code from this link:
http://www.mediafire.com/view/2y833bpy7anuyyr/Main_part_1.txt
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
You can download the complete project from my github :
github.com/AthulDilip/Snake-Game-ActionScript3
(Note you will only be able to open it if you have Flash CS6 otherwise follow the video and make the game from scratch)
Link to the code for the game:
drive.google.com/file/d/0B6muDelteblGRl9tMUt5Vm9fVXM/edit?usp=sharing
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
link for the code:
http://www.mediafire.com/file/nx6m1are9c8eepm/PONG_CODE.txt/file
UPDATE
You can download the complete project from my gihub:
github.com/AthulDilip/Pong-Game-ActionScript3
(Note you will only be able to open it if you have Flash CS6 otherwise follow the video and make the game from scratch)
If you want to understand how the AS3 code works I recommend this book :
Foundation Game Design with Flash - http://amzn.to/2q7mtwV
If you know the basics of AS3 and looking for a more practical book then I recommend :
Flash Game Development by Example - http://amzn.to/2r72zX0
One of the most popular genres of video game is the platform game, which also
poses some very interesting programming and design challenges.
From a programming point of view, if you can program a platform game then you are a good programmer
If you are having problems with HP bar then download and watch this video which will teach
link to the code for the enemy:
http://www.mediafire.com/view/?wvfcpq5or827g4n
Subscribe for more tutorials
here are the 3 variable you need to declare.
lap = 1;
totallaps = 3;
var fulllap:Boolean = false;
The link to download is extra code :
http://www.mediafire.com/file/zws6h9mhy9dtn3f/car2.txt/file
UPDATE
Download the complete project from gihub:
github.com/AthulDilip/AS2-Racing-Game
The code for the car can be downloaded from the following link:
http://www.mediafire.com/file/3wo3a8k8z5aosyy/Car.txt/file
Link to the car sprite:
http://gamemakerfoundry.com/tag/car-sprite
UPDATE
You can downlaod the complete project from gihub:
github.com/AthulDilip/AS2-Racing-Game
The code for newgame button:
on(release) {
gotoAndStop("stage1");
}
The code for continue button:
on(release) {
_root.gotoAndStop(2);
}
The code for Submit button:
on(release) {
if(_root.pwd.text == "abcd") {
gotoAndStop("stage1");
}else if (_root.pwd.text == "dcba") {
gotoAndStop("stage2");
}else if (_root.pwd.text == "aaaa") {
gotoAndStop("stage3");
}
else {
_root.pwd.text = "Invalid Password"
}
}
Leave a comment and let me know what you think about this video!
One of the most popular genres of video game is the platform game, which also poses some very interesting programming and design challenges.
From a programming point of view, if you can program a platform game then you are a good programmer
The code for the key:
onClipEvent(load) {
got = 0
}
onClipEvent(enterFrame) {
if(_root.char.hitTest(this)){
this._alpha = 0;
got = 1;
}
}
New code for the door:
onClipEvent(enterFrame) {
if(_root.char.hitTest(this)) {
if(_root.key.got == 1){
_root.gotoAndStop("stage2");
}
}
}
Subscribe for more tutorials
When you make vcam for stage 2 you can't copy the actual vcam like before. You will have to duplicate the symbol and then you should copy the duplicated symbol form the library (ctrl+L). To duplicate the vcam just right click on it and select "duplicate symbol"!
watch this video if you are not able to make VCAM for stage 2 properly:
youtube.com/watch?v=9Z6YtcaO354
This is the part 9 of the PLATFORM GAME DEVELOPMENT TUTORIAL which teaches you how to make a 2D platform game ( side scrolling game ) in flash 8 , flash cs4, flash cs5 or flash cs6. All the codes for the game is written by using the programming language ActionScript 2 ( AS2 ). In this part I will show you how to make stage 2 for your platform game. I will also show you how to make door to stage 2.
One of the most popular genres of video game is the platform game, which also poses some very interesting programming and design challenges.
From a programming point of view, if you can program a platform game then you are a good programmer
The code for the door :
onClipEvent(enterframe) {
if (_root.char.hitTest(this)) {
_root.gotoAndStop("stage2");
}
}
Subscribe for more tutorials
THIS RATE OF CHANGE OF THE SPEED IS CALLED ACCELERATION!
I implemented acceleration in the game by increasing the speed before and then moving the ball with non uniform speed
xspeed += acceleration; will increase the speed
_x += xspeed; will move the character with a constantly changing speed!
I could not include the new code for char in the description because it was too long
but you can download it from :
http://www.mediafire.com/view/?vo3rthikuwhhig4
One of the most popular genres of video game is the platform game, which also poses some very interesting programming and design challenges.
From a programming point of view, if you can program a platform game then you are a good programmer
The code for the joystick is:
onClipEvent (keyUp) {
if (_root.char.hitTest(this)) {
if (this._currentframe == 1) {
if (Key.getCode() == Key.SPACE) {
this.gotoAndStop(2);
_root.ground.block.gotoAndPlay(2);
}
}
}
}
Subscribe for more tutorials
One of the most popular genres of video game is the platform game, which also poses some very interesting programming and design challenges.
From a programming point of view, if you can program a platform game then you are a good programmer
Code for the Coin:
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.score += 10;
unloadMovie(this);
}
}
Subscribe for more tutorials
One of the most popular genres of video game is the platform game, which also poses some very interesting programming and design challenges.
From a programming point of view, if you can program a platform game then you are a good programmer
Code for Play again button:
on (release) {
_root.gotoAndStop("stage1");
}
Subscribe for more tutorials
One of the most popular genres of video game is the platform game, which also poses some very interesting programming and design challenges.
From a programming point of view, if you can program a platform game then you are a good programmer
If you are having problems with HP bar then download and watch this video which will teach you to make HP bar easily:
http://www.mediafire.com/?v5j1dvn0p93su81
The Code for the spike :
onClipEvent(enterFrame) {
this._rotation += 2;
if(_root.char.hitTest(this)) {
_root.vcam.hp.nextFrame();
}
}
Subscribe for more tutorials
One of the most popular genres of video game is the platform game, which also
poses some very interesting programming and design challenges.
From a programming point of view, if you can program a platform game then you are a good programmer
Code for the restart box:
onClipEvent(enterFrame){
this._visible = false;
if(_root.char.hitTest(this)){
_root.char._x =
_root.char._y =
}
}
Subscribe for more tutorials
One of the most popular genres of video game is the platform game, which also poses some very interesting programming and design challenges.
From a programming point of view, if you can program a platform game then you are a good programmer
Code for the Vcam:
onClipEvent (enterFrame) {
_y += (_root.char._y-_y)/4;
_x += (_root.char._x-_x)/4;
}
Vcam FLA
http://www.mediafire.com/?6xrsa65md816063
Here is the link to the platform game making tutorial:
http://www.youtube.com/playlist?list=PLD17B0A2D547A9E5D&feature=plcp
Here is the link to the code for the character:
http://www.mediafire.com/file/22e0337bibhc062/MarioCode.txt/file
Here is the link towards the mario sprite sheet:
http://www.google.ae/imgres?hl=en&sa=X&biw=1024&bih=581&tbm=isch&prmd=imvns&tbnid=K0Rnt36um_-ooM:&imgrefurl=http://www.smbhq.com/users/sprite/&docid=PyhdTBllovfY9M&imgurl=http://www.smbhq.com/users/sprite/smb_spritesheet.gif&w=286&h=284&ei=z2UhUIvLNse5hAfojoGgBQ&zoom=1
UPDATE
Download the complete project from github:
github.com/AthulDilip/AS2-Mario-Game
Leave a comment and let me know what you think about this video!
One of the most popular genres of video game is the platform game, which also
poses some very interesting programming and design challenges.
From a programming point of view, if you can program a platform game then you are a good programmer
Code for the character:
onClipEvent (load) {
var ground:MovieClip = _root.ground;
var grav:Number = 0;
var gravity:Number = 2;
var speed:Number = 7;
var maxJump:Number = -12;
var touchingGround:Boolean = false;
}
onClipEvent (enterFrame) {
_y += grav;
grav += gravity;
while (ground.hitTest(_x, _y, true)) {
_y -= gravity;
grav = 0;
}
if (ground.hitTest(_x, _y+5, true)) {
touchingGround = true;
} else {
touchingGround = false;
}
if (Key.isDown(Key.RIGHT)) {
_x += speed;
}
if (Key.isDown(Key.LEFT)) {
_x -= speed;
}
if (Key.isDown(Key.UP) && touchingGround) {
grav = maxJump;
}
if (ground.hitTest(_x+(_width/2), _y-(_height/2), true)) {
_x -= speed;
}
if (ground.hitTest(_x-(_width/2), _y-(_height/2), true)) {
_x += speed;
}
if (ground.hitTest(_x, _y-(height), true)) {
grav = 3;
}
}
UPDATE
Download complete project from github :
github.com/AthulDilip/AS2-Platform-Game
Subscribe for more tutorials