Sonic and Sega Retro Message Board: WindowsZone - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 19 Pages +
  • ◄ First
  • 10
  • 11
  • 12
  • 13
  • 14
  • Last ►
    Locked
    Locked Forum

WindowsZone Sonic for your desktop!

#166 User is offline MainMemory 

Posted 06 April 2010 - 10:59 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3809
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
I'm getting nowhere with WPF, I have to try to reimplement everything and I can't figure out how to get the objects to draw themselves like they do currently.

#167 User is offline MainMemory 

Posted 07 April 2010 - 02:48 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3809
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
I've updated WindowsZone so that you can give it an INI file as an argument or drop it onto the EXE. I've also fixed the animation editor so that it saves frame times now. I've also added a sprite set for Amy, although she uses (Pink) Sonic's sprites for braking and pushing.

I don't think that I'll be able to get WPF figured out, but is there a way I could use Direct3D with a transparent BG or something?

#168 User is offline Conan Kudo 

Posted 08 April 2010 - 01:55 PM

  • 「真実はいつも一つ!」工藤新一
  • Posts: 477
  • Joined: 12-January 09
  • Gender:Male
  • Wiki edits:14
QUOTE (MainMemory @ Apr 7 2010, 01:48 PM)
I've updated WindowsZone so that you can give it an INI file as an argument or drop it onto the EXE. I've also fixed the animation editor so that it saves frame times now. I've also added a sprite set for Amy, although she uses (Pink) Sonic's sprites for braking and pushing.

I don't think that I'll be able to get WPF figured out, but is there a way I could use Direct3D with a transparent BG or something?


I separated out the Cairo binding source code from the rest of the Mono tree and provided an archive containing the Cairo library, the C headers and dev libs, the .NET binding library source code, and the source code of the original Cairo library.

The archive is available here.

Documentation of the Cairo binding is available here.

If you want to try Cairo to accelerate it with Winforms, this can let you try it without grabbing the whole GTK# package.

I found a blog post about using Cairo with OpenGL here. The links referring to the Tao Framework website go to a broken site though, here's a link to the SourceForge project page for the Tao Framework.
This post has been edited by King InuYasha: 08 April 2010 - 01:58 PM

#169 User is offline Wombat Wallace 

Posted 08 April 2010 - 07:27 PM

  • Someone.
  • Posts: 7
  • Joined: 06-April 10
  • Gender:Male
  • Location:New York
  • Wiki edits:1
This program is great. Fun to fool around with when you're bored. I also put together a Sonic 2 version of Sonic for it so I can use either Sonic 3 Sonic or Sonic 2 Sonic. I hope to see some cool updates to it in the future.

#170 User is offline Neo Hazard 

Posted 08 April 2010 - 08:12 PM

  • Posts: 860
  • Joined: 04-August 09
  • Gender:Male
  • Location:St. Louis, MO
  • Wiki edits:2
I think your link my be broken, or at least it won't let me download.

EDIT: Ah, mistake. This is about the best thing, incredible work!
This post has been edited by Neo Hazard: 08 April 2010 - 09:22 PM

#171 User is offline MainMemory 

Posted 08 April 2010 - 08:58 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3809
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
It works fine for me. Make sure to right-click the link and use "Save Target As" or "Save Link As" because the server reports the file as a text file for some reason.

Also, I've made an INI that allows you to play as Motobug, inspired by Polygon Jim's hack.

#172 User is offline MainMemory 

Posted 09 April 2010 - 10:17 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3809
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
Update with an entirely different collision method that checks for the intersection of the bounding rectangle rather than checking if Sonic has moved through the bounds of an object. A major benefit of this is that Sonic will be pushed by a window moving through him.
I've also introduced a vertical speed limit to prevent Sonic from simply falling through things because he's going too fast.
Also, there is now an option to stand on the bottom of the screen rather than just dying, and "Show Collision" is now "Show Debug Info", and includes Sonic's position and speed in the upper left corner along with a frame timer.
This post has been edited by MainMemory: 09 April 2010 - 10:18 PM

#173 User is offline Chaos Knux 

