AMT - MCRPRJ - Report 145
AMT - MCRPRJ - Report 145
EDUCATION(MSBTE)
MICROPROJECT
GROUP MEMBERS:
1
TABLE OF CONTENTS
3 Procedure Followed 4
4 Properties Used 7
5 Skills Developed 8
6 Conclusion 8
2
INTRODUCTION OF APPLIED MULTIMEDIA TECHNIQUES:
Multimedia Application is the combined use of text, graphics, animation, audio, and video which
can be used for entertainment, Business, and in Education to enhances communication and learning.
The multimedia components like video, animation, still images, audio components and text can be
developed using various tools.
The term multimedia refers to the method of presenting information or data. You might know that
multimedia can usually be in various formats, and animation is one of the subsets of these formats.
Animation is abroad term, and people use various animation types. When we talk about
conventional animation, Disney is the best example of that, and they introduce it first.
3
INTRODUCTION TO MICROPROJECT:
TOPIC OF MICROPROJECT: Game Development Using Multimedia
NAME OF DEVELOPED GAME: Pirate Empires: Landform Conquerors
Multimedia is building block of Digital Information as every kind of Digital Information contains
multimedia elements such as text, image, audio, video, animation, graphics, etc. Game development
field is completely based on multimedia objects and scripting of actions. So as or microproject is
based on game development we used different types of multimedia objects to develop the required
game.
We developed a game which under platform game genre. One of the most popular genres of video
game is the platform game, which also poses some very interesting programming and design
challenges.
PROCEDURE FOLLOWED:
1. Developed a character: Character is a entity which we are using to communicate with the
environment of Game semi immersively.
Code used for 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;
}
4
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)) {
gray= 3;
}
}
2. Developed a platform: It will hold the character from falling down the stage.
3. Developed a screen holding and moving entity named as: vcam, which also provides a
constant background to moving frames of game.
Code used for Vcam:
onClipEvent (enterFrame) {
_y += (_root.char._y-_y)/4;
_x += (_root.char._x-_x)/4;
}
4. Created a restart box which restarts the game whenever character falls down the platform.
Code used for Restart Box:
onClipEvent(enterFrame){
this._visible = false;
if(_root.char.hitTest(this)){
_root.char._x = _root.char._y =
}
}
5. Created a health power animation inside the vcam symbol to depict the health of character.
HP of character reduces whenever it hits the spike(obstacle).
6. Created a spike(obstacle) which will reduce the health.
Code used for spike:
onClipEvent(enterFrame){
this._rotation += 2;
if(_root.char.hitTest(this)) {
_root.vcam.hp.nextFrame();
}
}
7. Created an Game over scene ,whenever character HP becomes zero game is over and Game
over scene will be displayed.
Code used for Play again button:
on (release) {
_root.gotoAndStop("stage1");
}
8. Created game coins/score .Firstly created an score board which is a dynamic text which
increases by 10 points whenever character touches an Game coin.
Code for Game coin:
onClipEvent (enterFrame) {
if (_root.char.hitTest(this))
{ _root.score += 10;
5
unloadMovie(this);
}
}
9. Created a Joystick and Gate to block the character from further going. Character can only
run further if it uses joystick to reduce the height of Gate so character can jump over it.
Code used for Joystick:
onClipEvent (keyUp)
{
if (_root.char.hitTest(this)) {
if (this._currentframe == 1){
if(Key.getCode() == Key.SPACE){
this.gotoAndStop(2); _
root.ground.block.gotoAndPlay(2);
}
}
}
}
10. Created a Door with key and stage two. Door will take the character to stage 2 if character
have collected the key from stage.
Code used for Door:
onClipEvent(enterFrame) {
if(_root.char.hitTest(this)) {
if(_root.key.got == 1){ _
root.gotoAndStop("stage2");
}
}
}
Code used for key:
onClipEvent(load) {
got = 0
}
onClipEvent(enterFrame) {
if(_root.char.hitTest(this)){
this._alpha = 0;
got = 1;
}
}
11. Created an enemies to kill character. If enemy touches the character the game will be
restarted and if character jumps over the enemy then enemy will be destroyed.
12. Finalized the game.
6
1. Character:
It’s a leading entity of game which acts as interface between game’s environmanet and the
physical player or it’s the object which a physical player uses to experience the environment
of the game word.
2. Platform:
It’s a landform or part of land on which our character is running. Basically
platform holds the character from falling down the stage. We need to
move character in such a way that character always stays on platform if
character misses to jump over it then it falls down the stage and game will
be restarted.
Here we used two different platforms for two different stages.
3. Game coin:
Its represents the score in game. Whenever character touches/collects the game
coin the score of player increases by 10 points. It helps to make player engaged
in the game as score increases excitement of player also increases.
CONCLUSION :
Multimedia elements have become an integral part of modern communication. These elements,
which include text, images, audio, and video, have unique features that make them effective in
conveying messages to different audiences. We got the chance to present a unique message by
means of this Game development project work. Hence, we have created a game “Pirate Empires:
Landform Conquerors” .