Archived

This topic is now archived and is closed to further replies.

Newbie Question

This topic is 5647 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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 ?

Share this post


Link to post
Share on other sites
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,

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites