Thread: BMP Movement

  1. #1
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200

    BMP Movement

    How would you make a game in where you can use a bitmap to be the ship?

    Like Bitmap position x++ or x--...
    What is C++?

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    yes i almost did it in allegro once.
    do u use allegro or still graphics.h
    do u want the code i think i got it somewhere

  3. #3
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Is allegro Win32?

    And of course i want to see code :P
    What is C++?

  4. #4
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200

    Allegro

    I cant understand...

    How do I use allegro in a program...

    What do I have to do to get to the point of calling functions to draw a line...
    What is C++?

  5. #5
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    I was learning to use BGI, but I like Allegro alot better...

  6. #6
    Registered User
    Join Date
    May 2002
    Posts
    317
    Here is good sight. It goes over api functions to load a bitmap and move it around the screen.

    http://www.gametutorials.com/Tutorials/Win32/Win32_Pg1.htm

  7. #7
    Shadow12345
    Guest
    Hey SDL is perfect for making 2d games, esp ones that use BMPs. I tried making a pong game in SDL, I didn't get very far, but I was able to create a ball that bounces around the screen.

    cone3d.gamedev.net

    go to that site to see tutorials and information on SDL.

  8. #8
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    I finally figured out how to install Allegro.

    Ill use it ... if i can.
    What is C++?

  9. #9
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    SDL, Allegro, BGI, BOO!! Be a man in do it in OpenGL or DirectX Anyways, it's not very difficult find a simply tutorial or if you'd like PM me and I'll send you some sample DX code to move a sprite around the screen.

  10. #10
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    what if we dont have the programs

    arent they expencive and i cant find them on the net either

  11. #11
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    What programs? DirectX, OpenGL and Allegro? They are all free.

  12. #12
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    got any link to a D-L site for directx then?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. using basic library to write curve to bmp
    By CIO in forum C Programming
    Replies: 3
    Last Post: 02-21-2009, 02:25 PM
  2. saving bmp image files
    By aniramg69 in forum C Programming
    Replies: 10
    Last Post: 12-30-2008, 10:08 AM
  3. Problem reading BMP
    By Mortissus in forum C Programming
    Replies: 4
    Last Post: 02-02-2006, 06:32 AM
  4. Strange problem with bmp
    By Victor in forum Linux Programming
    Replies: 2
    Last Post: 04-04-2005, 02:48 PM
  5. adding encryption to bmp
    By GiraffeMan in forum C Programming
    Replies: 10
    Last Post: 04-16-2002, 01:42 PM