![]() |
|
Allegro 5.0.0 released! |
Thomas Fjellstrom
Member #476
June 2000
![]() |
Tinted bitmap drawing is probably "free" enough that it might be faster to just use that, rather than trying to preload images. -- |
Trent Gamblin
Member #261
April 2000
![]() |
It may be something you're not interested in, but Allegro 5.1 (SVN) has a shader addon that could easily do this sort of thing and basically any type of palette effect. It's not as well supported or as easy as just tinting a bitmap, but it does offer more flexibility. But again, if you're sticking to 5.0 it's not in there.
|
Peter Wang
Member #23
April 2000
|
Elias's suggestion was the missing piece to go with shaders, which I'm sure is what he had in mind. For interest's sake, assuming we didn't have that, what would be the best way to implement the pixel shader? I can think of a couple of ways (e.g. exclusively use the red value as the colour index; or remapping only pixels which are pure green) but they don't seem satisfactory in general.
|
Mike Farrell
Member #248
April 2000
![]() |
I owe my learning of C and programming over 10 years ago to the allegro library. I'm glad to see it evolve. Being that I was never one of the proponents of the API change, I never did learn the new version, but I wish you guys lots of luck getting it out there. |
Don Freeman
Member #5,110
October 2004
![]() |
Have noticed an issue when you toggle the fullscreen mode on/off...It goes to fullscreen fine, but when it comes back then window looks like this: -- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Don Freeman said: Actually, I noticed that the fullscreen mode is not actually 800x600 either, it's the desktop resolution. Are you using ALLEGRO_FULLSCREEN_WINDOW? That's how it works. |
Don Freeman
Member #5,110
October 2004
![]() |
Yeah, how do I actually get a fullscreen mode and then switch back to windowed mode correctly then? Also, is there a way to do something with the second display when in fullscreen mode? It get's all jacked up too...I know this is a driver issue, just wondering. Oh, and how to get the actually desktop's resolution like pre-A5's get_desktop_resolution() function? -- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Don Freeman said: Yeah, how do I actually get a fullscreen mode and then switch back to windowed mode correctly then? Create an ALLEGRO_FULLSCREEN, destroy it, and create an ALLEGRO_WINDOWED. |
Don Freeman
Member #5,110
October 2004
![]() |
That was my first guess, but I thought there was a better way...oh well. -- |
Trumgottist
Member #95
April 2000
![]() |
Congrats! -- Play my game: Frasse and the Peas of Kejick |
Don Freeman
Member #5,110
October 2004
![]() |
I get a forbidden error message from the link to the pre-compiled window's versions at Michał Cichoń's site. I've downloaded it before, but not on this computer. -- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
The same files are here. |
Bob
Free Market Evangelist
September 2000
![]() |
My first impressions of A5 is "woah, the (Windows) build seems much more complicated now". Is there an existing step-by-step installation guide for getting Allegro configured and running on Windows, including builds of the examples & demos, for dummies like me? I have failed to get a working x64 build in MSVC 10 Express. Will retry tomorrow with MSVC 9 Pro. -- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Install all dependencies, set paths, etc. cd allegro mkdir build cmake .. nmake A while ago I got a 4.9 x64 build working by building regular 32-bit MSVC project files, and then upgrading the build to x64 from in the IDE. |
kingcools
Member #11,882
April 2010
|
sadly this does not work for me :/ |
Edgar Reynaldo
Major Reynaldo
May 2007
![]() |
kingcools said: sadly this does not work for me :/ Well, if you want help, you are going to have to be more specific than 'it doesn't work'. What steps did you take, and what errors occurred? My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
MiquelFire
Member #3,110
January 2003
![]() |
The Express version of MSVC (May have changed with 2010) doesn't support 64-bit natively, and require some work just to have it compile 64 bit (Maybe to the point that running Linux is easier I do not know the process if it is possible to enable 64 bit on Express editions. --- |
torhu
Member #2,727
September 2002
![]() |
Why would you need to compile a Windows game in 64 bit mode? |
OnurGumus
Member #9,333
December 2007
|
I just wondered my member number
|
KaBlammyman
Member #455
June 2000
![]() |
I leave the forums for years, and when I come back, there's a NEW Allegro? whats is the world coming to?? Seriously, great work guys
|
|
|