![]() |
|
Allegro Simplificator |
Jennifer Perkins
Member #8,203
January 2007
|
Hello All, Thanks so much |
Neil Walker
Member #210
April 2000
![]() |
I know nothing of that sourceforge project, but you could always try out my AXL system, which handles all allegro configurations, animations, game time, etc. AXL is as my sig, just have a read of the online documentation. Don't know if it's the same thing. Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
Ariesnl
Member #2,902
November 2002
![]() |
Allegro is written in plain C It comes ready to use without having to compile al sort of stuff yourself (And Welcome to Allegro.cc Perhaps one day we will find that the human factor is more complicated than space and time (Jean luc Picard) |
gnolam
Member #2,030
March 2002
![]() |
Don't double post. Quote: Allegro is written in plain C And is as such perfectly usable in C++. -- |
CGamesPlay
Member #2,559
July 2002
![]() |
I don't know what the "Allegro Simplificator" is, but you can use C++ with Allegro just fine... Omigosh, deja vu. -- Ryan Patterson - <http://cgamesplay.com/> |
Jennifer Perkins
Member #8,203
January 2007
|
Thank you so much. I'm so glad you guys are so helpful. I'm very grateful for the advice and I'm sure I'll be back to the forums often. I hate to admit it, but I teach programming classes and I want to incorporate allegro into them, and I'm trying to figure it all out first. :-) I have to teach the class in C++ and need to be able to have the students add to classes, create classes incorporating several concepts we will cover in class etc. Thank Goodness for the grad students, they are very involved with this as well and are really enthusiastic. I'm sure I'll be back asking for your help as well. So thanks for the warm welcome, sometimes it can be intimidating asking for help from the gurus. But I'm the first one to tell my students that I don't know everything and if I don't know I'll try to find the answer. A struggling teacher trying to give the students something fun to do, |
Ariesnl
Member #2,902
November 2002
![]() |
Quote:
[Quote]
And is as such perfectly usable in C++. True, but you won't have any base classes to derive from.. If you want to derive classes use OpenLayer (it's also a lot faster than plain Allegro) Perhaps one day we will find that the human factor is more complicated than space and time (Jean luc Picard) |
Jennifer Perkins
Member #8,203
January 2007
|
Oh yes, that's exactly what I need to be able to do. Ya'll are soooo great. Going to download it now. Is there anything I need to know about installing it that will keep me from screwing it up? |
Richard Phipps
Member #1,632
November 2001
![]() |
If you are using windows you should just be able to run the build utility and have it set it up for you. |
Epsi
Member #5,731
April 2005
![]() |
Quote: Oh yes, that's exactly what I need to be able to do. Ya'll are soooo great. Going to download it now. Is there anything I need to know about installing it that will keep me from screwing it up? Well OpenLayer needs hardware accelerated video cards, so you might want to check what kind of video card is available on the school's computers if you decide to go for OL. If you just want plain old Allegro, any hardware configuration should be ok. ___________________________________ piccolo: "soon all new 2d alegro games will be better. after i finsh my MMRPG. my game will serve as a code reference. so you can understand and grab code from." |
Jennifer Perkins
Member #8,203
January 2007
|
Sorry to be such a pain.... went to this website: FOR OTHER COMPILERS THAN GCC - A package containing the MSVC versions of the libraries might already have been release. - If no package exists for your compiler you'll have to compile OpenLayer's source files and arrrrrrrghhhh I'm soooo confused. I've got allegro set up with Dev-C++ and need OpenLayer to work with what I have already setup. I don't want to screw up what I've already got working, so I'm afraid now to do anything.. OOOOPPPssss.... My video card may not run it. I've got an older Dell laptop from our department. arrrrrgggghhh again. Jennifer |
Richard Phipps
Member #1,632
November 2001
![]() |
If you have allegro working with Dev-C then you either have GCC or Cygwin setup as the compiler. I'd say it's highly likely that GCC is setup, so running the cbuild file should start the build process. |
nonnus29
Member #2,606
August 2002
![]() |
Try L zero L, our benevolent, enlightened leader has some filters setup on the forums. |
Jennifer Perkins
Member #8,203
January 2007
|
L0L wondered what ethereal entity put that I'm dumb in there... |
Epsi
Member #5,731
April 2005
![]() |
You won't break what is already working, don't worry. But without hardware acceleration it will be very, very slow. However you can still develop full speed pure Allegro games on the same computer. Launch the buildme.bat on Windows to compile OpenLayer. ___________________________________ piccolo: "soon all new 2d alegro games will be better. after i finsh my MMRPG. my game will serve as a code reference. so you can understand and grab code from." |
Jennifer Perkins
Member #8,203
January 2007
|
Ok, please don't hate me because I'm stupid, but after decompressing the .zip folder there is: Demo.cpp, Demo.dev, Makefile.win, Install.txt and the folders for the includes, demos, dll's, lib's etc.. no batch file ugh... |
Neil Walker
Member #210
April 2000
![]() |
If you're new to all this and just want to learn how to program games, then Openlayer/OpenGL is overkill and the installation more error prone, just go for the plain Allegro installation. The easiest way is to get a binary release, this is in the files section of allegro.cc If you are using DevCPP then you can get a devpak (from the menu within devc++) for Allegro that does everything for you. The stuff in the files section is a basic shell of allegro, so for all the demos, etc. get the remainder (or all of it, for 4.2 that is) at http://retrospec.sgn.net/allegro.php Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
Jennifer Perkins
Member #8,203
January 2007
|
I have DevC++ and allegro set up and working, but I have to have the code in C++ classes and not in C code. That's my issue, not necessarily needing anything else. It just has to be converted to C++ classes. Any ideas? Suggestions? I would love to use OpenLayer or Allegro Simplification, or if there's some other wrapper out there that will give me C++ classes I'm open for any suggestions. Considering Hari-kari - is this how people start smoking crack??? L0L |
CGamesPlay
Member #2,559
July 2002
![]() |
-- Ryan Patterson - <http://cgamesplay.com/> |
Jennifer Perkins
Member #8,203
January 2007
|
No need to be ugly. |
Audric
Member #907
January 2001
|
Ariesnl said: If you want to derive classes use OpenLayer
This wasn't a friendly hint gnolam said: (Allegro is written in plain C) And is as such perfectly usable in C++.
CGamesPlay said: you can use C++ with Allegro just fine +1. Allegro is a library, just like libc. It means you don't need to see the code behind each function, you only need to understand the interface (?) (ie: which functions does what.) Just write your own code in C++, in whatever organization you see fit. But inside methods, whenever you need to actually DO stuff related to the screen, keyboard, mouse etc. you call the relevant allegro functions. If you want to derive classes from something rock-solid, you could check AMGC2 by Miran Amon. |
tobing
Member #5,213
November 2004
![]() |
Jennifer, if you want something with beautiful classes for your lessons, but stick with allegro technically, I can only recommend you have a look at guichan. It's a GUI library, quite well designed, and works perfectly well with allegro. You have all sorts of classes and OO stuff in there, so you can derive classes to override behavior or appearance. The gui itself is non-intrusive, so you can use it as an addition to what you already have, it shouldn't break existing code or force a particular style upon you. Look at the CVS version, and look into the allegrowidgets example program. OpenLayer is much more advanced and has a whole lot of dependancies, i.e. other libraries you also have to compile and link with, I wouldn't recommend that for your purposes. |
Trezker
Member #1,739
December 2001
![]() |
Well... Give your students the task of creating a C++ wrapper for allegro. I'm thinking of doing a wrapper myself... But there's no time. |
Jennifer Perkins
Member #8,203
January 2007
|
I understand what you mean now. I got confused when I looked at the Allegro Simplification Documentation. It shows things like: Public Member Functions shows constructors, destructors, public member function, private member functions, private member variables, namespaces etc... for each class After reading all of this documentation, I thought that you could use this Allegro Simplificator to change the way you would interface with Allegro. So instead of straight function calls... you would use the classes and their member functions. So I'm mistaken about that, right? I don't understand what the wrappers do then. So instead of being able to add member function, member variables to the classes that would already exist (if I had been right about Allegro Simplificator as I was thinking), I need to instead just build new classes using the predefined C functions. I'm going to have to look at this from a different perspective then. I appreciate you pointing me in the right direction. I'm just trying to learn here, for my students. I don't want to be the type of professor that keeps teaching the same crap for 20 years. I'm trying to keep up with what the kids want and keep them interested in Computer Science. I really appreciate your help. Great.... was busy typing when I got the last 2 posts. I will definately look into that instead of OpenLayer. That would give me what I need to teach the specific concepts I have to cover (this determined by the powers that be). Would they hate me if I made them create a wrapper? I'd love to have one project that they added to all semester and finally developed a functioning game in the end. That was my thought anyway. |
tobing
Member #5,213
November 2004
![]() |
Quote: Would they hate me if I made them create a wrapper? Hm? Who do you mean? The guichan people already have guichan_allegro, which is the allegro backend for the use of guichan with your own allegro program (there are also other backends available). You're always free to take the sources and make your own library (which I would not recommend), or to add your own wrapper library to use (the better way). |
|
|