The Daily Click ::. Forums ::. Klik Coding Help ::. Send info about multiple objects with MOOClick
 

Post Reply  Post Oekaki 
 

Posted By Message

7Soul



Registered
  12/08/2008
Points
  167
5th November, 2010 at 23:44:48 -

I'm trying to make a simple online game, and all players should be able to see the same enemies around on the screen. I have multiple instances of the same object (the enemies), how can I send the X and Y positions of them through MOOClick?

 
n/a

Sumo148

Super amazing fantastic user

Registered
  26/01/2009
Points
  530

360 OwnerThe Cake is a LieVIP MemberPokemon Ball!I am an April FoolI donated an open source projectSanta Hat
6th November, 2010 at 04:20:24 -

First off, MooClick is outdated and you'll want to use lacewing instead. It's much more cleaner and easier to understand than MooClick. You can get it here:

http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=204457#Post204457

Here's a pack of lacewing tutorials I made. The movement/360 shooting online tutorial should help you:

http://create-games.com/download.asp?id=8015

 
n/a

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49667

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
6th November, 2010 at 17:24:46 -

To send enemy coordinates you'll have to loop through them. Use the "For Each" object, and send each of their coordinates and make sure you send the id too. Then on the receiving end just use the "For Each" object again to loop through them and position them.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click