≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
I NEED HELP!!!!!!!!!!!!!!!!!!
Posted by:
(you are not logged in)
Enter the missing letter in: "Internationa?"
(you are not logged in)
Text:
[quote][b][/b] wrote: my multiplayer example [url]https://m.youtube.com/watch?v=lzHjy1N0BlU [/url] download link in video description. also server /client sourcecode is downloadable on my itch page for free. in my example.. if player 1 shoots player 2 .. then in player1 window i confirm it.. so action on hit will send out event.. and player 2 recieves it and takes a hit. its a simplest way to do it but may not be best way. now if player 2 health is 0 .. it sends out message on action on die.. player1 recieves it and removes dead player. player 2 will respawn. position data will be sent always and events only if they happen. weapon change is same.. send event about change and depends on event switch weapons .. simplest way to start network game is make a simple chat system.. so you can send out commands. example if you send message play sound(music.mp3) then everybody gets it and parses it.. as command PlaySound parameter music.mp3.. in javascript: if command = PlaySound then ccbplaysound(parameter) in my example js you see how i handle commands.. doesnt matter what networking you use you can use similar method. as you sayd you have lan game made already so i expect you have players and theyr position data will be sent and recieved.. similar to pos data send out event data i write this reply on phone so i have no idea does it makes any sense.. will edit later if i use pc.[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact