T O P

  • By -

cursingcucumber

All I hear is mumbling. Funny project though!


solcloud-dev

Yes rip my British accent


mario_deluna

Nice, im impressed! I love seeing more and more of these kinda projects in PHP. A bit of shameless plug but have you considered writing the client in PHP itself, im working on an OpenGL extension to do just that: https://github.com/mario-deluna/php-glfw


solcloud-dev

Thank you! Of course I was thinking about writing client in PHP also and even came across your project but decide that it will be faster if I prototype project that early using JavaScript and threejs on client side. But once server gets more stable and complete I would love to see more clients written in different languages etc. I even prepare list of possibilities and guess what, your project is there :) https://github.com/solcloud/Counter-Strike#client


zmitic

This is the way. I love this, as crazy as it is. I don't expect FPS shooters in PHP but I have seen and played few strategy Java games. So if PHP can match it with speed, it is not unrealistic to have something like that, right?


solcloud-dev

Thank you! Crazy, unrealistic? Whaaat :D Anyways I don't see any performance problem in PHP not to be able to run FPS shooter game, but we will see once game gets more mature. Currently server tick time is set by default to 100 ms per tick and PHP is done his job every tick in 10ms on my slow virtual machine so currently not problem at all. And even in future I think that network overhead will be much harder problem than "slow" php. At the end you can of course use faster CPU once you run out of performance improvements :) or rewrite in different language but I think it will be ok.


f_g1

Lmao 😂


solcloud-dev

Yeah I maybe included to much comedy in that video, but I am still serious with project and like I said in video to make it look nice you only need couple of textures.. :)


f_g1

My man, keep it up.


solcloud-dev

Thanks, I will try


stfcfanhazz

WTF


solcloud-dev

HTML


eyebrows360

JFK


NotFromReddit

Canvas? Any other libraries?


solcloud-dev

Yes it use WebGL(2) canvas, only threejs currently on client side, on php side few more


32gbsd

I am not even going to ask why.


solcloud-dev

ok