User Tools

Topics I've Started

Well, here's an interesting theoratical question.
I'm making a zombie game in Unity for school's finals projects, and I just started work on the wave manager script.
Everything is going fantastically so far, but I was just wondering, since I couldn't find any articles anywhere online, how exactly do games typically plan their difficulty progression? How should I construct the formula to decide how many spawns should be on every wave?

I could always go with a simple straightforward calculation of something like waveSpawns = wave*4, but that just doesn't seem right at all.
I want to know what methods are usually used in zombie games, or even just any other game that uses similiar difficulty progression logic.

I'm kind of new to networking, I've done a bit of it before, but only using .NET's classes which made it really really simple.

Currently, I'm looking for a library for my game engine that will allow me to implement my multiplayer design(All the code is ready other than API code to send and receive info and manage the connections).

I'm looking for a library for native C++ that matches these requirements(In order of importance):-Can send and receieve strings of text(I've tried looking into SDL_Net since my engine is SDL based, but that API only allows for transferring of set-sized values of data, but I can't know what the length of my strings will be, I need something that works like .NET's networking structure with the StreamWriter and StreamReader classes).-As high level as possible.-Is well documented, or has resources to learn from. -LGPL license, or something similiar. If not, then something cheap, as I'm low on resources... -Would be familiar for me to work with after working with .NET's TcpClient class.

Yea, I realize that there probably is nothing that is this perfect out there, but if you know my requirements of it, you might know something that answers at least a few of them.Any other APIs that you could suggest would be awsome as well.

I'm sorry about this being a kind of a raw question, but I'm just not really even sure which direction is right to head at.
Anyway, let me explain the problem;

I have a game, written in C++/SDL for PC, and I'm looking at possibilities of integrating Facebook activity into it(Upload screenshots from the game, posting status from the game to your profile, etc), but I am quite baffled.

The first thing I checked as a possibility, naturally, was if such an API exists natively for C++, but apparently there is nothing.

The second method I came up with was to use Facebook's API for web using Javascript, or one of the other languages it supports, and call in a command from inside the C++ program to open up the JS app and use command arguments to manage automatic uploading.
The problem I ran into with this one is that, looking at the documentation on Facebook's developer page, there is no way to automate the process, and they only have code snippets in which I'll require my users to interact with the uploader app themselves instead of letting it work behind the scenes so they could continue playing.

Third, and this is one that I have not looked too much into because it just seemed to complicated to be feasible, is to create an applet using Java, or one of the languages Facebook supports for Facebook Apps, that will be launched using a command from the game's program, that app will already be on Facebook, so I'm atleast assuming that it'll have some access to status posting and image uploading naticely.
The game's program will upload the request status or image via command arguments, and the app will work as a middlepoint between the game and your Facebook profile.
Regarding this one, I have not checked much about the background of it, and honestly, I'm not even sure that passing command arguments to it would even be possible...

So, that leaves me asking you guys, are any of you aware of a solution to uploading from C++ to Facebook profile?
Are any of these ideas are worth pursuing? Maybe something else?

Just found out about this nifty little function in SDL, letting you capture your screen, however, experimenting with it showed me that every time I try to use it on my main screen SDL_Surface, I always get the output file as a blank image at the size of the screen.
The function returns a 0, so it was successful in its' own eyes.

Kind of interested in this matter, and couldn't find anything official about it, so I was wondering what would people around here be guessing about it?

I've been trying to make an application myself for a while, but ran into a wall about cross-platforming for iOS and Android as well as the ability to use contact information/networking?
I'm not even sure what the definitions I'm looking for are for the mobile devices, as I'm kind of new in the scene(Been programming for PC so far).

Would be nice to learn if what OMGPOP used for their game was publicly available, but if not, I could also really appreciate suggestions for engines/libraries I could use for the same effect?