Lurker News

Comments (168) 20 threads

bilekas6 replies#
This is wild... PHP server with electron client.. I'm genuinely impressed. It's been many years since I worked with PHP. Back in the days before proper namespaces etc. This just blows my mind. What an incredible effort, I will definitely be helping with this project in my free time. We need more crazy projects like this!
doctorpangloss#
“Make games that are fun to make.”
solcloud#
thank you for kind words :)
calvinmorrison1 reply#
Php is basically runtime Java these days. It's so much better than ye olden days
ARandomerDude1 reply#
> Php is basically runtime Java these days

I don't know enough about PHP to understand this comment. Can you elaborate?

mikeweiss4 replies#
I think they're just saying its a lot like Java if Java was a interpreted language and not a compiled language.

Continue this thread — 4 replies

treflop1 reply#
You could have actually made this 15 years ago! As a kid I pretty much only knew PHP and Visual Basic so I made CLI servers in PHP (…lol)

You could make asynchronous servers using socket_select(), which was added in PHP 4.1.
https://www.php.net/manual/en/function.socket-select.php
There was also a third party extension that added threads to PHP 15 years ago, although it was buggy.

diggan1 reply#
> There was also a third party extension that added threads to PHP 15 years ago, although it was buggy.

Reminds me of ReactPHP (no, not that React) that allowed you to do non-blocking I/O in PHP back in like 2012-2013 sometime. Maybe that's the library you're referring to actually?
https://github.com/reactphp/reactphp

fefferkorn#
Yeah, same,.. Real time game server written in PHP is really interessting. I also know PHP from the old days and now only from certain CMS systems, but not realtime projects. Im amazed! Nice! :)))
Sincere6066#
electron eh? pass.
maxloh1 reply#
What is the reason behind wrapping code inside an IIFE (Immediately Invoked Function Expression)?

JavaScript modules are scoped, so nothing can be accessed outside unless explicitly exported.
FYI, you don't even need an IIFE. ES modules are block-scoped by default.

  // Instead of,
  let foo
  (function() {
    const bar = 1
    foo = bar
  })()
  // `bar` is out of scope here

  // You can just,
  let foo
  {
    const bar = 1
    foo = bar
  }
  // `bar` is out of scope here too
solcloud#
I guess history reasons
diggan4 replies#
The GitHub languages thing shows it's 82% PHP, 15% JS and some sprinkles with HTML/CSS. But what is the actual client made with? Is it in a different repository? Or is it all implemented in PHP? Impressive if so.

> This is low violence game
I love this description for a game that is all about shooting others in face, planting/defusing bombs and trying to survive while being shot at.
As a side-note, has the OP ever seen a football field? :) Seems to have a bunch of crosses and other out-of-place lines, but I guess the football isn't the focus so probably matters the least :)

