Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Minesweeper clone - demo added
#41
Quote:Okay here is a sampler/demo.

http://www.phanta.co.nz/downloads/Metalsweeperb.zip

Things I still have to do

New levels
Mine duds
Help
Gain life
Highscore/saving.

extras

plus anything you recommend.

Please keep in miond I'm just a begginer at this really.
On the original minesweeper you can't hit a mine on your first turn. It gives you a chance.
Also if the source in the zip is the same as the compiled code, you should remove the sprite loading from the buttonpress sub you only need to load the sprite once to use it. And to use the sprites in subs you should change the
REDIM set1data (1 TO 1)
REDIM set1index (1 TO 1)
statements to
REDIM SHARED set1data (1 TO 1)
REDIM SHARED set1index (1 TO 1)

HTH Smile
url=http://www.spreadfirefox.com/?q=affiliates&id=60131&t=79][Image: safer.gif][/url]
END OF LINE.
Reply
#42
Quote:
broan496 Wrote:Okay here is a sampler/demo.

http://www.phanta.co.nz/downloads/Metalsweeperb.zip

Things I still have to do

New levels
Mine duds
Help
Gain life
Highscore/saving.

extras

plus anything you recommend.

Please keep in miond I'm just a begginer at this really.
On the original minesweeper you can't hit a mine on your first turn. It gives you a chance.
Also if the source in the zip is the same as the compiled code, you should remove the sprite loading from the buttonpress sub you only need to load the sprite once to use it. And to use the sprites in subs you should change the
REDIM set1data (1 TO 1)
REDIM set1index (1 TO 1)
statements to
REDIM SHARED set1data (1 TO 1)
REDIM SHARED set1index (1 TO 1)

HTH Smile

Thanks for the code hint.

I don't really think that the mine finding on your first go, really matters though, because in the original minesweeper you don't get three lives.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)