Thread: Programming Mario

  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    110

    Programming Mario

    Hi, I have just finished Binary Search Trees in my classes.

    I feel like I should beable to do something with what I know.

    So I figure ill program mario (2d cuz I found the sprites).

    I looked at allegro, but thats like using a nuclear power plant to run 1 light bulb.

    So, ill just use Bitbliting and WIndows API.

    Also ill be using 800x600 window.

    So what advice, if any, at your own free will, would like to give?

  2. #2
    ---
    Join Date
    May 2004
    Posts
    1,379
    Use Allegro or SDL because it isnt as intense as you might think.

  3. #3
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Heck use Direct3D or OpenGL and use textured quads instead of bitblt sprites. It's really not that complex and you gain very simplistic rotation functionality. Try writing a sprite rotation function that does not use textured quads - you will pull your hair out and it will be slower than snot.

  4. #4
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    One other thing about OpenGL is you can easy scaling. When Mario gets the mushroom and gets bigger, just stretch the quad.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Pointers and gaming - MARIO
    By swgh in forum Game Programming
    Replies: 9
    Last Post: 02-24-2006, 04:32 PM
  2. Super Mario Sunshine!
    By LordVirusXXP in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 12-24-2002, 04:00 PM
  3. mario type game?
    By Unregistered in forum Game Programming
    Replies: 5
    Last Post: 09-03-2001, 08:57 PM