NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 34 35 36 37 38 … 56 Next »
SuDoku v1.5

 
  • 0 Vote(s) - 0 Average
SuDoku v1.5
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#1
2006-05-09, 08:14 PM (This post was last modified: 2006-05-11, 03:45 AM by bgowland.)
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...

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. Smile
  • 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. Smile

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>
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...

Quote:
  • 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 Big Grin ).

  • 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.
Cheers,
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.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#2
2006-05-09, 08:36 PM
tipstir Wrote:Boy! I wish you plugin guys and gals would post a image of what you've created!
Visually it hasn't changed from the image of the last version here...http://forums.gbpvr.com/showpost.php?p=7...ostcount=6

The next version might have a different layout and some extra bits and pieces - I'll make sure I post an image next time if I do make any significant visual changes.

Cheers,
Brian
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#3
2006-05-09, 09:30 PM
This version does not return the task image to GBPVR, so the task image does not show up in the button of ShaperEdge BaseSkin.
Best Regards
MixMan
[SIZE="1"]
Antec Fusion case with Gigabyte GA-MA78GM-SH, AMD X2 4850e, 2GB RAM, AMD780G Onboard graphics. WinTV-PVR 150 MCE (With FM), Twinhan DVB-T, 750GB + 250GB HDD. Windows XP Pro SP3, MCE 2005 Remote, 29" 4:3 monitor and a 47" Philips 9603H LCD[/SIZE]
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#4
2006-05-09, 10:40 PM
MixMan Wrote:This version does not return the task image to GBPVR, so the task image does not show up in the button of ShaperEdge BaseSkin.
OK - I'm looking at this now. Thanks for the feedback.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#5
2006-05-10, 05:50 AM
I've uploaded a fixed version - it's at the same link in the first post.

The harder levels will probably still take a few seconds to generate but they should appear eventually depending on your machine speed.

Fixed a bug I came across if you use the mouse to click in the grid to position the cursor.

MixMan - the task image should work OK now.

Cheers,
Brian
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#6
2006-05-10, 09:03 AM
Yes, now the task image shows up in the buttton.
Thanks
Best Regards
MixMan
[SIZE="1"]
Antec Fusion case with Gigabyte GA-MA78GM-SH, AMD X2 4850e, 2GB RAM, AMD780G Onboard graphics. WinTV-PVR 150 MCE (With FM), Twinhan DVB-T, 750GB + 250GB HDD. Windows XP Pro SP3, MCE 2005 Remote, 29" 4:3 monitor and a 47" Philips 9603H LCD[/SIZE]
PaulH
Offline

Member

Posts: 60
Threads: 28
Joined: Nov 2005
#7
2006-05-11, 12:12 AM
I was able to download the zip, but WinZip complains it's corrupt. I was able to open it in WinRAR, but it looks like it's a zip-with-a-zip (and then it extracted).

Anyone else have trouble opening it?

Paul
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#8
2006-05-11, 12:29 AM
PaulH Wrote:I was able to download the zip, but WinZip complains it's corrupt. I was able to open it in WinRAR, but it looks like it's a zip-with-a-zip (and then it extracted).

Anyone else have trouble opening it?

Paul

I use IZArc (very nice freeware "zip" program).

With it, I had no issues. It did not appear as a multi-level zip either.
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#9
2006-05-11, 02:19 AM
PaulH Wrote:I was able to download the zip, but WinZip complains it's corrupt.
Are you using IE? I mentioned about turning off 'Use HTTP 1.1' in that case - there's something odd about IE/HTTP1.1 and Zip files on this forum.

I'll move the download to the wiki ASAP but the login details I got earlier today don't seem to be working.

Cheers,
Brian
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#10
2006-05-11, 06:22 AM
Shall I put your Sudoku plugin on the Wiki ?
Best Regards
MixMan
[SIZE="1"]
Antec Fusion case with Gigabyte GA-MA78GM-SH, AMD X2 4850e, 2GB RAM, AMD780G Onboard graphics. WinTV-PVR 150 MCE (With FM), Twinhan DVB-T, 750GB + 250GB HDD. Windows XP Pro SP3, MCE 2005 Remote, 29" 4:3 monitor and a 47" Philips 9603H LCD[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  SuDoku users. Which version of GB-PVR? bgowland 2 1,796 2006-07-19, 05:27 PM
Last Post: bgowland
  SuDoku plugin v1.3 bgowland 11 4,318 2005-12-14, 12:32 AM
Last Post: bgowland
  SuDoku Plugin v1 (Beta) bgowland 20 6,134 2005-12-10, 12:58 AM
Last Post: bgowland

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode