dcsimg
A Flash Developer Resource Site

Page 1 of 2 12 LastLast
Results 1 to 20 of 32

Thread: Multiplayer game

  1. #1
    Member
    Join Date
    Jun 2006
    Posts
    44

    Multiplayer game

    Hello everybody , i'm like to create a rpg , or game of any genre , if somebody can help to put online i'm like to know , i'm want to use the free-chat of mr-webcam its so good , more i'm dont have a server to host it eletro tank i'm dont know how to use if somebody help if descripition of a server and how to put online i'm will like so mutch , my msn is :akira_koto@hotmail.com for live help
    and of the game anyone can help me for create ? tipe an actions or make and post the .fla here for me look a tipe of rpg , please somebody help me if this .

    //Guiaki
    //Flash Animations website
    //Guigames website

  2. #2
    crossconscious
    Join Date
    Sep 2005
    Location
    Belgium
    Posts
    1,188
    If you're new to this, may I suggest that you start with something a LOT simpler, and work you way up? Honestly, your online rpg will never get finished unless you start with some small games to learn how everything works.

  3. #3
    383,890,620 polygons nGFX's Avatar
    Join Date
    Oct 2002
    Location
    Germany / Ruhrgebiet
    Posts
    902
    ... and of course it would be helpfull to take a look at the readme sticky ...

    nGFX

  4. #4
    Member
    Join Date
    Jun 2006
    Posts
    44
    Quote Originally Posted by Fall_X
    If you're new to this, may I suggest that you start with something a LOT simpler, and work you way up? Honestly, your online rpg will never get finished unless you start with some small games to learn how everything works.
    i'm not new , i'm use flash like two years , more i'm never know how to put a game or a document in flash online i'm need a help to this , someone know a walk correctly ? tipo not walk up if animation of the right a move action correclty to create the game , i'm have this action more if you press > and /\
    will be the animation of > going to /\ >

    look this action :

    Code:
    onClipEvent(enterFrame){
    	if(Key.isDown(Key.UP)){
    		move(0,-s);
    	}
    	if(Key.isDown(Key.DOWN)){
    		move(0,s);
    	}
    	if(Key.isDown(Key.LEFT)){
    		move(-s,0);
    	}
    	if(Key.isDown(Key.RIGHT)){
    		move(s,0);
    	}
    }
    this action go up and right in animation of right
    and this too :

    Code:
    onClipEvent (enterFrame) {
    	original_x = _x;
    	original_y = _y;
    	if (Key.isDown(Key.LEFT) and !Key.isDown(Key.UP) and !Key.isDown(Key.DOWN)) {
    		if (_root.gruff._x>=50) {
    			_x = _x-10;
    			previousDirection = 3;
    			this.gotoAndStop("5");
    		}
    	}
    	if (Key.isDown(Key.RIGHT) and !Key.isDown(Key.UP) and !Key.isDown(Key.DOWN)) {
    		if (_root.gruff._x<=450) {
    			_x = _x+10;
    			previousDirection = 4;
    			this.gotoAndStop("7");
    		}
    	}
    	if (_parent.table.hitTest(_x, _y, true) == false) {
    		_x = original_x;
    	}
    	if (Key.isDown(Key.UP) and !Key.isDown(Key.LEFT) and !Key.isDown(Key.RIGHT)) {
    		if (_root.gruff._y>=100) {
    			_y = _y-10;
    			previousDirection = 1;
    			this.gotoAndStop("3");
    		}
    	}
    	if (Key.isDown(Key.DOWN) and !Key.isDown(Key.LEFT) and !Key.isDown(Key.RIGHT)) {
    		if (_root.gruff._y<=350) {
    			_y = _y+10;
    			previousDirection = 2;
    			this.gotoAndStop("2");
    		}
    	}
    	if (_parent.table.hitTest(_x, _y, true) == false) {
    		_y = original_y;
    	}
    	if (Key.isDown(Key.RIGHT) and Key.isDown(Key.UP)) {
    		if ((_root.gruff._x<=450) and (_root.gruff._y>=100)) {
    			_x = _x+6;
    			_y = _y-6;
    			this.gotoAndStop("3");
    		}
    	}
    	if (Key.isDown(Key.LEFT) and Key.isDown(Key.UP)) {
    		if ((_root.gruff._x>=50) and (_root.gruff._y>=100)) {
    			_x = _x-6;
    			_y = _y-6;
    			this.gotoAndStop("3");
    		}
    	}
    	if (_root.table.hitTest(_x, _y, true) == false) {
    		_y = original_y;
    		_x = original_x;
    	}
    	if (Key.isDown(Key.RIGHT) and Key.isDown(Key.DOWN)) {
    		if ((_root.gruff._x<=450) and (_root.gruff._y<=350)) {
    			_x = _x+6;
    			_y = _y+6;
    			this.gotoAndStop("2");
    		}
    	}
    	if (Key.isDown(Key.LEFT) and Key.isDown(Key.DOWN)) {
    		if ((_root.gruff._x>=50) and (_root.gruff._y <=350)) {
    			_x = _x-6;
    			_y = _y+6;
    			this.gotoAndStop("2");
    		}
    	}
    	if (_root.table.hitTest(_x, _y, true) == false) {
    		_y = original_y;
    		_x = original_x;
    	}
    }
    onClipEvent (keyUp) {
    	if (previousDirection == 1) {
    		this.gotoAndStop("4");
    	} else {
    		if (previousDirection == 3) {
    			this.gotoAndStop("6");
    		} else {
    			if (previousDirection == 4) {
    				this.gotoAndStop("8");
    			} else {
    				this.gotoAndStop("1");
    			}
    		}
    	}
    }
    onClipEvent (enterFrame) {
    	if (Key.isDown(Key.DOWN)) {
    		if (_root.ground._y >= -650) {
    			if (_root.gruff._y>250) {
    				_root.ground._y = _root.ground._y-4;
    				_root.rooves._y = _root.rooves._y-4;
    				_root.table._y = _root.table._y-4;
    			}
    		}
    	}
    }
    onClipEvent (enterFrame) {
    	if (Key.isDown(Key.UP)) {
    		if (_root.ground._y <= 400) {
    			if (_root.gruff._y<150) {
    				_root.ground._y = _root.ground._y+4;
    				_root.rooves._y = _root.rooves._y+4;
    				_root.table._y = _root.table._y+4;
    			}
    		}
    	}
    }
    onClipEvent (enterFrame) {
    	if (Key.isDown(Key.LEFT)) {
    		if (_root.ground._x <= 800) {
    			if (_root.gruff._x<240) {
    				_root.ground._x = _root.ground._x+4;
    				_root.rooves._x = _root.rooves._x+4;
    				_root.table._x = _root.table._x+4;
    			}
    		}
    	}
    }
    onClipEvent (enterFrame) {
    	if (Key.isDown(Key.RIGHT)) {
    		if (_root.ground._x >= -200) {
    			if (_root.gruff._x>280) {
    				_root.ground._x = _root.ground._x-4;
    				_root.rooves._x = _root.rooves._x-4;
    				_root.table._x = _root.table._x-4;
    			}
    		}
    	}
    }
    of the charater by baby wet ones ...

    help me plz if this too :

    a battle system , like a monster going to your direction and atack and loose some health ... and an everythings of a rpg
    Last edited by guiaki; 08-23-2006 at 10:47 AM.

  5. #5
    Member
    Join Date
    Jun 2006
    Posts
    44
    someone can help me with the question above?

  6. #6
    Senior Member Ray Beez's Avatar
    Join Date
    Jun 2000
    Posts
    2,796
    Are you using a Language Translation tool to make your posts? Because if you are, the translations are not good. Can't understand your questions.

  7. #7
    Member
    Join Date
    Jun 2006
    Posts
    44
    lol , i'm not using a translator tool , i'm a brazilian and dont know inglish so good , because this my question are understanded

  8. #8
    Member
    Join Date
    Jun 2006
    Posts
    44
    100 to more views and only five replies...

  9. #9
    Banned XareoX's Avatar
    Join Date
    Aug 2006
    Posts
    462
    guiaki do u know what a action script is?

  10. #10
    Senior Member TeroLebe's Avatar
    Join Date
    Mar 2003
    Location
    Lahti, Finland
    Posts
    302
    I don't think a multiplayer game is for you if you can't handle the basic movement code. Multiplayer games contain some serverside scripting, handling syncronizing "remote" player movement and much more.

    Try pac-man(insh) game first, and take baby steps.


    (Been away loooong time, how's everybody?)

  11. #11
    Senior Member Gloo pot's Avatar
    Join Date
    Aug 2005
    Location
    Australia Mate!
    Posts
    874
    (Been away loooong time, how's everybody?)
    He had a party, and you wern't invited... Muwahahaha...
    92.7 Fresh FM for all your South Aussies - Doof Doof music FTW people!

  12. #12
    Senior Member TeroLebe's Avatar
    Join Date
    Mar 2003
    Location
    Lahti, Finland
    Posts
    302
    Quote Originally Posted by Gloo pot
    He had a party, and you wern't invited... Muwahahaha...
    i knew it!

  13. #13
    Member
    Join Date
    Jun 2006
    Posts
    44
    look , someone here have a .fla with online and how to put online ? post here the .fla and the how to put online plz

    other question :
    If i want to do a battle system like an RPG (like tibia) how can i make an enemy
    go in you direction? This enemy will then need to attack with a damage of a
    random number from 1 - 10 which if it hits the play the player will lose that
    much health, how can i do this? Can someone post the actionscript or fla?
    PLEASE! Help me with this.
    Last edited by guiaki; 08-25-2006 at 12:56 PM.

  14. #14
    Wait- what now? tidenburg's Avatar
    Join Date
    Dec 2005
    Posts
    1,472
    if i'm want to do a battle system , i'm want to be a battle system of an rpg , like tibia , how i'm can do an enemy with go in your direction , this enemy need atack an randon number like a 1 to 10 and when the enemy atack the player loose the health of the randon number of atack by enemy how i'm can do this? any can post the action if how to do this ? , or a .fla with this? please! help with this
    In english:
    If i want to do a battle system like an RPG (like tibia) how can i make an enemy go in you direction? This enemy will then need to attack with a damage of a random number from 1 - 10 which if it hits the play the player will lose that much health, how can i do this? Can someone post the actionscript or fla? PLEASE! Help me with this.
    "I'd only told them the truth. Was that so selfish? Our integrity sells for so little, but it is all we really have. It is the very last inch of us, but within that inch, we are free."

  15. #15
    Wait- what now? tidenburg's Avatar
    Join Date
    Dec 2005
    Posts
    1,472
    Last edited by tidenburg; 08-25-2006 at 08:41 PM.
    "I'd only told them the truth. Was that so selfish? Our integrity sells for so little, but it is all we really have. It is the very last inch of us, but within that inch, we are free."

  16. #16
    Member
    Join Date
    Jun 2006
    Posts
    44
    so good tidenburg , this help me ... but i'm need how to put online any help me with this ? PLEASE

  17. #17
    Wait- what now? tidenburg's Avatar
    Join Date
    Dec 2005
    Posts
    1,472
    You want to put the game on the internet?
    if you do then go to imageshack.us, upload the file and then copy the direct link to image.
    If that is not what you meant then ask again but be a little more clear.
    www.imageshack.us
    -----------------------
    Você quer pôr o jogo sobre o Internet? se você for então a imageshack.us, upload a lima e copí então a ligação direta à imagem. Se aquele não for o que você significou então pedir outra vez mas estar pouco um mais desobstruído. www.imageshack.us
    -----
    Sorry if you dont understand
    "I'd only told them the truth. Was that so selfish? Our integrity sells for so little, but it is all we really have. It is the very last inch of us, but within that inch, we are free."

  18. #18
    Member
    Join Date
    Jun 2006
    Posts
    44
    lolllll tidenburg , i'm know this ! i'm have a website .com and accept swf... i'm want to know how to use an server for host and put online like a chat , you know? you can help with this?

  19. #19
    crossconscious
    Join Date
    Sep 2005
    Location
    Belgium
    Posts
    1,188
    You can do a chat by interacting with php. I'm sure you'll find some tutorials about that.

  20. #20
    Wait- what now? tidenburg's Avatar
    Join Date
    Dec 2005
    Posts
    1,472
    Fall_X i think he want a realtime messenger like MSN,
    Guaki i dont have much experiance in sockets but search google and there are plenty of tutorials in there.
    "I'd only told them the truth. Was that so selfish? Our integrity sells for so little, but it is all we really have. It is the very last inch of us, but within that inch, we are free."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center