Doston ye video ek tutorial hai, agar ap bhi chahte hai game create kaise karte hai sikhna to is video ko dekhein or janein ki kaisi script or tools ka use kiya jata hai kaise logics ka use kiya jata hai...
[Hindi] How to create 2D flash Game Tutorial - Part 1
#Howto #Game #Animation #FlashGames #PCGames
@Buzz2DayTech
Software Used : Macromedia Flash 8.0
Programming Used: Action Script 2.0
____________________________________________________________
Character Coding/Script :
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;
}
}
-------------------------------------------------------------------------------
Download Script in Notepad File: goo.gl/CDxrqo
---------------------------------------------------------------------------------------------
Watch Part-2 : • [Hindi] How to create ...
Watch Other Videos Also :
How to create game using notepad : • Make a PC Game with No...
How to create software:
• सीखें कैसे बनातें है S...
How to Create analogue Clock using Flash Animation :
• How to make Analog Clo...
Description:
#Buzz2Day Tech
►► Join Facebook Group for your Queries:
/ b2dtech
Social Media:
Subscribe ► goo.gl/YWVPKH
Facebook ► goo.gl/P4pq8q
Twitter ► goo.gl/vl7Nj5
Instagram ► goo.gl/0Uuqr8
Google+ ►goo.gl/S0JNlq
Негізгі бет [Hindi] How to create 2D flash Game Tutorial - Part 1
Пікірлер: 40