| View previous topic :: View next topic |
| Author |
Message |
Evil Scarecrow Grandmaster Cheater
Reputation: 0
Joined: 13 Jan 2008 Posts: 874 Location: Da Devilz Playground
|
Posted: Thu Nov 13, 2008 1:39 am Post subject: How can i make a Dragonfable type game? |
|
|
How can i make a Dragonfable type game? like its not gunna be big as dragonfable just like you can click and move and theres a button on the bottom that you click to fight random monster's also a inventory, save game & gold & buy & sell feature would be nice, but not nessicary.
And body got any help? i really need a tut to help me with the scripting and telling me what to animate ect.
Help is verymuch appreciated.
_________________
|
|
| Back to top |
|
 |
Cheat Engine User Something epic
Reputation: 61
Joined: 22 Jun 2007 Posts: 2071
|
Posted: Thu Nov 13, 2008 2:13 am Post subject: |
|
|
Well, you could try to find some tutorials on making games in Flash and how to animate stuff in flash.
|
|
| Back to top |
|
 |
Evil Scarecrow Grandmaster Cheater
Reputation: 0
Joined: 13 Jan 2008 Posts: 874 Location: Da Devilz Playground
|
Posted: Thu Nov 13, 2008 2:21 am Post subject: |
|
|
I know how to animate, i was really wanted some like step by step things because i have no clue what do to with making games, I'm only used to making movies.
_________________
|
|
| Back to top |
|
 |
Censored Master Cheater
Reputation: 0
Joined: 30 Dec 2006 Posts: 441 Location: Suspended animation
|
Posted: Thu Nov 13, 2008 2:38 am Post subject: |
|
|
| actionscripting.
|
|
| Back to top |
|
 |
Slappy101 I post too much
Reputation: 1
Joined: 19 Jun 2007 Posts: 2602
|
Posted: Thu Nov 13, 2008 2:52 am Post subject: |
|
|
a game such as DF takes a LONG time to make by yourself. I've been working on a game and it has click to move, inventory, gold, hp, mp, spells, attacking, shops, quests and turn based battle and it's taken me about 2 months. just experiment. if you have no experience in actionscript then it will be VERY hard for you to do this.
this is an example of a click to move script from obai. he helped me out with the click to move and some other stuff.
make a square with the instance name 'm' and make it transparent, then you need the character etc.
| Code: | speed = 10;
canWalk = false;
PlayerWalk = function () {
if (canWalk == true) {
this.dx = this.targx-this._x;
this.dy = this.targy-this._y;
distance = Math.sqrt(this.dx*this.dx+this.dy*this.dy);
this.vx = this.dx/distance*speed;
this.vy = this.dy/distance*speed;
_root.player.gotoAndStop("Run");
if (distance<_root.speed) {
this.vx = 0;
this.vy = 0;
_root.player.gotoAndStop("Idle");
}
this._x = this._x+this.vx;
this._y = this._y+this.vy;
}
};
setTarget = function () {
if (_root.m.hitTest(_root.pmap)) {
canWalk = true;
player.targx = _root._xmouse;
player.targy = _root._ymouse;
}
// end if
};
player.onEnterFrame = PlayerWalk;
player.onMouseUp = setTarget;
onEnterFrame = function () {
if (_root.m._x<_root.player._x) {
_root.player._xscale = -14;
} else {
_root.player._xscale = 14;
}
};
|
as for inventory/shop
use this tutorial but also use a gold variable and make buttons you click instead things you move over.
http://www.youtube.com/watch?v=RMuap_kRgfA
_________________
|
|
| Back to top |
|
 |
Drkgodz Flash moderator
Reputation: 2
Joined: 17 Jul 2006 Posts: 2997 Location: Houston
|
Posted: Thu Nov 13, 2008 5:29 pm Post subject: |
|
|
If you need a tutorial to make a game, you have already failed.
Don't try to do something big to get your skill up. Look at small tutorials and figure out how coding works.
_________________
|
|
| Back to top |
|
 |
Evil Scarecrow Grandmaster Cheater
Reputation: 0
Joined: 13 Jan 2008 Posts: 874 Location: Da Devilz Playground
|
Posted: Thu Nov 13, 2008 6:05 pm Post subject: |
|
|
i have made a few games, i just need a tut for this time of game, im only used to making fighting ones.
_________________
|
|
| Back to top |
|
 |
Rin Epic Kitty
Reputation: 50
Joined: 20 Aug 2007 Posts: 2172
|
|
| Back to top |
|
 |
Cryoma Member of the Year
Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
Posted: Thu Nov 13, 2008 6:42 pm Post subject: |
|
|
| I could certainly do it if I had the time.
|
|
| Back to top |
|
 |
|