Jump to content


Photo

39dll view


  • Please log in to reply
13 replies to this topic

#1 Bingo90

Bingo90

    GMC Member

  • GMC Member
  • 33 posts

Posted 29 July 2012 - 06:28 AM

I want to make some sort of spectating an other player with 39dll, but I don't know how to send the view to another player.
Is this even possible?
  • 0

#2 Debels

Debels

    GMC Member

  • GMC Member
  • 2018 posts
  • Version:GM:Studio

Posted 29 July 2012 - 06:41 AM

I want to make some sort of spectating an other player with 39dll, but I don't know how to send the view to another player.
Is this even possible?

Just make the view on the other client following the same object the other clients view is following :)

Edited by Debels, 29 July 2012 - 06:41 AM.

  • 0

#3 Bingo90

Bingo90

    GMC Member

  • GMC Member
  • 33 posts

Posted 29 July 2012 - 06:54 AM


I want to make some sort of spectating an other player with 39dll, but I don't know how to send the view to another player.
Is this even possible?

Just make the view on the other client following the same object the other clients view is following :)

Yeah, but how to send the objects?
  • 0

#4 mrpeanut188

mrpeanut188

    GMC Member

  • GMC Member
  • 814 posts
  • Version:GM8

Posted 29 July 2012 - 06:56 AM

Yeah, but how to send the objects?

Look at the GM built in tutorial on Netplay. Once you've understood it, you need to find the type of fuctions of 39dll.
Basically, send the x and y values, then the other computer moves it based on what it has recieved.
  • 0

#5 Bingo90

Bingo90

    GMC Member

  • GMC Member
  • 33 posts

Posted 29 July 2012 - 07:00 AM

Is this also possible with tiles?
And how is it possible to send multible object positions?

Edited by Bingo90, 29 July 2012 - 07:07 AM.

  • 0

#6 Debels

Debels

    GMC Member

  • GMC Member
  • 2018 posts
  • Version:GM:Studio

Posted 29 July 2012 - 07:17 AM

Is this also possible with tiles?
And how is it possible to send multible object positions?


If your asking this stupid questions, you should probably find a tutorial and read it a lot xD.

to send the position of an object you can easily do:

clearbuffer();
writebyte(IDENTIFIER);
writeushort(x);
writeushort(y);
sendmessage(socket);
to read it

x=readushort();
y=readushort();

The rest is up to you bingo :)

You can send all the things you want online :)
  • 0

#7 Bingo90

Bingo90

    GMC Member

  • GMC Member
  • 33 posts

Posted 29 July 2012 - 07:23 AM

I already know how to send with 39dll but I don't know how multiple objects should work :(
  • 0

#8 Bingo90

Bingo90

    GMC Member

  • GMC Member
  • 33 posts

Posted 29 July 2012 - 07:42 AM

Or is it possible to make a screenshot of the screen and send it?

Edited by Bingo90, 29 July 2012 - 07:49 AM.

  • 0

#9 Bingo90

Bingo90

    GMC Member

  • GMC Member
  • 33 posts

Posted 29 July 2012 - 07:57 AM

Wow it seems to be really hard to send the view of a player to another to watch him playing :confused:
  • 0

#10 Bingo90

Bingo90

    GMC Member

  • GMC Member
  • 33 posts

Posted 29 July 2012 - 09:09 AM

Noone knows how this works?
  • 0

#11 Bingo90

Bingo90

    GMC Member

  • GMC Member
  • 33 posts

Posted 29 July 2012 - 11:01 AM

:(
  • 0

#12 Bingo90

Bingo90

    GMC Member

  • GMC Member
  • 33 posts

Posted 29 July 2012 - 11:53 AM

???
  • 0

#13 Debels

Debels

    GMC Member

  • GMC Member
  • 2018 posts
  • Version:GM:Studio

Posted 29 July 2012 - 03:29 PM

First, STOP POSTING A LOT OF TIMES!.
Second, You can easily achieve this just sending a package with the objects info to the client and then generating it there, if you don't know what I'm saying i would really recommend you to go back to learning from the tutorial you readed before or if you teached your self look for a tutorial.

I can gladly help you with Online things, but not with simple things like this :whistle:
  • 0

#14 Bingo90

Bingo90

    GMC Member

  • GMC Member
  • 33 posts

Posted 29 July 2012 - 03:46 PM

First, STOP POSTING A LOT OF TIMES!.
Second, You can easily achieve this just sending a package with the objects info to the client and then generating it there, if you don't know what I'm saying i would really recommend you to go back to learning from the tutorial you readed before or if you teached your self look for a tutorial.

I can gladly help you with Online things, but not with simple things like this :whistle:

XD ok thanks
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users