Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: ragzzy-R

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    560

    Physics engine for 2D

    this question maybe asked a million times but please suggest me some physics engine for 2D game engine.Im using SDL and OpenGL.Now i want to add physics to it.I am planning on using an engine.please...
  2. Thread: 2D rotation

    by ragzzy-R
    Replies
    2
    Views
    1,257

    2D rotation

    Hi,
    Im writing a small 2D game Engine using SDL and OpenGL.So far its coming good.right now im having a trouble in rotating Images(or textured quads in a more OpenGL context).

    first I had a...
  3. Replies
    1
    Views
    626

    i used SDL_delay which did the work but still my...

    i used SDL_delay which did the work but still my animation is affected by FPS.i want to limit the FPS i turned on Vsync which limits the FPS to my screen refresh rate but on slower systems Vsync...
  4. Replies
    1
    Views
    626

    Delaying Animation

    Hi,
    right now I am able to animate through a sprite sheet.but the problem is it animates sooooooo fast.I need to set a small delay between the frames.also the speed is affected by fps so i want...
  5. Replies
    4
    Views
    1,355

    many thanks!! that helped

    many thanks!! that helped
  6. Replies
    4
    Views
    1,355

    thanks bro!! I used SDL_GL_SetAttribute(...

    thanks bro!! I used SDL_GL_SetAttribute( SDL_GL_SWAP_CONTROL, 0 ); and now im getting 500FPS.any other tips on increasing frame rate?? especially on slow systems?

    P.S: I hope your answer means...
  7. Replies
    4
    Views
    1,355

    Yet another Framerate question

    I was working on a 2D game Engine using SDL and openGL.For calculating frame rate I use the following code.


    startTime = SDL_GetTicks();
    frames=0;
    while(!doneWithGame) {...
  8. Thread: spritesheets

    by ragzzy-R
    Replies
    3
    Views
    681

    actually i dont need to draw an entire quad...

    actually i dont need to draw an entire quad transparent.let me tell it clearly first.

    1)I have a blue background PNG.which i draw first.No transperancy nothing.
    2)then i draw an image with...
  9. Thread: spritesheets

    by ragzzy-R
    Replies
    3
    Views
    681

    i changed the internal format of glTextureImage2D...

    i changed the internal format of glTextureImage2D to to RGBA and now the image is rendering but the alpha is not present.it is rendered like first the background map is rendered.then when the...
  10. Thread: spritesheets

    by ragzzy-R
    Replies
    3
    Views
    681

    spritesheets

    Hi,
    Im writing a small 2D engine(well lets not say engine maybe a bunch of basic functions).
    Im having some problem loading spritesheets.

    first what i did was i loaded images in bmp format...
  11. Replies
    2
    Views
    1,164

    I dont know about SDL is outdated or not but it...

    I dont know about SDL is outdated or not but it gets the job done! in a decent way.it doesn't matter what u use for creating a window and just handling inputs.if u are comfortable with SDL i...
  12. Replies
    10
    Views
    2,283

    ohh thanks!! :)

    ohh thanks!! :)
  13. Replies
    10
    Views
    2,283

    aaaaaaaaaaaaahhhhhhhhhhhhhhh thank u brother I...

    aaaaaaaaaaaaahhhhhhhhhhhhhhh thank u brother I LOVE U!!!! seriously Ive been scratching my head for days on this!!thank u for helping.its good to have people like u!! BTW i was wondering one thing!...
  14. Replies
    10
    Views
    2,283

    here is the total code.As I said earlier its just...

    here is the total code.As I said earlier its just the Lesson 6 from NEHE.




    #include <stdio.h>
    #include <stdlib.h>
    #include <Windows.h>
    #include <GL/gl.h>
    #include <GL/glu.h>
  15. Replies
    10
    Views
    2,283

    that didnt work. :( any other suggestions bro??

    that didnt work. :( any other suggestions bro??
  16. Replies
    10
    Views
    2,283

    still white cube bro! :(

    still white cube bro! :(
  17. Replies
    10
    Views
    2,283

    Texture mapping

    Hi,
    Im new to openGL.I've been following NEHE's tutorial and getting good grasp of OpenGL.previously I was using linux to practice NEHE lessons and i was happy with that.I was using SDL with...
  18. Replies
    2
    Views
    2,125

    if u are following Nehe's tutorial then this code...

    if u are following Nehe's tutorial then this code for SDL should work


    int LoadGLTextures( )
    {
    /* Status indicator */
    int Status = FALSE;

    /* Create storage space for the texture...
Results 1 to 18 of 18