Minesweeper beta version done. Made in FlashDevelop using Flex and ActionScript 3.
I wanted to make more versions with different sizes of game table, but for now it's only 7x7 with 6 mines. I might add that later, it's not written bad so it shouldn't be that hard.
Controls:
Left click - reveal piece
CTRL + Left click - flag piece
Edit: Source files can be found Here!
hello, could you please post the sourcecode for others to see?
ReplyDeletethanks! Marton
Would you be nice enough to tell me how to migrate you code to an fla file (Flash CS4).
ReplyDeleteThank you
Import .swf file as a new object? :)
ReplyDeleteHello again,
ReplyDeletethanks for the reply. What I wanted to say in my previous post was that I'm using the Flash IDE not Flex.
You are using the Canvas class (mx.containers.Canvas) which I don't see in the Flash IDE. My question is how would I ago about that since in your draw_layout() function you have a parameter sheet of the type Canvas.
Sorry I'm a noob
Thanks again
Alain
Hi.
ReplyDeleteOk I got it now. I didn't realize that Flex problem.
Well either you'd have to rewrite quite a part of the code (instead of flex Canvas class you can use let's say Sprite class)
or find a way how to use flex components under flash IDE (I don't know if that's possible)
Hope that helps you a little.
Hi Simon,
ReplyDeleteI guess my best bet would be to use the Sprite class instead of Canvas.
Thank you !