0

Hello,
Please excuse me if this isn't the correct place to post this topic.
I have a friend that knows PHP, and I know C++. We want to make a PC game together. I would handle making the core game, and he would use PHP to create a server, allow for users to connect to said server, transfer info to and from the server, etc.

Is this even remotely possible? If so, how would we go about integrating PHP into a C++ project?

Thank you in advance.

5
Contributors
6
Replies
7
Views
5 Years
Discussion Span
Last Post by cereal
0

Rather than trying to design the game around the programming language, you should consider the reverse. In other words take the technology out when designing the concept. Build a model, screenshots, flow of the game. Them figure out you can leverage your current set of resources and where you lack, you find others that can bring their resources to the project.

0

I look at PhP as a scripted version of C++. My advice (just off the top of my head) is to code it entirely in PhP.

0

Yes. It can be done. Just use RESTful HTTP calls.

For example, I have a windows phone app which GET/POST/PUT/DELETEs XML and JSON data to/from a Java EE web server.

0

Rather than trying to design the game around the programming language, you should consider the reverse. In other words take the technology out when designing the concept. Build a model, screenshots, flow of the game. Them figure out you can leverage your current set of resources and where you lack, you find others that can bring their resources to the project.

We've already done that. We concluded that for almost any type of game, we'll need PHP for a login system to discourage piracy.

Yes. It can be done. Just use RESTful HTTP calls.

I thought that was for Java only?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.