|
a simple menu |
Money
Member #6,730
December 2005
|
here is a simple menu you can use.. i got some help from red and miran
|
miran
Member #2,407
June 2002
|
Uhm, sorry to burst your bubble, but that's pretty useless. A good starting point for when you're learning, but not something you could put a "production quality" label on... -- |
ReyBrujo
Moderator
January 2001
|
There, there miran, don't bite newcomers -- |
miran
Member #2,407
June 2002
|
Hehe... -- |
Onewing
Member #6,152
August 2005
|
I'm impressed with Money's post count: Quote: 21 posts at an average of 26.07 posts per day.
------------ |
tapir
Member #6,629
November 2005
|
It's not that useless, btw, money: place the show_cursor(...) just before blit(..) |
BAF
Member #2,981
December 2002
|
Steven: that would be because he just registered today, and at his current rate of posting, he can post 26 posts per day. |
Murat AYIK
Member #6,514
October 2005
|
With this speed he will learn to make World Of Warcraft 2 next month:) _____________________________________________________ |
Richard Phipps
Member #1,632
November 2001
|
Ignore them Money. |
Money
Member #6,730
December 2005
|
i wasn't posting for it to be a top notch leet menu just using it as a reference and as for the world of warcraft 2 guy.....no...just no...that wasn't even funny. just stop |
Murat AYIK
Member #6,514
October 2005
|
1. I didn't mean offense _____________________________________________________ |
Onewing
Member #6,152
August 2005
|
Quote: Steven: that would be because he just registered today, and at his current rate of posting, he can post 26 posts per day. I just thought it was funny since his total was less than his average. Quote: Ignore them Money. I try, but I'm just so greedy... Quote: that wasn't even funny Made me chuckle. ------------ |
BAF
Member #2,981
December 2002
|
I chuckled. Its something that will be funny to you when you become a veteran of the forums. |
Avenger
Member #4,550
April 2004
|
Quote: and as for the world of warcraft 2 guy.....no...just no...that wasn't even funny. just stop To be honest, I would take it as a compliment, if it were directed at me.
|
Murat AYIK
Member #6,514
October 2005
|
Quote: I just thought it was funny since his total was less than his average. Looks like it predicts near future! I didn't know Matthew was a seer:o At least he coded one! (Matrix?) Quote: To be honest, I would take it as a compliment, if it were directed at me. Partially right. It looks like Money is coding with four arms! Am I wrong or is this the most polite day of A.cc? I wasn't greeted like Elvis! (I need to be loved, too:P ) _____________________________________________________ |
Onewing
Member #6,152
August 2005
|
Quote: I wasn't greeted like Elvis! Nor shall you be. Quote: Am I wrong or is this the most polite day of A.cc? Is that better? ------------ |
Murat AYIK
Member #6,514
October 2005
|
I feel better, now:) I guess misunderstandings are solved now so I can sleep(2AM here) _____________________________________________________ |
Jonny Cook
Member #4,055
November 2003
|
Well, it is simple. You write nice clear code, so that's a plus. But you get a minus for clumping the logic and the drawing together, so you're still zero. The face of a child can say it all, especially the mouth part of the face. |
IonBlade
Member #3,521
May 2003
|
If you're actually new to allegro, you're doing well so far. Allegro was my first venture into graphics and hardware access, so it took me a long time to figure out the concepts. ------ "I've got to choose my words carefully so that I'm not misunderstood, but I think there are fewer developers around today who think about making a good game. As a creator, I find that sad..." - Hideo Kojima |
Michael Faerber
Member #4,800
July 2004
|
I've programmed this for you. I hope it helps!
Have fun with it, and try to understand what I have written! EDIT: Whoops, it's a bit messed up. I have attached the source code! -- |
Rick
Member #3,572
June 2003
|
Here's another idea in C++. Note that it's not complete just something to give you an idea.
[EDIT] You could even go on to make some of those vars arrays with some defines etc.. I would also make the font a variable in case you wish to change font on highlight also. [EDIT]
======================================================== |
Fladimir da Gorf
Member #1,565
October 2001
|
Quote:
int menuColors[MENU_COUNT]; Why not to make a class called MenuItem which contains the color, location, name and mouseOver and them making a list of those? 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) |
nonnus29
Member #2,606
August 2002
|
Why? |
Rick
Member #3,572
June 2003
|
Quote: Why not to make a class called MenuItem which contains the color, location, name and mouseOver and them making a list of those? Actually I just did that in my notepad version. I just wanted to give him some ideas. [EDIT] ======================================================== |
|