Newbie Question

Started by
3 comments, last by Peter Lewis 21 years, 10 months ago
I want to write casino type games but I need to understand some principles first. I have 3D studio Max and numerous other graphic programs, Poser,Worldbuilder and lots of 3D programs. If I was to develop the graphics for these games what format would I use for them. Bear in mind I want 3D and possible animation. One of the games I looked at uses .BMP files. In one graphic file they had 10 different frames seperated by a yellow line. In programming is there a routine that you would use to access the different images in the single file ?
Advertisement
yes! because when you load your data(ie, images, everything would be in memory, which you can access from there on), usually, in win programming, you use the RECT struct, to specify the size of the frame, then render appropriately,

http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,
Is this the best way of doing things. Can I also use the same thing using JPG''s

Thanks

perhaps you may want to learn to program first? That might help with your questions, first you'll need to learn a language C / C++ / VB for instance. Then an API DirectDraw / Direct3D / SDL / OpenGl.

Take a look at the "For Beginners" link and it'll guide you towards some good books.

If you're looking to make 2D casino games cone3d might have everything there or you

EDIT: Sorry I didn't read your post properly, perhaps you may want to check out NeHe after Cone3D.

[edited by - garconbifteck on June 26, 2002 11:46:27 AM]
Jpeg is a lossy compression system, BMP, TGA and PNG are all lossless. You wouldn't want to use a lossy image format because of the loss of detail.

,Jay

Edit: Forgot to mention, you would uncompress any image before using in memory for speed reasons. BMP is pretty similar to what you'd end up with in memory, just a raw array of bytes.

[edited by - Jason Zelos on June 26, 2002 2:43:24 PM]

This topic is closed to new replies.

Advertisement