Panda Hack
Panda Hack
Hi, i am from the BlitzBasic community, tried FreeBASIC and i have to say that FreeBASIC has a very high quality/same as commercial BlitzBasic and i want to use it because it's free. However to learn FreeBASIC i wrote a little game called "Panda Hack", have fun with it:
Panda Hack is a Rogue like where the game purpose is
to hunt pandas and to make money by selling their meat.
Collect money, buy ammo, fight the demons to get darts
and finally kill some pandas and sell their meat.
Then get to the next zone... to kill even more pandas.
Get it here (ver 1.0):
http://www.filesend.net/download.php?f= ... 68ac10c955
The source code is crappy here and there. I can code better, but i just wanted to finish the game. I'm sure there are some bugs, i had no beta testers *making-excuses* - Shush! Whatever, play now :)
Panda Hack is a Rogue like where the game purpose is
to hunt pandas and to make money by selling their meat.
Collect money, buy ammo, fight the demons to get darts
and finally kill some pandas and sell their meat.
Then get to the next zone... to kill even more pandas.
Get it here (ver 1.0):
http://www.filesend.net/download.php?f= ... 68ac10c955
The source code is crappy here and there. I can code better, but i just wanted to finish the game. I'm sure there are some bugs, i had no beta testers *making-excuses* - Shush! Whatever, play now :)
Re: Panda Hack
Nice, to see that an additional person comes from BlitzBasic to FreeBASIC.N3trunn3r wrote:Hi, i am from the BlitzBasic community, tried FreeBASIC and i have to say that FreeBASIC has a very high quality/same as commercial BlitzBasic
The games on the BlitzBasic-side seems to have more effects and looks more professional like the games on games.freebasic.net I think.
What me interests is: What do you think are the advantages of BB and what are the advantages of FB?
And how to bring the advantages of BB over to FB.
For example, where you have experience with BB and FB, what do you think about porting minib3d to FB?
What can be added to http://code.google.com/p/fb-extended-lib/ to make it better?
-
- Posts: 2338
- Joined: May 31, 2005 9:59
- Location: Croatia
- Contact:
Interesting idea and solid ASCII design. Only, the gameplay is really lacking. The game requires no strategy, and it's turn-based. Also, the controls are very limited. You never give any choice to the player what to do in the shops or similar. It's all about walking around and taking care not to walk into a demon without darts.
Well, I hope you'll take care of this if you ever venture into making a sequel.
Well, I hope you'll take care of this if you ever venture into making a sequel.
Blitz programing engines have awesome game-creation orientend approach and that is it's main strength. The closest thing in FB is HGE, but I'm still searching for awesome/simple hardware accelerated FB graphics library. Maybe one day we'll have fbgfx.bi for hardware accelerated graphics and from that day FB will be GOD!
advantages of FB:What me interests is: What do you think are the advantages of BB and what are the advantages of FB?
---------------------
The advantages of FB is (for me) that it is free and Open Source.
I want to teach other people how to write games, i can't do that with BB without letting other people buying copies.
I am not a top-of-the-line coder, i never needed to used TYPES or even PTR (i could if i would). So i am probably not the right guy to ask witch syntax is better. But as far as i can see is there no big difference between the syntax. It was quiet easy to go from BB to FB.
advantages of BB:
---------------------
Well, BB is easier to use, for example you want to load an image, mask it and draw it, you just write:
Code: Select all
theimage =LOADIMAGE("gfx/logo.png")
MASKIMAGE theimage,255,0,255
DRAWIMAGE theimage,x,y
In Blitz you can just start. With sound, images, 3D, I/O...
It is just ONE library for almost everything. (that makes it very easy to read the code of others and learn from it).
I think if you want to write an application in FB or C like. The first thing you do is to thinking about witch library is best. And they make new ones every day. I really would like to see it all put together, simple stupid.
A set of several one-purpose-libraries each for one special use. Like the guys from GNU do it with their applications.
For example someone makes a Retro game lib... but i just want this one GFX feature out of it, and then i need BASS do get my sounds done but it can't use it under Linux...
For Christmas i really wish for:
"set of super-portable-one-purpose-libraries witch have an alike syntax, witch can be used in all good programming languages"
That would be really cool...
Thats up to what "many commonly used functions" are.What can be added to http://code.google.com/p/fb-extended-lib/ to make it better?
Sound i guess is one. But as i say the best thin is just put it all together. In my eyes people are just rewriting everything. Just confusing.
Yea it's really crap :DOnly, the game play is really lacking
I just wanted to learn FB. The next game will bet much better ;)
However it is not that hard to make games in FB like in BB.
BB is just more popular. In time FB will take over i guess...
I can't do that, i'm not that good. Just want to make my small small RPGs... :)For example, where you have experience with BB and FB, what do you think about porting minib3d to FB?
That's not quite true. You can just doWell, BB is easier to use, for example you want to load an image, mask it and draw it, you just write:
Code: ‹ Select ›
theimage =LOADIMAGE("gfx/logo.png")
MASKIMAGE theimage,255,0,255
DRAWIMAGE theimage,x,y
In FreeBASIC you need to understand and choose a library. Set the library stuff and write an easy to use function, to just draw an image.
Code: Select all
Dim myImage As Any Ptr = ImageCreate( 48, 48 )
BLoad "picture.bmp", myImage
Put (10,10), myImage
ImageDestroy( myImage )
-
- Site Admin
- Posts: 6323
- Joined: Jul 05, 2005 17:32
- Location: Manchester, Lancs
-
- Posts: 1186
- Joined: May 08, 2006 21:58
- Location: Crewe, England
$$$ Anti-Panda $$$
SORRY but this is not inviting to me :-(the game purpose is to hunt pandas and to make money by selling their meat
-
- Posts: 5494
- Joined: Sep 12, 2005 20:06
- Location: California
I liked this game a lot. Very fun :D
I wish I knew BlitzBASIC. Not sure if they'd be happy about anyone replicating their library's functions, however.At a glance, it looks like most of the Blitz BASIC syntax is non-quirky - just standard subs/functions, and perhaps some objects as well. It might be possible for someone to reimpliment those in FB, to get pretty much identical functionality.
Well FB comes with a graphics library. There are in fact people who would rather it didn't. Most languages don't come equipped with this kinda stuff :-) Not like it causes FB any bloat. FB only includes what it needs in your compiled programs.In FreeBASIC you need to understand and choose a library. Set the library stuff and write an easy to use function, to just draw an image.