If you just want to download then go to the attachment at the end of the post. If you want to know the details, read on.
Not actually a lot of changes but I've tidied up a few loose ends - so here goes...
To use the grid background image, you need the following composite image section in the skin.xml...The filename can be anything you like and the path is relative to the skin folder. You also need to set backgroundImageEnabled="true" in the "SuDokuGrid" SpecialElement section.
To remind you of the controls...
Brian
EDIT: Ooops, meant to say...copy the DLL to the plugins folder and the other two files to a folder called SuDoku in your skin folder to use this.
PS If you use IE then turn off 'Use HTTP 1.1' in the Internet Options menu if you have trouble downloading.
Not actually a lot of changes but I've tidied up a few loose ends - so here goes...
Quote:
- Guaranteed single solution grids. It really bugged me that sometimes (often actually) you would hit an either/or end-game.
- Up to 6 'pencilled' numbers can be added to a single cell.
- Changed the timer to be a system timer (more accurate).
- Changed some of the render (drawing) logic to try to prevent needlessly redrawing parts of the screen which haven't changed.
- Changed the code to return a valid Task Image. This must be located in the skin folder and should be called task.png. I'd be grateful to know if this works properly - I think I got the code right but haven't been able to test it. I've included a default task image - thanks Tipstir.
- Added cursorColour attribute to the SpecialElement "SuDokuGrid" in skin.xml.
- Added the ability to have a background image for the playing grid instead of a 'block' fill colour. This is experimental - I wanted to see if a textured grid background would work. A dig. photo of the marble chopping board in my kitchen worked quite nicely - the corkboard in my office didn't look so good.
To use the grid background image, you need the following composite image section in the skin.xml...
Code:
<CompositeImage name="GridBackground" size="360,360">
<DrawImage filename=".\gridbackground.jpg" loc="0,0" size="360,360"/>
</CompositeImage>
To remind you of the controls...
Quote:Cheers,
- To set a difficulty level before you start, use the up/down arrows to step to the <-Level-> button then use left/right to step through the levels. Levels with (S) after them have a starting grid with rotational symmetry.
- To start or continue a game use the Start/Cont button (you probably guessed that ).
- Use Pause on the remote or Ctrl-Q on the keyboard to pause the game.
- Use the arrow keys to move around the grid when playing. Hit a number to enter it - use 0 to clear a square.
- The Blue button on the remote or Ctrl-B on the keyboard toggles 'pencil mode' on/off. Enter up to 6 pencilled numbers to help you solve the grid.
- To temporarily save a game to go do something in another plugin, use the Back/Exit button on the remote (Esc on keyboard) then the Menu button (Home on the keyboard) to leave the plugin. When you return your game should still be there. If you exit the plugin using Back/Exit (Esc), it will wipe your current game. There is no permanent save option (i.e., save to disk). I may add this in the future.
Brian
EDIT: Ooops, meant to say...copy the DLL to the plugins folder and the other two files to a folder called SuDoku in your skin folder to use this.
PS If you use IE then turn off 'Use HTTP 1.1' in the Internet Options menu if you have trouble downloading.