Posted 09 April 2010 - 10:44 PM

  • Stable avatar temporary. Randomizer site down.
  • Posts: 893
  • Joined: 13-July 08
  • Gender:Male
  • Location:Fairmont, WV
  • Wiki edits:4
Well, at least the old version could load up!

CODE
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.DirectX.DirectInput, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.DirectX.DirectInput, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   at WindowsZone.Controller.UpdateControllerData()
   at WindowsZone.Form1.Timer1_Tick(Object sender, EventArgs e) in C:\Users\Mike\Documents\Visual Studio 2008\Projects\WindowsZone\WindowsZone\Form1.vb:line 40
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
    CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WindowsZone
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/Daniel/My%20Documents/WindowsZone/WindowsZone.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.1 built by: SP
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Rat234
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/Daniel/My%20Documents/WindowsZone/Rat234.DLL
----------------------------------------
System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
ManagedWinapi
    Assembly Version: 0.3.0.0
    Win32 Version: 0.3
    CodeBase: file:///C:/Documents%20and%20Settings/Daniel/My%20Documents/WindowsZone/ManagedWinapi.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



#174 User is offline MainMemory 

Posted 09 April 2010 - 10:48 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3809
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
...You haven't updated in a while have you?

Get the DirectX runtime download from the first post.

#175 User is offline RGamer2009 

Posted 09 April 2010 - 11:14 PM

  • True Blue
  • Posts: 2524
  • Joined: 27-November 08
  • Gender:Male
  • Location:Wherever life takes me...
  • Wiki edits:3,086
Issue with the Latest build:



All characters do this on my Vista.
This post has been edited by RGamer2009: 09 April 2010 - 11:15 PM

#176 User is offline Wombat Wallace 

Posted 10 April 2010 - 09:52 AM

  • Someone.
  • Posts: 7
  • Joined: 06-April 10
  • Gender:Male
  • Location:New York
  • Wiki edits:1
QUOTE (RGamer2009 @ Apr 10 2010, 12:14 AM)
Issue with the Latest build:



All characters do this on my Vista.

Same happens to me on Windows 7, even my custom made character does it. When they push windows, they levitate a bit off the ground and fall back down when they stop.

#177 User is offline MainMemory 

Posted 10 April 2010 - 10:21 AM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3809
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
Yes, this happens for me too. I think I'll have to go back to the old method. In fact, I think I can start adding objects.

I'll get gliding/climbing and flying in eventually, I promise!

#178 User is offline Wombat Wallace 

Posted 10 April 2010 - 02:35 PM

  • Someone.
  • Posts: 7
  • Joined: 06-April 10
  • Gender:Male
  • Location:New York
  • Wiki edits:1
QUOTE (MainMemory @ Apr 10 2010, 11:21 AM)
Yes, this happens for me too. I think I'll have to go back to the old method. In fact, I think I can start adding objects.

I'll get gliding/climbing and flying in eventually, I promise!


Sounds promising, I've already started making a custom character that isn't from a Sonic game.

#179 User is offline MainMemory 

Posted 10 April 2010 - 07:29 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3809
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
Update, but this time I had to drop a feature. Sonic can no longer interact with the inside borders of windows.
But, I have added the first object, a ring. Currently 10 of them spawn at random points on startup, and another one spawns every time you collect one.
I've also added a HUD with time and ring counters, and a non-functioning score counter.

Edit: bugfix, now you can let go of the rings and they can spawn properly if you have a screen with a negative position.
This post has been edited by MainMemory: 10 April 2010 - 07:40 PM

#180 User is offline MainMemory 

Posted 11 April 2010 - 12:56 AM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3809
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
Here's another update: Debug Mode! Press 'X' on the keyboard and you'll turn into a ring. Use the direction buttons or the mouse to move and press the jump button to place a ring. A minor note about this is that the character will always use the image at "ring\spin1.png" when in debug mode, so make sure there's an image there (there should be unless you changed ring.ini).

Also, with debug info enabled, the screen you're currently in will be surrounded by an aqua rectangle.

I've also improved the sound code a bit, eliminated the pause when it loads the audio and preventing it from trying to play a sound if a sound is already playing.

  • 19 Pages +
  • ◄ First
  • 10
  • 11
  • 12
  • 13
  • 14
  • Last ►
    Locked
    Locked Forum

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users