|
Shrink Bitmap |
neil dwyer
Member #7,237
May 2006
|
Is there a way to make bitmaps smaller in allegro? In my pong game I want to be able to shoot the opposing paddle(which is a bitmap so i cant use rectfill) and upon impact, i want the opponent to get smaller. |
BrknPhoenix
Member #7,304
June 2006
|
http://www.talula.demon.co.uk/allegro/onlinedocs/en/alleg014.html there's stuff about stretching and scaling in there |
Simon Parzer
Member #3,330
March 2003
|
neil dwyer
Member #7,237
May 2006
|
Thanks a lot! I am going to have to start memorizing that manual. |
_Dante
Member #7,398
June 2006
|
Or have a copy of the manual open beside you. Hell, I have an HTML copy of K&R that I refer to at least once or twice a week. [EDIT] ----------------------------- |
neil dwyer
Member #7,237
May 2006
|
My parents get mad when I use all of my ink on useless(to them) things. |
Richard Phipps
Member #1,632
November 2001
|
The manual is online, as well as in html files with the full allegro package. There is no need to print it out or even go online.. |
A J
Member #3,025
December 2002
|
there are some high quality scaling algorymths too available. the quality of stretch_blit() is not very high. ___________________________ |
Simon Parzer
Member #3,330
March 2003
|
Yeah, Bicubic Interpolation for example. It has nice quality and is very slow (lots of calculations for the CPU). |
Fladimir da Gorf
Member #1,565
October 2001
|
For software Allegro, there's AASTR (Anti-Aliased STretching and Rotations) OpenLayer has reached a random SVN version number ;) | Online manual | Installation video!| MSVC projects now possible with cmake | Now alvailable as a Dev-C++ Devpack! (Thanks to Kotori) |
|