| View previous topic :: View next topic |
| Author |
Message |
|
|
Posted: Jun 22, 2007 6:43 Post subject: BeGemmed (My Bejeweled clone) |
|
|
I wrote this Bejeweled clone today. It is fairly simple, but it looks nice, and could be expanded. :-)
Source included:
http://freebasic.50webs.com/begemmed.html |
| |
|
| Back to top |
|
 |
|
|
Posted: Jun 22, 2007 11:56 Post subject: |
|
|
I downloaded the ZIP rather than the EXE, and in your Begemmed.bas file, the path to your include files is "itech_mobile\...." (which is the actual directory name) but in your main.bi file, the path is "itech\...".
Simplest thing to do is to rename the directory as "itech" and just change it in the begemmed.bas file.
I've never played Bejewelled before, but it certainly looks colourful and interesting. |
| |
|
| Back to top |
|
 |
|
|
Posted: Jun 22, 2007 15:12 Post subject: |
|
|
A nicely executed mini-game. Although some sounds and a high score table wouldn't be bad. Also, you could have written some sort of doc. I had to search for rules in Wikipedia (Bejeweled article), and there I could only find a hint to it. Plus, the controls are not really intuitive.
Is this is the final version (I'm asking because of FreeBASIC Games Directory)? |
| |
|
| Back to top |
|
 |
|
|
Posted: Jun 22, 2007 16:18 Post subject: |
|
|
Edit: Bug fixed (see following post). XD
Thanks for finding that; I'll have to fix that bug. :-|
I'll add a high score feature today. And maybe I'll take some sound from Bejeweled, although the simplest method would limit my program to Windows. :-)
Last edited by KristopherWindsor on Jun 22, 2007 22:38; edited 1 time in total |
| |
|
| Back to top |
|
 |
|
|
Posted: Jun 22, 2007 19:07 Post subject: |
|
|
| Was it written in FreeBASIC? It was in the off-topic forum originally, so I assumed you made it in BlitzBASIC or something hahah. |
| |
|
| Back to top |
|
 |
|
|
Posted: Jun 22, 2007 22:11 Post subject: |
|
|
Updates:
- I fixed the filename bug. In the future, I may use __path__ for all of mu includes, to replace "itech\."
- I added a help section to the game
- I added iinput.bi and highscores.bi to my library, and added them to BeGemmed, so you can type your name when you get a high score.
- I added a timer, so you have to create another set of gems every few seconds. That sets the maximum possible points to 3000, which should take less than ten minutes per game.
I don't think I'll add sound though.
I need to update Dark Spelunker, because it has the same filename bug.
@Pritchard: The thread has been in the Projects section the whole time. Of course it is FB. |
| |
|
| Back to top |
|
 |
|
|
Posted: Jun 22, 2007 22:52 Post subject: |
|
|
Much better, although when I switch, for example, from rules to main menu, the rules screen doesn't fade out completely.
One more thing. Preset high scores wouldn't be bad. Then the users would have some scores to beat, other than beating his or her own which is always less fun. |
| |
|
| Back to top |
|
 |
|
|
Posted: Jun 22, 2007 23:09 Post subject: |
|
|
The menu function isn't supposed to erase the contents of the previous screen. I.E. When it says "Game Over," you can still see the game screen behind the menu. It doesn't look great to put the menu on top of other text, but I don't think I should add more code to the program (bloating?) to change it. I think it's better now than if I added a Cls. :-)
I could add high scores, but I don't want to spend all day to get good scores. :-P If I make up the score chart, people might think it's unfairly hard, and would either erase my high score file, or never get to have a high score.
BTW, Has anyone tried to get a good score yet? :D |
| |
|
| Back to top |
|
 |
|
|
Posted: Jun 23, 2007 19:16 Post subject: |
|
|
| The highest score I've ever gotten was 1300. |
| |
|
| Back to top |
|
 |
|
|
Posted: Jun 23, 2007 19:40 Post subject: |
|
|
| Only 780... |
| |
|
| Back to top |
|
 |
|
|
Posted: Jun 26, 2007 20:22 Post subject: |
|
|
| I got 1535 once, but I probably can't do that again without several tries. :-] |
| |
|
| Back to top |
|
 |
|