Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411485 Posts in 69371 Topics- by 58427 Members - Latest Member: shelton786

April 24, 2024, 04:43:02 AM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsDeveloperTechnical (Moderator: ThemsAllTook)Looking at Allegro...
Pages: [1] 2
Print
Author Topic: Looking at Allegro...  (Read 5268 times)
MekanikDestructiwKommando
Level 3
***


Let's ROCK!


View Profile
« on: June 17, 2008, 06:32:09 PM »

It sounds reasonably straightforward to create a 2D game with?
No need for fancy 3D or anything.. just something capable of drawing sprites fast without flickering the screen and able to animate the sprites well.
Any horror stories? Downloading some of freelunch's games now (it was suggested in the Allegro write-up in the sticky)
« Last Edit: June 17, 2008, 06:36:35 PM by MekanikDestructiwKommando » Logged

Quote
There have always been interactive experiences that go beyond entertainment.  For example, if mafia games are too fun for you, then you can always join the mafia.
siiseli
Level 6
*



View Profile
« Reply #1 on: June 18, 2008, 12:34:17 AM »

I use allegro. You better get allegpng too, cos' allegro alone only supports bmps, and you kids all know how evil that is. So if your making a simple game, allegro is your choice.
Logged
postlogic
Level 1
*



View Profile
« Reply #2 on: June 18, 2008, 01:19:50 AM »

Using Allegro is fairly straightforward, and there's a pretty decent wiki available over at allegro.cc, with articles describing how to do double and triple buffering and the likes.

Free Lunch did create Icy Tower, which has been a quite large hit. Created in Allegro Wink
Logged

No animals were harmed during the making of this post. Except one.
Terry
TIGSource Editor
Level 10
******



View Profile WWW
« Reply #3 on: June 18, 2008, 02:30:54 AM »

I've used Allegro for a while now. It's ace!

Things should get very exciting within the next year or so for Allegro users, since the new version is nearly out.
Logged

Hideous
That's cool.
Level 10
*****


3D models are the best


View Profile WWW
« Reply #4 on: June 18, 2008, 09:09:46 AM »

I've installed Allegro and Dev-C++ a few days ago here, but I have no idea how to use it, and I'm still waiting for TERRY TO GET ON MSN so he can tell me how to.
Logged

Terry
TIGSource Editor
Level 10
******



View Profile WWW
« Reply #5 on: June 18, 2008, 09:11:08 AM »

Dude, I'm unemployed - I'm like, always on. Smiley
Logged

joshg
Level 4
****



View Profile WWW
« Reply #6 on: June 18, 2008, 09:43:54 AM »

I'm just starting out with the Allegro goodness too.  Thanks for the tip on the png library, I almost resorted to bmps. (!!!!)  Gentleman
Logged

these are from an actual radio shack in the ghetto
Wilson Saunders
Level 5
*****


Nobody suspects the hamster


View Profile WWW
« Reply #7 on: June 19, 2008, 09:27:50 AM »

I used Allegro for Toadzilla and Papal Shotgun Gladiator. Installation was a bit tricky but the Wiki had a good step by step walk through. Be sure to check out the examples. They will give you a better idea of how to use the library.
Logged

Play my games at http://monkeydev.com/
Hideous
That's cool.
Level 10
*****


3D models are the best


View Profile WWW
« Reply #8 on: June 19, 2008, 01:39:29 PM »

I can't find that damn allegro png library. Sad
Logged

Terry
TIGSource Editor
Level 10
******



View Profile WWW
« Reply #9 on: June 19, 2008, 04:29:02 PM »

Don't worry about it; I just use pcxs - they're lossless, fairly small, and don't require any add ons Tongue
Logged

Terry
TIGSource Editor
Level 10
******



View Profile WWW
« Reply #10 on: June 19, 2008, 04:29:34 PM »

Also: shawing, level 9 Cool
Logged

MekanikDestructiwKommando
Level 3
***


Let's ROCK!


View Profile
« Reply #11 on: June 19, 2008, 09:09:04 PM »

0_0 new version.
I think I'm going to delay my Indiness.. and wait longer before I buy a(new) home computer.. let the Indie fester.. until it must explode. Plus give my head a rest..
 Cool. New version this year yah?
Logged

Quote
There have always been interactive experiences that go beyond entertainment.  For example, if mafia games are too fun for you, then you can always join the mafia.
Hideous
That's cool.
Level 10
*****


3D models are the best


View Profile WWW
« Reply #12 on: June 20, 2008, 05:38:22 AM »

Don't worry about it; I just use pcxs - they're lossless, fairly small, and don't require any add ons Tongue

But using BMP's is just so annoying, and I have no idea how to use PCX's Sad
Logged

Zaphos
Guest
« Reply #13 on: June 20, 2008, 07:12:31 AM »

You could always write a quick program to convert bmps to pcx
You know, like

Code:
int main(int argc, char**argv)
{
  if (argc < 3) {/*handle error*/}
  BITMAP *bmp = load_bitmap(argv[1], NULL);
  save_pcx(argv[2], bmp, NULL);
}
Logged
Hideous
That's cool.
Level 10
*****


3D models are the best


View Profile WWW
« Reply #14 on: June 20, 2008, 08:11:44 AM »

... But I'm a C++ newb :D

I really need to look into these things more.
Logged

MekanikDestructiwKommando
Level 3
***


Let's ROCK!


View Profile
« Reply #15 on: June 23, 2008, 03:02:47 AM »

Halp
I downloaded Bloodshed, and I downloaded Allegro. What do I do with the Allegro files? The lib folder seems to be full of "tmpfile".txt in its subfolders.
There seems to be some files related to a starfield and a starship 0_0.
All I really want is to write my logic in the compiler.. and draw 2d graphics to the screen without nasty flickerness, and control the fps. The filecount is overwhelming  Angry. Can someone direct me to the libraries I need // where to put Allegro files?
((I have programming experience, just very little with C++, *sigh*))
Logged

Quote
There have always been interactive experiences that go beyond entertainment.  For example, if mafia games are too fun for you, then you can always join the mafia.
Hideous
That's cool.
Level 10
*****


3D models are the best


View Profile WWW
« Reply #16 on: June 23, 2008, 03:32:53 AM »

What IDE/compiler are you using?
Logged

ColossusEntertainment
Level 1
*

Royal Leamington Spa, UK


View Profile
« Reply #17 on: June 23, 2008, 03:35:20 AM »

All I really want is to write my logic in the compiler.. and draw 2d graphics to the screen without nasty flickerness, and control the fps.

As an alternative (I'm not that familiar with Allegro), I thought I'd suggest downloading Visual Studio Express (free) and my own Pixie game engine, which I think is quite straightforward to get started with, and which comes with Visual Studio project setting all ready to go. Should be just a matter of download and build (you need the DirectX SDK installed, but that's it).

A "Hello World" tutorial for the Pixie game engine is available, and I'm almost done with a second one which is about using bitmaps and files in Pixie.

Pixie is public domain, so can be used for whatever.

Gentleman
« Last Edit: June 23, 2008, 03:40:35 AM by ColossusEntertainment » Logged
Hideous
That's cool.
Level 10
*****


3D models are the best


View Profile WWW
« Reply #18 on: June 23, 2008, 03:38:44 AM »

... You just pimp your engine everywhere, don't you :D
Logged

ColossusEntertainment
Level 1
*

Royal Leamington Spa, UK


View Profile
« Reply #19 on: June 23, 2008, 03:39:35 AM »

Never miss an opportunity  Evil
Logged
Pages: [1] 2
Print
Jump to:  

Theme orange-lt created by panic