What is the best way to make a game as in grpahics?

what type code do you use that is fairly simple, and doesnt require lalot of ram. I dont want a 28mb RAM rock game again.

Also, animated gif's, can we get these in VB?

I am currently making a car game, where you race over the network/internet.

it needs a good set of code to run efficiently tho.