Hi, I am new to unity and programming. I have done several tutorials and online classes. I am pretty familiar to the interface and the basic scripting commands. I use C# it suits me best from my experience. I want to make a game as a learning experience. I know its kind of a bold question but I would like to know if there is anyone out there with spare time than can assist me in process teaching me as we go through it. I have tons of ideas but I don’t wanna just be the “Idea guy”. I want a hands on experience and I don’t have money for tutors or classes. I think if I complete this project It will be a huge advantage. I can make the models and everything. I just need help with scripting and putting things together.
A multiplayer game (Doesn’t have to be online although I would prefer it.) but I could be local. First person shooter, or (RPG) either one would work. From what I have researched the best way to do this for free is using a PHP file to act as a database to store all the players information on my website acting as the server. I am open to any suggestions though. I will give more details about the game depending on what route we take FPS, or RPG. If anyone would please be able to assist me with this I would greatly appreciate it and put 100% effort into it.
Also, if this is thread is in the wrong section please tell me where to put it. Thanks.
Lesson 1: PHP and FPS is not the way to go, php/www is way to slow.
You either need to look at Unity’s networking or some of the cloud solutions if you don’t want to host a server.
Well, actually, PHP might be fine depending on what kind of traffic the game generates. For real-time checking of information, no shot. However, it works alright if all you want is to make occasional requests, for instance when authenticating players or when saving post-game statistics. That said, if you are really new to programming i usually recommend Python over PHP, as the former can be used for pretty much anything you can imagine while the latter is fairly useless outside of web development.
I have to warn you though, multiplayer is quite hard. I’ve worked professionally as a programmer for several years and even i find it hard to build real-time multiplayer stuff. If you are hell-bent on it, look at what Unity can provide out of the box, as well as the possibility of using a pre-written server program. If possible, try building your game in such a way that the possibility of adding multiplayer later on exists. You mentioned a FPS, which sounds like a good idea. Trying to make an online-only game as your first project will crush your soul, even if you turn out to be the next John Carmack. It requires way too many skills to even get a basic example working.
Hm, thanks for the insight. I’ve only been messing with unity and programming for about 5 months. I’ve made a offline FPS. The user could enter the game, walk up to the wall of weapons and press E to equip any of the weapons. Then can walk threw a demo course consisting of pop up enemy targets. It was just a demo I wanted to try to make to see what I can figure out on my own. It went pretty well since I didn’t follow any tutorials or use anyone else’s scripts. I even created all the weapons using blender which I am also new to using.
One day I was looking for a game to play and I couldn’t really find any that suited me online and as I was testing some out I kept thinking to myself I could make this game soo much better. So I thought, wait a second. Then I searched on google “How to make your own RPG” and that is how I found unity and programming in general. Ever since I have just been absolutely fascinated with it. I plan on eventually going to school for it once I get the money to pay for it. But here in the mean time I want to make a demo game. I know it would be near impossible to create a game like battlefield online, or world of warcraft haha. But I just want to take what I have done with my FPS and go farther with it. I recently found a tutorial by Gamer2GameDeveloper and he used 2 instances of the client. One to act as the server, and one to act as the player’s game client. So now I am wondering, would this be possible?
There is a client open (Password protected) that I can run as a server. So anytime I have the client open as server, other players can log in. When the player registers an account, they’re information is stored either on my website server, or stored in the server clients playerprefs. As the player gains XP, weapons, gear, it is saved into a temp. Anytime the player leaves a game, or disconnects, they’re temp data will be applied to there profile of the webserver or server clients playerprefs.
That is just an idea, I’m not even sure if that is possible to work. Or if you can create one project with unity, (A server client) and then make a project (the game client) and the players can use himatchi, gameranger, or even browserbased to access the server client, and the server sends/receives data to the other clients. These are all just idea’s. Bottom line, is it possible to make a low traffic FPS by your self, and what would be the best steps to achieve this?.