dietr1ch3 replies#
Well, no one says you need to shoot, maybe you can go the charisma route and convince the terrorists not to get the bomb down.
rzzzt1 reply#
Negotiator selected!
solcloud#
unfortunetely voice chat is currently not supported :D
swyx1 reply#
ah, talk-no-jutsu, the most powerful weapon in a main character arsenal.
xanderlewis#
Erm, actually, it’s kaiwajutsu.
no_wizard#
Its like a pacifist run in the old Fallout games
solcloud#
yes, client code is JavaScript using Three.js (https://threejs.org/) library, but since server and client is decoupled, client code can be implemented using anything, there is also php cli interactive interface, but most users prefer javascript one which is currently only one with real gui
solcloud#
yes that is correct, all code is in this monorepo, yeah I get little hyped with that animal destroying description :D for that sidenote crosses - love your note - my sense of humor is kinda weird I guess or maybe because I grow up in Europe while watching America movies with football players wearing helmets idk :D

on more humor side there is also php cli interface (https://github.com/solcloud/Counter-Strike/blob/master/cli/c...), but unless you have fancy matrix like font in your terminal emulator you probably do not see woman in red dress laying on pitch :)

ehnto3 replies#
I am not even opposed to violent videogames morally, I just wish there were more creativity in big budget gaming. One of the most interactive mediums available to society, and billions of dollars each year goes into another set of Shooty McMann goes Shooting, Guns Edition.

Sorry, small tangent. This project is still super impressive and I have played thousands of hours of CS so it's cool to see.

maccard2 replies#
> I just wish there were more creativity in big budget gaming. One of the most interactive mediums available to society, and billions of dollars each year goes into another set of Shooty McMann goes Shooting, Guns Edition.

This is overly dismissive, and the sort of thing I'd expect on Reddit.
If you look at the most critically praised and fan praised AAA game of the last.. decade? It's Baldur's Gate 3. In the AAA-budget-quality space there's enough games out there released in the last few years without guns to keep you busy - Disco Elysium, Stardew Valley, Elden Ring, Minecraft, Persona, Witcher, Total War, Alan Wake(*) Stellaris are all in my "recently played" and there's no guns. Generally RPG, Strategy, racing, platformer style games avoid guns for the most part.
You've got AAA games that have guns in them that aren't focused on shooting - Xcom, Fallout come to mind where the guns are just a visual representation of a dice roll.
I know you mentioned "big budget gaming", but there's oodles of small budget games to play too. Balatro, Pacific Drive, Against the Storm, Dredge, Inscryption are all games I've played this year with no guns in them.

xanderlewis5 replies#
What does AAA-budget-quality mean? Minecraft was made by one person and is still a very simple game, utterly unlike the ‘genuinely AAA’ shooters parent was talking about. Same with Stardew Valley and probably several of the others you’re talking about.

Fallout might not be ‘focused on shooting’, but it still has the look of a typical FPS game. It’s as if game developers have mostly converged on a standard game design. There are exceptions, but there’s still so much untapped room to be more creative.
I think it is true that most money in the games industry goes into making games that heavily feature guns. Films are the same; even the seemingly non-violent premises apparently have to involve constant peril and frequent (gun) violence. Maybe it’s a particularly American thing.

Continue this thread — 5 replies

ehnto#
It was lighthearted, not dismissive, perhaps the same cloth. I shouldn't have specified guns I guess, combat is what I find boring, and you'll note the majority of the list of yours is violent games.

Again, not opposed just bored. I seek out non-violent games not for the lack of violence but because they have interesting mechanics. Violence/combat is the majority of top selling games, top played games. That has been true for decades.
Pacific Drive was a gem and the level of creativity I hope more studios to aim for. Another great example was Jusant. There is indeed no shortage of great indie games with what I am after. Sim games, farming/life games, factory/automation games, puzzle games are all great examples of non-combat genres with decent budgets too. But you do find there's usually just one or two big hitters, as it's a smaller market.

t0astbread#
If you're looking for something different in AAA shooters, try Splatoon. It's basically the antithesis to classic shooter tropes and it has a whole world of art designed around it (with fictional bands, promotional art for in-game events, etc.)
_proofs1 reply#
this is really a short-sighted and uninformed take on what games have been successful and praised by fans over the years.

four of the most successful (perhaps iconic) games in history do not exactly meet your description in any meaningful way: baldurs gate franchise, warcraft franchise, different mmo franchises, diablo franchise.
but let's take your description and apply them to iconic fps over the years:
doom, ok shooty mc shooty goes shootin -- doomguy agrees. but theres a lot more to doom than just shooting.
cs source: nah sorry tactical strategy is not shooty mc shooty goes shootin.
quake world up to quake live/quake champions: nah sorry tactical strategy and fps-chess (duel) is not shooty mc shooty goes shootin.
halo franchise: epic sci-fi campaign story which was differentiating at the time AND tactical strategy -- while it sorta fits your description, it also sorta bucks it in the face because it was praised for its campaign as well as its online play.
overwatch: role-based tactical strategy.
battle royal genre: kinda shooty mc shootin goes shooting, but on hard mode with variance and.. tactical strategy requirement.
i mean the list goes on. reducing the surface area of FPS games historically to just some reddit meme bc it gets a lot of updoots makes me think you do not have a ton of experience playing shooters historically or otherwise (happy to be proven wrong here).
marketing is strong.

ehnto#
My argument is basically, if your game is so good and interesting, would it stand alone without combat? Could a different mechanic have stood in its place for a more interesting, novel game?

I have been playing FPS, guns or no guns, for 25 years. I also vehemently seek nuanced, interesting and intelligent game mechanics, and there is certainly many amazing games that fit the bill.
I am well informed, this is just my desire and not a fact or what I think should happen.
At any rate, the comments in defense so far have told me some of the most popular games are not shooters, and then that there are shooters with depth. No dispute there. I probably should have not been so pithy and stated it's combat in general, not shooters.
I also make games in my spare time, so I am at least practising what I preach. I think combat is a crutch for the gaming industry, and I would love to see more mechanics be explored with the budget a typical combat focused game gets. Gimme a AAA first person puzzle explorer ala Obduction, Pacific Drive, Viewfinder. Imagine a Fallout scale narrative exploration game that doesn't require combat to fill in the gameplay.
Cyberpunk is a fantastic story and exploration game, with interludes of stat based combat. I have spent hours just wandering the city and finding the cool hidden stories, but most 90% turn into 5 minute combat crescendos that add nothing to the story, while super obvious mechanics that would match the story go unexplored. That's more or less what annoys me, it's not a big deal I just find it a shame.
Again, I don't exactly care what other people play or do, this is just what I want.

NoboruWataya2 replies#
Very cool. As an aside, it (the screenshot at least) reminds me a lot of "Extreme Paintbrawl", a game released for PC in the 90s. I used to love playing it when I was a kid. Some years later I found out that it is "considered to be one of the worst video games ever made". :D

https://en.wikipedia.org/wiki/Extreme_PaintBrawl

solcloud#
thank you! very cool, love is specific thing indeed, well we can always brawl for that rank one spot :D
justusthane#
Oh man, my buddy had this game and we had a great time with it!

Load more comments