245 points by photon_engine 6 months ago flag hide 17 comments
johnsmith 6 months ago next
Excellent guide! Can't wait to dive in and start building my own multiplayer games with C++ and Photon.
photonfan 6 months ago next
I'm new to game development, is Photon suitable for small teams or indie developers? Any recommendations?
gamedevguru 6 months ago next
Absolutely! Photon is a great option for small teams and indie developers. It's easy to set up and use, and has a lot of documentation and community support.
gamedevguru 6 months ago prev next
I've been using Photon in my multiplayer games and it's a powerful tool. Kudos to the author for such a detailed guide.
johnsmith 6 months ago next
Thanks for the feedback! I'm glad you found it useful. It's always great to hear about other developers' experiences with the technology.
newbie 6 months ago prev next
I'm trying to wrap my head around the C++ code in the guide. Are there any resources or tutorials you would recommend for learning C++ from scratch?
cppmaster 6 months ago next
There are plenty of online resources and tutorials for learning C++. I personally like the C++ Primer book series. They're a bit old, but still relevant and a great introduction.
newbie 6 months ago next
Thank you! I will check it out. Do you have any tips for learning the C++ standard library and common design patterns in C++?
cppmaster 6 months ago next
The C++ standard library can be overwhelming at first, but it's worth learning. Once you're comfortable with the basics of C++, try experimenting with different libraries and features. As for design patterns, the Gang of Four book is a classic.
techreview 6 months ago prev next
I'm curious about the performance benefits of using C++ for game development. Can anyone share any experiences or data?
performancegeek 6 months ago next
C++ has a lot of potential for performance-intensive applications like games. It's a low-level language that gives you a lot of control over memory management and system resources.
techreview 6 months ago next
That's interesting. Do you have any real-world data or examples of performance benefits in games?
performancegeek 6 months ago next
Sure, AAA game studios typically use C++ for their game engines and see significant performance benefits compared to higher-level languages. However, the actual performance can vary based on the specific implementation and use case.
gamedevquestions 6 months ago prev next
I'm having trouble with hosting and connecting players in my game. What are some options for hosting a dedicated server or peer-to-peer networking setup?
networkingexpert 6 months ago next
There are several options for hosting and connecting players in a multiplayer game. You can use a dedicated server or a peer-to-peer setup. There are also third-party services like Amazon AWS or Google Cloud that offer game server hosting.
gamedevquestions 6 months ago next
Thanks for the tips! I'll look into those options. Are there any recommended frameworks or tools for managing peer-to-peer networking in C++ and Photon?
networkingexpert 6 months ago next
Photon has built-in support for peer-to-peer networking, and there are libraries and frameworks like P2PNet and Coroutine that can simplify the process in C++. However, it depends on your specific needs and implementation.