Jump to content
  • Advertisement

i_luv_cplusplus

Member
  • Content count

    288
  • Joined

  • Last visited

Community Reputation

250 Neutral

About i_luv_cplusplus

  • Rank
    Member
  1. i_luv_cplusplus

    Wavefront OBJ loader c++

    Or even better: [source] std::vector<float> vertexBuffer(fileSize); [/source]
  2. i_luv_cplusplus

    Importance of technology choices

    Because that's what I'd prefer to program in. I believe a good programmer can switch to a different language very quickly. Although that view might not be shared by others.
  3. Most likely I will be attempting a break-in soon and there's one topic that made me wonder... how important is specific tech used in portfolio for job application. For example, if my portfolio consisted of two Java games and one game written in Python, would I have any chance when applying for a C++ job? In my opinion language is just a tool, you can hone your skills with it and master it, but for an entry-level job I'd think the general game programming concepts are more important (and shared by every technology). or should I just make sure my portfolio includes a game or something game-related for every language to cover all bases?
  4. checkout this repo, svn://svn.icculus.org/fs2open/trunk/fs2open , it's the source code for FreeSpace2 with some community fixes.
  5. But wouldn't that break the SRP? You have a class that knows how to collide with walls and paddles, how to draw itself, what are it's physical properties. Isn't that too much?
  6. i_luv_cplusplus

    Which language?

    C# is used mostly for business applications and game tools, although there are some games written in C# (eg. Magicka). To start with C# you'll want Visual Studio.
  7. i_luv_cplusplus

    Lesson 10: Texturing issue

    This looks like UV coordinates problem. Are you sure you are setting UV coordinates (glTexCoord2f) for every vertex?
  8. i_luv_cplusplus

    Multiplayer asteroids

    hello. I am trying to write something, the closest analogue would be multiplayer asteroids, as in we have ships which can steer left/right and thrust forward. There's no shooting on anything at the moment. the first version worked like this (everything is UDP) : - client sends pressed keys info to server every 100 ms - server calculates physics all the time, sends position info to players every 100 ms now the problem was, there was choppy movement because client had positions only every 100 ms next thing I implemented was trying to extrapolate movements based on position, velocity (+angular_velocity) and acceleration. The problem is: let's say the latency between client and server is 200 ms. Player pressed the "forward" key. Client sends a packet to server (200 ms). Server sends back position packet to client (200 ms). Now, on the server, the player has just started to move, while on client it was moving for 400 ms already. As a result, despite trying to predict the movement, client will have to snap the player back to where it began to accelerate. How to avoid this? I can't think of a way..
  9. i_luv_cplusplus

    Ishar 1 - Windows version

    There's no such thing as abandonware. Especially in this case, considering Ishar is still being sold http://www.gog.com/en/gamecard/ishar_1_2
  10. i_luv_cplusplus

    [?] Leaving Immediate Mode (drawing a VBO)

    [source=cpp] GLuint vao; glGenVertexArrays(1, &vao); glBindVertexArray(vao);[/source] add this code right after you create your OpenGL context. Forward compatibility requires you to create and use a custom vertex array.
  11. Where is your glewInit() call? It should be before glBindBuffer and after glfwOpenWindow
  12. i_luv_cplusplus

    So what do you think of this DRM scheme?

    Seeing some of the comments no wonder every month we hear about more ridiculous DRM. Especially this part: I would change the game mechanics in not so subtle ways. Blatantly put the player into impossible situations. Retroactively modify their savegames. Make the game downright unfair. When they inevitably die/lose from the artificially induced unfairness, show them a screen telling them that the game will treat them just the way they treated the developer by pirating it.[/quote] You know what would happen? First of all, people would come to your forums/reviews complaining about game being broken, releasing an unfinished product etc. You will blame them for piracy, but some of them will be legitimate customers who were unfairly marked as pirates. Also, you kill any chance of these people ever coming back to play/buy any of your games because they don't want to mess with a broken product. wait, that actually works as a deterrent for pirates! too bad it deters the customers as well. There is a 100% DRM solution that always works - release the game without any DRM. Witcher 2 did, and you don't see them complaining about piracy. Usually devs complain about piracy when the game was a broken bug-ridden piece of crap to begin with (in before world of goo omg 90% piracy - he pulled his numbers out of nowhere, you can't just compare unique IP numbers vs sold copies).
  13. i_luv_cplusplus

    What games would you most like a clone of?

    X-Com:TFTD but with real time combat (x-com apocalypse already had it, but it had other problems) OR Rainbow Six style FPS combat (old Rainbow Six, not Vegas cover shooter). Operation Flashpoint:CWC - that means open world shooter, much more hardcore than CoD but less hardcore than ARMA. Unreal - I miss the open level design, nowadays it's only corridor with covers and a cutscene every 5 minutes, not to mention teammates who do all the shooting for you TIE Fighter - leave it as it is, just improve the graphics engine and add multiplayer coop/deathmatch modes
  14. i_luv_cplusplus

    DirectX vs OpenGL ?

    Could you be more specific please? [/quote] heheh has you even tried to enable full screen anti-aliasing with openGl, or tried to draw 2D content, or use VBO, or better has you even tried to make your own GSL script. dude I am telling you OpenGL at the end is more difficult than DX and I find that out after making my own game in opengl and then porting it to DX. [/quote] glEnable(GL_MULTISAMPLE) to enable full screen anti-aliasing in Direct3D you have to use vertex buffers too GLSL isn't any harder/easier than HLSL
  15. i_luv_cplusplus

    Data Coordination Between Server & Client

    About ENet, I have just compiled it 40 minutes ago, if you don't like Makefiles (I don't), there is a Codeblocks project inside the source package, so it's just a matter of opening the project in C::B and pressing BUILD ;)
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!