I'm so dumb *wimper*...
All I want to know is how to load a dumb bitmap, but everything is sooo confusing, I read a bunch or tutorials and when i reached the end of the night i shouted "Thats it, im too dumb for this, I will annoy the people a Gamdev with my dumb questions" and that cheered me up . So if its not obviose, I want the most simple way to display a bitmap (all i want if for it to show up and thats it) it will probably still be incredably difficult for me even with its simplisety so u might have to explain something 2 or 3 hunderd times.
Simplest way? Ha! Use Allegro!
BITMAP* Bmp;
PALLETE Pal;
Bmp=load_bitmap("myfile.bmp",Pal);
blit(Bmp,screen,0,0,Xpos,Ypos,Bmp->w,Bmp->h);
That's about as simple as you're gonna get...
Martee
Magnum Games
Edited by - Martee on August 10, 2000 10:31:52 PM
BITMAP* Bmp;
PALLETE Pal;
Bmp=load_bitmap("myfile.bmp",Pal);
blit(Bmp,screen,0,0,Xpos,Ypos,Bmp->w,Bmp->h);
That's about as simple as you're gonna get...
Martee
Magnum Games
Edited by - Martee on August 10, 2000 10:31:52 PM
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
it depends... what compiler and libraries are you using? DJGPP? Visual C++? Allegro (already been answered..)? DirectX? Windows? DOS? Linux?
i''ll help you if i can..
i''ll help you if i can..
allegro, allegro, allegro! All the way
Seriously, as already mentioned, use the allegro library! If yuou think you''re too dumb to load a bitmap (like I am/was then get stuck in with djgpp and the allegro library... it''s simple, fast, and fun.
Get them both here
Nick - Head Designer, Llamasoft.net
--
Visit our website...
Llamasoft.net
Games, goodies and ingenuity
Seriously, as already mentioned, use the allegro library! If yuou think you''re too dumb to load a bitmap (like I am/was then get stuck in with djgpp and the allegro library... it''s simple, fast, and fun.
Get them both here
Nick - Head Designer, Llamasoft.net
--
Visit our website...
Llamasoft.net
Games, goodies and ingenuity
Nick - Head Designer, Llamasoft.net--Visit our website...Llamasoft.netGames, goodies and ingenuity
I strongly advise getting a good book and a good compiler if you want to do windows programming. Get Visual C++ and get a book like "Windows Game Programming for Dummies" or "Tricks of the Windows Game Programming Gurus" by Andre Lamothe. He is a very good writer and make everything seem a lot easier.
Or you could always get Allegro....
- Daniel
VG Games
Or you could always get Allegro....
- Daniel
VG Games
- DanielMy homepage
Thanks guys, I use the compiler that came with MV C++, is allegro a library or compiler? And if its a compiler is there an easy way to do it with a VC++ compiler?
It''s a library, that you can only really use with DJGPP (a free dos compiler). There is the WinAllegro library, but I don''t trust that as far as I can cyber-throw it
Nick - Head Designer, Llamasoft.net
--
Visit our website...
Llamasoft.net
Games, goodies and ingenuity
Nick - Head Designer, Llamasoft.net
--
Visit our website...
Llamasoft.net
Games, goodies and ingenuity
Nick - Head Designer, Llamasoft.net--Visit our website...Llamasoft.netGames, goodies and ingenuity
I dont understand the downloading, it doesnt mention allegro, if i dload djgpp will i get allegro?
quote: Original post by McChuie
I dont understand the downloading, it doesnt mention allegro, if i dload djgpp will i get allegro?
on the delorie.com website use the zip-picker to download djgpp... then at the same time check the box asking if you want to download the allegro library, and any other bits ''n bobs you want
Nick - Head Designer, Llamasoft.net
--
Visit our website...
Llamasoft.net
Games, goodies and ingenuity
Nick - Head Designer, Llamasoft.net--Visit our website...Llamasoft.netGames, goodies and ingenuity
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement