Graphic Rotation and Scrolling Engine

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
User avatar
Brandon
Coder
Posts: 47
Joined: Sat Nov 19, 2005 9:24 pm
Location: NY
Contact:

Graphic Rotation and Scrolling Engine

Post by Brandon »

I am planning on making a racing game in FB. I have some top down graphics for the cars and would like then to be able to rotate and turn but I don't want to make a whole separate image for every angle. I also will need a pixel scrolling engine to display the map. Do you know of any that are easy to use and work in FreeBASIC.
Pritchard
Coder
Posts: 15
Joined: Mon Jun 12, 2006 12:19 pm

Post by Pritchard »

but I don't want to make a whole separate image for every angle.
Use YAGL/OpenGL.
Do you know of any that are easy to use and work in FreeBASIC.
AFAIK, no one's really made stuff like that in FB yet. You don't have to worry much about clipping in FB just so you know. Using OpenGL or YAGL though, I'm not sure.
Dr_D
Veteran
Posts: 58
Joined: Fri Jun 17, 2005 4:47 pm
Contact:

Post by Dr_D »

If you have the itme, it would be worth learning OpenGL because it'll give you more raw speed than anything else. My suggestion would be to ignore SDL, and look into GLFW for setting up the window context. If you look on http://www.freebasic.net/forum/index.php, there are plenty of examples using GLFW, by now.
The Dr. is INsane!!!
Post Reply