Search found 5 matches
- Thu Jul 21, 2011 2:08 am
- Forum: Games and Creations
- Topic: Klondike Solitaire
- Replies: 11
- Views: 9741
Re: Klondike Solitaire
Also, moving cards from the "finished" stack back into the play area can be a bit tricky. Occasionally you need to resort, so it's something you should probably code an exception for. Can you elaborate? It seems to work fine for me. The problem is if you click on a card on the foundation ...
- Tue Jul 05, 2011 9:00 pm
- Forum: Games and Creations
- Topic: Klondike Solitaire
- Replies: 11
- Views: 9741
Re: Klondike Solitaire
Could you track/show the number of moves? What should I consider a move? I'm thinking of omitting moving to the foundations. And could you remove the ".lua" from line 2 of main.lua? It won't run in the next version of Love if its there. Done, thanks. Also, moving cards from the "fini...
- Tue Jul 05, 2011 6:57 pm
- Forum: Games and Creations
- Topic: Klondike Solitaire
- Replies: 11
- Views: 9741
Re: Klondike Solitaire
Nice catch
And thanks for taking the time to look at the code. I didn't know about ipairs. You were right about the problem, the shuffle function was nuking one of the cards.
New version is up, same link.
And thanks for taking the time to look at the code. I didn't know about ipairs. You were right about the problem, the shuffle function was nuking one of the cards.
New version is up, same link.
- Tue Jul 05, 2011 3:17 am
- Forum: Games and Creations
- Topic: Klondike Solitaire
- Replies: 11
- Views: 9741
Klondike Solitaire
A little proud of this because although I've been programming for years, this is the first thing I've "finished". http://dl.dropbox.com/u/313489/Untitled-2011-07-03_14.22.15.png http://dl.dropbox.com/u/313489/solitaire.love Known issues: Nothing happens when you win You have to restart to ...
- Wed Mar 16, 2011 6:28 am
- Forum: Libraries and Tools
- Topic: Advanced Tiled Loader - No longer maintained
- Replies: 260
- Views: 189204
Re: Advanced Tiled Loader
Thanks a lot for this! I'm using it in a project. By far the best Tiled loader I've come across. Here's the code to get draw range to work with the hump camera (since its origin is in the center). camWorldWidth = love.graphics.getWidth() / cam.zoom camWorldHeight = love.graphics.getHeight() / cam.zo...