A Few Simple Questions

This is a discussion on A Few Simple Questions within the Game Programming forums, part of the General Programming Boards category; 1.) If I wanted to create a background for a side-scrolling game, all I'd have to do is draw it ...

  1. #1
    People Love Me
    Join Date
    Jan 2003
    Posts
    412

    Question A Few Simple Questions

    1.) If I wanted to create a background for a side-scrolling game, all I'd have to do is draw it up in paint, load it up as a texture for a 2D Quad, and just have it move when the character moves? Is this true, or do you have to use tiling methods and etc.?

    2.) Whenever I resize the program's window, all my textures get scaled up or down and look dumb. Is there any way to prevent the window from being resized, or to keep the textures the same size, regardless of the window size?

    3.) Can someone give me a little bit of general info on how animation can be done using OpenGL? I really have no clue how you'd do it.

    4.) When you're doing collision detection, is it most common to set up variables in glTranslatef() and glVertex3f()? Do you draw another invisible box over the original box? Or do you just declare variables to be at a certain position?

    (ex. GLfloat = 1.0f

    I really have no idea what I'm doing here.

  2. #2
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Collision Detection in OpenGL
    Idiot's Guide To Bitmap Textures?
    Textures Screwing Up
    Some Graphics Questions:
    Lots Of Bitmap Texture Questions:
    How Do I Display And Int's Value In OpenGL?
    Sprites, Etc.
    Some More Questions About OpenGL:
    Some OpenGL Questions:
    Bitmap Textures
    Complete Open GL Newbie

    Geeze man, don't you ever read tutorials, or use Google? Do you really have to ask on here every time? I mean... I saw that you asked what "HWND" means. $20 says you didn't look for the answer before you asked. Just in case I'd lose that $20, another $100 says that if you seriously looked and didn't find it, you're stupid

    2) Yes
    3) Dude. Just like animation is done with any API. Have you Googled?
    4) Haven't you asked questions a lot like that before? Have you tried reading any tutorials? Have you tried figuring it out on your own? Have you even thought about what you're trying to do?

    >>I really have no idea what I'm doing here.<<
    I know. It's obvious RTFM. STFW. Honestly.

    Away.

  3. #3
    People Love Me
    Join Date
    Jan 2003
    Posts
    412
    Originally posted by confuted
    Dingen
    I see.

  4. #4
    Semi n00b Mithoric's Avatar
    Join Date
    Jun 2003
    Posts
    293
    1) Yes
    2) Mipmap
    3) Depends on what sort you mean primitive or bitmap

  5. #5
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Originally posted by Krak
    I see.
    No, no you dont.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. questions....so many questions about random numbers....
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2009, 09:47 AM
  2. A couple questions
    By Flakster in forum C++ Programming
    Replies: 7
    Last Post: 08-09-2005, 02:22 PM
  3. Few simple questions...
    By Shane in forum C++ Programming
    Replies: 9
    Last Post: 08-06-2005, 03:40 AM
  4. A few simple batch questions
    By sean in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 07-02-2003, 02:35 PM
  5. questions questions questions.....
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-14-2001, 08:22 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21