Page 17 of 18

Re: KO2 PC project

Posted: Thu Aug 20, 2009 9:27 pm
by baccardi
wouldn't it be easer just to write our own protocol for ko2 multiplayer and implement it instead of hacking some programs?

Re: KO2 PC project

Posted: Thu Aug 20, 2009 9:34 pm
by Steve Camber
baccardi wrote:wouldn't it be easer just to write our own protocol for ko2 multiplayer and implement it instead of hacking some programs?

That what I was thinking. I never considered the Kaillera option!
Ideally we want to be heading towards that time in the future when we get 10 vs 10 multiplayer!!

Re: KO2 PC project

Posted: Thu Aug 20, 2009 9:41 pm
by dnielsen
Steve Camber wrote:
baccardi wrote:wouldn't it be easer just to write our own protocol for ko2 multiplayer and implement it instead of hacking some programs?

That what I was thinking. I never considered the Kaillera option!
Ideally we want to be heading towards that time in the future when we get 10 vs 10 multiplayer!!


Good, unnecessary complications are off the table then!

Re: KO2 PC project

Posted: Thu Aug 20, 2009 9:42 pm
by baccardi
Steve, how could i use the function in KO2 for CPU vs CPU? And, should i use directx for simple drawings, because at the moment i'm using windows gdi.

Re: KO2 PC project

Posted: Thu Aug 20, 2009 9:59 pm
by jesper
dnielsen wrote:
Steve Camber wrote:
baccardi wrote:wouldn't it be easer just to write our own protocol for ko2 multiplayer and implement it instead of hacking some programs?

That what I was thinking. I never considered the Kaillera option!
Ideally we want to be heading towards that time in the future when we get 10 vs 10 multiplayer!!


Good, unnecessary complications are off the table then!


Unless a game networking wizard comes along I'm pretty sure that interfacing with an existing library is less complicated than doing the network code from scratch. As I said earlier no hacking is necessary, interfacing should be straight forward. It seems a good starting point, at least if early network play is a priority.

Re: KO2 PC project

Posted: Thu Aug 20, 2009 10:43 pm
by Bounty Bob
baccardi wrote:And, should i use directx for simple drawings, because at the moment i'm using windows gdi.
Depends what you're doing. GDI would be ok for things that aren't time critical, but you wouldn't want to be using it for game display stuff! I had a look at the menu example that you posted and it looks pretty good. For functional menus GDI would be ok but if you, or the team, want to do anything fancy in the future, then DirectX would be the way.

Have you done any DirectX stuff? Have a look for D3DXSprite, which will get you going with the 2D stuff. If you've not used much DirectX, I can help out with setup and samples. Once you've done the setup, it's pretty straightforward.

Re: KO2 PC project

Posted: Fri Aug 21, 2009 8:51 am
by Steve Camber
DirectX is the way to go in the long term. That's what I've used in KO2PC so far.

Re: KO2 PC project

Posted: Fri Aug 21, 2009 12:19 pm
by Abyss
OK, DirectX then... problem is I know nothing about it (God bless wrappers and libraries like SDL and especially Allegro for helping me avoid it). Wouldn't something like OpenGL make the project more accessible and potentially target more platforms?

But, if DirectX is Steve's choice, then that's it!

So, any pointers on learning DirectX? Do I need a Visual Studio 6 - based environment or a GCC + SDK solution is enough? Don't make me battle Google results to find proper resources! :)

Re: KO2 PC project

Posted: Fri Aug 21, 2009 4:26 pm
by Steve Camber
Abyss wrote:OK, DirectX then... problem is I know nothing about it (God bless wrappers and libraries like SDL and especially Allegro for helping me avoid it). Wouldn't something like OpenGL make the project more accessible and potentially target more platforms?

But, if DirectX is Steve's choice, then that's it!

So, any pointers on learning DirectX? Do I need a Visual Studio 6 - based environment or a GCC + SDK solution is enough? Don't make me battle Google results to find proper resources! :)

Grab example code, that's the best way! VS6 is probably easiest.

Re: KO2 PC project

Posted: Sat Aug 22, 2009 1:43 pm
by Bounty Bob
Abyss wrote:OK, DirectX then... problem is I know nothing about it (God bless wrappers and libraries like SDL and especially Allegro for helping me avoid it). Wouldn't something like OpenGL make the project more accessible and potentially target more platforms?

But, if DirectX is Steve's choice, then that's it!

So, any pointers on learning DirectX? Do I need a Visual Studio 6 - based environment or a GCC + SDK solution is enough? Don't make me battle Google results to find proper resources! :)
Do you know OpenGL? If so, then DIrectX will be simple, there are some differences but nothing too major. A little Google search for directx tutorials should wield many results.

VS6 is a great place to start. I actually use VS.net 2003 but the code is directly portable, then only difference is the project format. I'm sure there must be a GCC solution, which should be fine too.

Re: KO2 PC project

Posted: Wed Aug 26, 2009 6:19 pm
by samo79
Use OpenGL instead, it may help for future porting on AmigaOS 3.x and 4.x and maybe Mac 8)

Re: KO2 PC project

Posted: Thu Aug 27, 2009 8:53 am
by Steve Camber
At a low level surely both DirectX and OpenGL can be supported.

Re: KO2 PC project

Posted: Mon Aug 31, 2009 8:16 pm
by Bounty Bob
Shouldn't pose too much of a problem to support both. Not really necessary though if it will never be ported and stay PC only.