Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / FPS troubles..

Author
Message
ace280
21
Years of Service
User Offline
Joined: 27th Oct 2003
Location:
Posted: 28th Oct 2003 05:12
I want my game to be like battlefield1942, have animations that the other online players sees. you can see, and the other player see you chainging weapons, realoding, shooting, ect. How do i go about doing this?


GO MARLINS!
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 28th Oct 2003 13:05
You'd do it so that the "other player" that you can see is actually a completely new object, but is told to move, when the person controlling the "other player" presses buttons etc. Then you'd make it so that if the user of the "other Player" presses the button to change weapons, that the character that you can see changes his weapon.

You must remember, these games will not be the same exe (from two different camera views) it will be an entirely different exe from possibly across the globe, so you need to think about data transmittion sizes etc, therefore instead of sending the data of say the entire mesh state of "the other player" you just send the buttons pressed by the other user and change the mesh of the "other player" accordingly.

Hope I Explained that ok...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
ace280
21
Years of Service
User Offline
Joined: 27th Oct 2003
Location:
Posted: 29th Oct 2003 03:35
hmm cant you just do the objects, make them animated ect. then just let it go and the other player will see what you see? err i mean your animations
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 30th Oct 2003 01:57
Sorry, i was thinking of 3D, for 2D, it would still be kinda the same though, you'd take the "other players" button presses and use them to move and animate the objects etc on screen.

If you send the actual images, objects etc over the internet, unless everyone has a very high broadband connection, there will be seriouse lagg, you need to think of ways of minimising the amount of data transfered in one go...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy

Login to post a reply

Server time is: 2025-05-21 09:33:25
Your offset time is: 2025-05-21 09:33:25