10.03.2019 - Round 1 results of our "A Love Letter For FreeBASIC" game dev competition have been published. Please be sure to check the results thread: http://games.freebasic.net/forum/index.php?topic=629.0. Don't forget that the competition is continuing with a round 2, lasting till 29th of April, 300 USD first prize. Stay tuned!

Author Topic: FreeBasic Miner  (Read 9961 times)

niz567

  • Amoeba
  • *
  • Posts: 5
    • View Profile
    • Email
FreeBasic Miner
« on: August 24, 2011, 01:37:59 PM »
Collect all gems to win the game. But it's not so easy...

Files here   : http://games.freebasic.net/FreeBasicMiner.zip
Comments here: http://freebasic.net/forum/viewtopic.php?t=18398


Resources and source code included - please use with no limitations.
No dll's.

Game features:
Play using keyboard - mouse can be used for almost everything else;
Clean presentation and menu screen;
31 levels (yet), some of them challenging;
Some sound effects (no music);
Images in 3 layers: Background + Objects + Foreground;
Some levels in the dark (night);
Pause / give up / quit commands;
Map mode (available only in levels larger than the screen);
Demo mode (tutorial) - to see, wait a few seconds on menu screen;
You can easily create language pack (in LANG dir). Portuguese and English included for now;
Records top 10 high scores (resettable);
You can start from any mine you have reached at least once (resettable);
Objects with 16 different behaviors;
Level (mines) editor.

Editor features:
New / Open / Save commands;
Edit / Clear areas;
Grid - magenta, black, white or none
Show / Hide row+col numbers;
Use mouse for almost everything;
Undo / Redo (up to 50);
Up to 1,000 custom mines can be saved in MINAS dir (Use another directory to swap files if you need);
100 x 60 cells for each mine (plus back and foreground layers);
Show / hide layers;
You can test (try) the mine you're editing before you save it.

I hope you enjoy the game!
« Last Edit: August 24, 2011, 03:46:48 PM by niz567 »

Lachie Dazdarian

  • Double dipper
  • Administrator
  • Forum Sage
  • *****
  • Posts: 1308
    • Yahoo Instant Messenger - lachie13
    • View Profile
    • The Maker Of Stuff
    • Email
Re: FreeBasic Miner
« Reply #1 on: August 24, 2011, 01:56:12 PM »
As I said in the freebasic.net forum, great game.

BTW, I'm stuck in mine 14. Any hints?

Also, did you read my tutorial on FMOD?

Cheers!
« Last Edit: August 24, 2011, 02:41:19 PM by Lachie Dazdarian »
"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist

rdc

  • Novice
  • ***
  • Posts: 61
  • If (Rnd * 100) = 1 Then Print "You're in trouble!"
    • View Profile
    • Clark Productions
    • Email
Re: FreeBasic Miner
« Reply #2 on: August 25, 2011, 02:13:18 PM »
Great game, well done.

nkk_kan

  • Forum Howler
  • ****
  • Posts: 193
  • Let's rocK~!
    • Yahoo Instant Messenger - nkk_kan
    • View Profile
    • nkk's code cache
    • Email
Re: FreeBasic Miner
« Reply #3 on: August 28, 2011, 08:00:59 AM »
This is epic!
We have another talented gamedev here! :)

Lachie Dazdarian

  • Double dipper
  • Administrator
  • Forum Sage
  • *****
  • Posts: 1308
    • Yahoo Instant Messenger - lachie13
    • View Profile
    • The Maker Of Stuff
    • Email
Re: FreeBasic Miner
« Reply #4 on: August 29, 2011, 03:33:00 PM »
Mine 24 is destroying me! Argh!! Anyone else playing this game? I could use some help.

* puppy eyes stare *
"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist

BadMrBox

  • Forum Sage
  • *****
  • Posts: 411
    • View Profile
    • BadMrBox.com
Re: FreeBasic Miner
« Reply #5 on: September 01, 2011, 12:05:10 PM »
Havenīt played it yet but I do think I really should.

Lachie Dazdarian

  • Double dipper
  • Administrator
  • Forum Sage
  • *****
  • Posts: 1308
    • Yahoo Instant Messenger - lachie13
    • View Profile
    • The Maker Of Stuff
    • Email
Re: FreeBasic Miner
« Reply #6 on: September 01, 2011, 11:03:07 PM »
Reach mine 31. Only explored it a bit. It's a nightmare. :/
"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist

Mihail_b

  • Amoeba
  • *
  • Posts: 10
    • View Profile
    • AlphaX - my lovely team
    • Email
Re: FreeBasic Miner
« Reply #7 on: October 02, 2011, 08:41:26 AM »
 :'( how can one finish level 9 ?
anybody help ?
----
home.ro

now matter how far !

Lachie Dazdarian

  • Double dipper
  • Administrator
  • Forum Sage
  • *****
  • Posts: 1308
    • Yahoo Instant Messenger - lachie13
    • View Profile
    • The Maker Of Stuff
    • Email
Re: FreeBasic Miner
« Reply #8 on: October 02, 2011, 11:59:21 PM »
Uh, forgot about this. Let me try it when I get home today.
"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist

Lachie Dazdarian

  • Double dipper
  • Administrator
  • Forum Sage
  • *****
  • Posts: 1308
    • Yahoo Instant Messenger - lachie13
    • View Profile
    • The Maker Of Stuff
    • Email
Re: FreeBasic Miner
« Reply #9 on: October 03, 2011, 04:15:37 AM »
But first, did you try what niz said in the freebasic.net forum?

Quote
What you have to do is to use the aditional drill do destroy one of those rocks, so you have to leave from under the other, take the gem, and go back before the rock falls.

Watch the whole of demo (just wait on the main menu) to learn all the game "tricks".
"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist

Lachie Dazdarian

  • Double dipper
  • Administrator
  • Forum Sage
  • *****
  • Posts: 1308
    • Yahoo Instant Messenger - lachie13
    • View Profile
    • The Maker Of Stuff
    • Email
Re: FreeBasic Miner
« Reply #10 on: October 05, 2011, 12:15:11 PM »
Finally got around to check this. Man, I slee....I mean, have sex way too much.

Anyway, I'm pretty sure you can't finish this mine because you are not using the trick we mentioned. The part where there are two rocks and a gem behind them is giving you problems, I assume. Well, get under the second rock, and let the first fall behind you. Then quickly pick up the gem on the right and get back left. If you are fast enough the second rock will remain in its position. It's a trick you would learn if you watched the demo. The rock that is above you doesn't fall immediately so you have time to get back. The first rock that fell you destroy with the drill and continue from there.
"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist

niz567

  • Amoeba
  • *
  • Posts: 5
    • View Profile
    • Email
Re: FreeBasic Miner
« Reply #11 on: October 05, 2011, 02:29:26 PM »
That's it! The (sleeper) Lachie is correct!
And this trick will be necessary in other mines too!
« Last Edit: October 06, 2011, 05:16:13 PM by niz567 »

N3trunn3r

  • Novice
  • ***
  • Posts: 73
    • View Profile
Re: FreeBasic Miner
« Reply #12 on: October 05, 2011, 04:15:25 PM »
played until level 9. Seem to be stuck in there :o
Really super nice game! A lot of work in there! Details! Congrats! :D

And the whole code in one file! 5000 lines! Nice work! 8)