|
-
Jun 16th, 2007, 04:08 PM
#1
Lively Member
Re: Online Game <help please>
function left_btn_onPress()
{
winsock.senddate "movechar|player1|-10" // if the user is player 2, change it to two
}
function right_btn_onPress()
{
winsock.senddate "movechar|player1|10"
}
well, it is winsock.senddata, not winsock.senddate.. i made a mistake..
and yes, you have to send a message to other computer using winsock, and use that message as a command, and then you can use that command to move the character!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|