RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
 
Post new topic Reply to topic  
View previous topic - View next topic  
Author Message
DeveloperX
202192397


Joined: 04 May 2003
Posts: 1626
Location: Decatur, IL, USA

PostPosted: Mon Aug 25, 2008 8:17 am    Post subject: Final Fantasy Menu Example [quote]


Final Fantasy Menu Example

click here to download the source (QuickBasic)

I was bored and decided to try my hand at recreating the menu in FFV.

Its far from a complete menu system, and its got no user-interaction
aside from pressing a key to exit the demo, however it took me a good
3 hours to figure out. :D

I had fun doing it, and who knows, I might build on it and create a
small working demo (there are lots of bugs to work out before that will
happen; such as the really painfully slow drawing rate)

Anyway this example code may be used in any way shape or form you would
like, with the exception of calling the code your own. All I ask is that
if you use this code in your game that you give me a single line of credit
in your game: "Uses FFMNU.BAS by Richard Marks"

Have fun, and if you have any questions I'll do my best to answer them!

and no I'm not reverting to using quickbasic over all the nifty new languages I know, I'm just going through a retro time and enjoying every minute of it!
_________________
Principal Software Architect
Rambling Indie Games, LLC

See my professional portfolio
Back to top  
Jinroh
Scholar


Joined: 30 May 2008
Posts: 173
Location: U.S.A.

PostPosted: Mon Aug 25, 2008 12:54 pm    Post subject: [quote]

The code may not be up to your par, but the menu itself looks really nice.

Good stuff! -_^ Don't worry about the time either it would've probably taken me a good while 'til I had everything right as well. ^_^
_________________
Mao Mao Games
The wolf and his mate howl, taking solace in the silver moon. Pressing ever foreward to see what the future holds.
Back to top  
DeveloperX
202192397


Joined: 04 May 2003
Posts: 1626
Location: Decatur, IL, USA

PostPosted: Tue Aug 26, 2008 3:46 am    Post subject: [quote]

Jinroh wrote:
The code may not be up to your par, but the menu itself looks really nice.

Good stuff! -_^ Don't worry about the time either it would've probably taken me a good while 'til I had everything right as well. ^_^


I know. :D

I'm actually working on a c++ version of it for fun
_________________
Principal Software Architect
Rambling Indie Games, LLC

See my professional portfolio
Back to top  
RedSlash
Mage


Joined: 12 May 2005
Posts: 331

PostPosted: Tue Aug 26, 2008 6:32 am    Post subject: [quote]

Nice! I think you should complete the functionality, just for fun.
Back to top  
Jinroh
Scholar


Joined: 30 May 2008
Posts: 173
Location: U.S.A.

PostPosted: Tue Aug 26, 2008 1:08 pm    Post subject: [quote]

RedSlash wrote:
Nice! I think you should complete the functionality, just for fun.


That was subtle RedSlash. ^_^

Awesome that you're working on a C version can't wait to see it. ^_^
_________________
Mao Mao Games
The wolf and his mate howl, taking solace in the silver moon. Pressing ever foreward to see what the future holds.
Back to top  
DeveloperX
202192397


Joined: 04 May 2003
Posts: 1626
Location: Decatur, IL, USA

PostPosted: Wed Aug 27, 2008 5:15 am    Post subject: [quote]



click here to download the source

Final Fantasy V Menu Example in Allegro

After writing FFMNU.BAS in QuickBasic I decided to try it in Allegro.
This was an interesting challenge, especially since I had to recreate
the ability to PRINT the way I did in QB.

After some thought, and some writing and testing of a few utilities
I managed to have all that I needed, and I finished the rest of the
conversion to C/C++ in about an hour afterwards.

All together this demo took about 8 hours of time to create.

Like FFMNU.BAS it is far from being a complete menu system, and again
it has no user interaction except for pressing ESC to quit.

I had fun making this, and the tools that I used to generate the data.

This example code may be used in any way shape or form you would like,
with the exception of calling the code your own. All I ask is that if
you use this code in your game that you give me a single line of credit
in your game: "Uses ffmnu-al.cpp by Richard Marks"

Have fun, and if you have any questions I'll do my best to answer them!
_________________
Principal Software Architect
Rambling Indie Games, LLC

See my professional portfolio
Back to top  
DeveloperX
202192397


Joined: 04 May 2003
Posts: 1626
Location: Decatur, IL, USA

PostPosted: Wed Aug 27, 2008 5:19 am    Post subject: [quote]

OK. I fixed the bug; and the code has been updated.

I didn't bother to fix the screenshot, so the bug is still visible in the shot.
_________________
Principal Software Architect
Rambling Indie Games, LLC

See my professional portfolio
Back to top  
Verious
Mage


Joined: 06 Jan 2004
Posts: 409
Location: Online

PostPosted: Wed Aug 27, 2008 1:29 pm    Post subject: [quote]

DeveloperX wrote:
OK. I fixed the bug; and the code has been updated.


Are you referring to the bottom of the letters, which are cut-off in the screenshot?
Back to top  
DeveloperX
202192397


Joined: 04 May 2003
Posts: 1626
Location: Decatur, IL, USA

PostPosted: Wed Aug 27, 2008 4:44 pm    Post subject: [quote]

Verious wrote:

Are you referring to the bottom of the letters, which are cut-off in the screenshot?


Yeah.
That and the text-shadow is not drawing correctly in the screenshot.

I was off by a couple pixels in my calculations. As I said, an easy fix.
_________________
Principal Software Architect
Rambling Indie Games, LLC

See my professional portfolio
Back to top  
Jinroh
Scholar


Joined: 30 May 2008
Posts: 173
Location: U.S.A.

PostPosted: Wed Sep 03, 2008 2:39 pm    Post subject: [quote]

Awesome!

Great work, DeveloperX!
_________________
Mao Mao Games
The wolf and his mate howl, taking solace in the silver moon. Pressing ever foreward to see what the future holds.
Back to top  
DeveloperX
202192397


Joined: 04 May 2003
Posts: 1626
Location: Decatur, IL, USA

PostPosted: Wed Sep 03, 2008 4:00 pm    Post subject: [quote]

Jinroh wrote:
Awesome!

Great work, DeveloperX!


Thanks :D
_________________
Principal Software Architect
Rambling Indie Games, LLC

See my professional portfolio
Back to top  
Post new topic Reply to topic Page 1 of 1 All times are GMT
 



Display posts from previous:   
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum