The Sandbox Thread

4 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Valil.Chess - Avalon 3D version

Back to Forum: The Sandbox
  • User profile image
    viliescu

    This is the alpha version of a Avalon based 3D interface for a chess game. You will need Visual Studio 2005 Beta 2 and WinFX SDK Beta 1 RC. Enjoy!

  • User profile image
    priapo

    Mmm, nice board at least.

  • User profile image
    Poul​Staugaard

    I had very nearly lost my first game when the opponent conveniently threw an exception. Other than that, it's a very impressive sample.

    Anyway here the whole story:
    System.InvalidOperationException: Nullable object must have a value.
       at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
       at System.Nullable`1.get_Value()
       at Valil.Chess.XAML3D.MainWindow.ProcessStartResults(HitTestResult result) in F:\Users\Administrator\Documents\Valil.Chess.XAML3D\MainWindow.xaml.cs:line 312
       at System.Windows.Media.Visual.HitTestPoint(HitTestFilter filterHitDelegate, HitTestResultDelegate resultHitDelegate, PointHitTestParameters pointParams)
       at System.Windows.Media.Visual.HitTestPoint(HitTestFilter filterHitDelegate, HitTestResultDelegate resultHitDelegate, PointHitTestParameters pointParams)
       at System.Windows.Media.Visual.HitTest(HitTestFilter filterHitDelegate, HitTestResultDelegate resultHitDelegate, HitTestParameters hitTestParameters)
       at System.Windows.Media.VisualOperations.HitTest(Visual reference, HitTestFilter filterHitDelegate, HitTestResultDelegate resultHitDelegate, HitTestParameters hitTestParameters)
       at Valil.Chess.XAML3D.MainWindow.buttonDownHandler(Object Sender, MouseButtonEventArgs e) in F:\Users\Administrator\Documents\Valil.Chess.XAML3D\MainWindow.xaml.cs:line 236
       at System.Windows.UIElement.RaiseMouseButtonEvent(EventPrivateKey key, MouseButtonEventArgs e)
       at System.Windows.UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs e)
       at System.Windows.Controls.Control.OnMouseLeftButtonDown(MouseButtonEventArgs e)
       at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)
       at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlers(Object source, RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEventImpl(RoutedEventArgs args)
       at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
       at System.Windows.Input.InputManager.ProcessStagingArea()
       at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       at System.Windows.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       at System.Windows.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at System.Windows.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter)

  • User profile image
    viliescu

    Yes, I have fixed the bug.
    You can play online or you can download the latest version here:
    http://www.valil.com/winfx/
    It is build against WinFX Beta 1, it will not work with other older or newer versions.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.