Author Topic: A sample project  (Read 13571 times)

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: A sample project
« Reply #15 on: 2007-04-01, 08:34:33 AM »
Strange, I wonder why that zip file is so particular.  But 7-zip really is a good program.  I think everyone should use it because it's open source and free and also supports better compressions (7z).

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: A sample project
« Reply #16 on: 2007-04-01, 10:39:01 AM »
I used 7z to compress it, but I compressed it (or thought I did) using a regular ZIP compression.
Edward Dassmesser

eric22222

  • Fanatic
  • ***
  • Posts: 177
    • View Profile
    • Eric Online
    • Email
Re: A sample project
« Reply #17 on: 2007-04-01, 10:49:23 AM »
Not sure if this will bring me any closer to getting it to work, but here's what I'm getting when I go to Run Project (and also run with debug):

Code: [Select]
warning CS2002: Source file 'C:\Program Files\GameDev\project\project\Project.cs' specified multiple times
project\TestMap_Map.cs(123,14) : error CS1501: No overload for method 'ByteLayer' takes '11' arguments
project\TestMap_Map.cs(288,14) : error CS1501: No overload for method 'ByteLayer' takes '11' arguments
project\InventoryMap_Map.cs(139,14) : error CS1501: No overload for method 'ByteLayer' takes '11' arguments
project\fmodbase.cs(81,10) : warning CS0168: The variable 'ex' is declared but never used

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
Re: A sample project
« Reply #18 on: 2007-04-01, 06:08:53 PM »
Do you have alpha 3? That could fix it.

eric22222

  • Fanatic
  • ***
  • Posts: 177
    • View Profile
    • Eric Online
    • Email
Re: A sample project
« Reply #19 on: 2007-04-01, 09:12:59 PM »
O_O
It works! GameDev2 is alive! It's ALIVE!!!

Guess I've been out of the loop for a while, not keeping up with all these updates. Nonetheless, time to see what this baby can do! And then... get back to work on the game I've been working on for the past 9 months...
^_^;

Don't worry, we're still working on it!

Mic

  • Visitor
  • *
  • Posts: 2
    • View Profile
    • Email
Re: A sample project
« Reply #20 on: 2007-05-24, 12:19:40 PM »
Do I need to download all Alpha builds and install in order? I only have Alpha4 and here is the errror I am getting:
Code: [Select]
project\TestMap_Map.cs(116,17) : error CS0534: 'TestMap_Map.BackgroundLayer_Lyr' does not implement inherited abstract member 'LayerBase.InjectSprites()'
project\TestMap_Map.cs(187,17) : error CS0534: 'TestMap_Map.Foreground_Layer_Lyr' does not implement inherited abstract member 'LayerBase.InjectSprites()'
project\InventoryMap_Map.cs(100,17) : error CS0534: 'InventoryMap_Map.InventoryLayer_Lyr' does not implement inherited abstract member 'LayerBase.InjectSprites()'
project\Sprites\Beam_Handler.cs(62,28) : error CS0115: 'Sprites.Beam_Handler.RemoveFromCategories()': no suitable method found to override
project\Sprites\Blob.cs(62,28) : error CS0115: 'Sprites.Blob.RemoveFromCategories()': no suitable method found to override
project\Sprites\Bomb.cs(58,28) : error CS0115: 'Sprites.Bomb.RemoveFromCategories()': no suitable method found to override
project\Sprites\Explosion.cs(70,28) : error CS0115: 'Sprites.Explosion.RemoveFromCategories()': no suitable method found to override
project\Sprites\Eyeball.cs(59,28) : error CS0115: 'Sprites.Eyeball.RemoveFromCategories()': no suitable method found to override
project\Sprites\Gunshot.cs(62,28) : error CS0115: 'Sprites.Gunshot.RemoveFromCategories()': no suitable method found to override
project\Sprites\MetalMan.cs(98,28) : error CS0115: 'Sprites.MetalMan.RemoveFromCategories()': no suitable method found to override
project\Sprites\Plasma_Ball.cs(66,28) : error CS0115: 'Sprites.Plasma_Ball.RemoveFromCategories()': no suitable method found to override
project\Sprites\Platform.cs(70,28) : error CS0115: 'Sprites.Platform.RemoveFromCategories()': no suitable method found to override
project\Sprites\Speed_Demon.cs(58,28) : error CS0115: 'Sprites.Speed_Demon.RemoveFromCategories()': no suitable method found to override

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: A sample project
« Reply #21 on: 2007-05-24, 05:42:15 PM »
No, they're not updates, they are full builds in themselves.  I'm not sure what version the project here requires.  I'm pretty sure the latest version of the project will run on the latest alpha.  Here's the link:

http://www.findmyed.com/files/TVSGDK2.zip
Edward Dassmesser

egofree

  • Visitor
  • *
  • Posts: 2
    • View Profile
Re: A sample project
« Reply #22 on: 2007-07-29, 05:37:45 AM »
No, they're not updates, they are full builds in themselves.  I'm not sure what version the project here requires.  I'm pretty sure the latest version of the project will run on the latest alpha.  Here's the link:

http://www.findmyed.com/files/TVSGDK2.zip

I have a 'file not found' error. Can you give again a new link? Your project seems to be very interesting. The first version of the project doesn't seem to work with the current alpha version.
If durnud is not reading the forum, can someone else upload the project and give a new link?. Thanks.

SmartBoy16

  • Contributor
  • Fanatic
  • **
  • Posts: 587
  • Looking for inspiration.....
    • View Profile
    • Email
Re: A sample project
« Reply #23 on: 2007-07-30, 01:45:44 PM »
From what i'm hearing it's sound great. only problem is though is my computer is outdated and my graphics dirver doesn't support SGDK2. so any games that are from there won't work on my computer. :'(
Looking to the skies.....

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: A sample project
« Reply #24 on: 2007-07-31, 05:32:07 AM »
From what i'm hearing it's sound great. only problem is though is my computer is outdated and my graphics dirver doesn't support SGDK2. so any games that are from there won't work on my computer. :'(

What does the actual error message say?

SmartBoy16

  • Contributor
  • Fanatic
  • **
  • Posts: 587
  • Looking for inspiration.....
    • View Profile
    • Email
Re: A sample project
« Reply #25 on: 2007-07-31, 12:07:25 PM »
I get alot when i use the program. (attatchments below)

The first one comes up when i open SGDK2, the second one appears if i don't click anything.
if i click continue on the first one it opens normally. the third one appears when i try to use the map editor and the last one appears when i run a program made using SGDK2.

the same message also appears:

Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.EntryPointNotFoundException: Unable to find an entry point named UpdateLayeredWindow in DLL user32.dll.
   at SGDK2.frmSplashForm.UpdateLayeredWindow(IntPtr hwnd, IntPtr hdcDst, Point& ptTopLeft, Size& pSize, IntPtr hdcSrc, Point& ptSrcRef, Int32 crKey, BLENDFUNCTION& pblend, Int32 dwFlags)
   at SGDK2.frmSplashForm.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/win98/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
SGDK2IDE
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0
    CodeBase: file:///C:/PROGRAM%20FILES/SGDK2/SGDK2IDE.EXE
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/win98/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/win98/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/win98/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.


Looking to the skies.....

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: A sample project
« Reply #26 on: 2007-07-31, 12:31:42 PM »
It looks like you're using Windows Vista there.  I don't know if that makes any difference.  Also, what version of DirectX do you have installed?  To find out, Press the windows key+R, type dxdiag in the box, and press enter (I hope this works in Vista).  Near the bottom of the dialog box, it says (or should say): "DirectX Version:" followed by the version you have installed.
Edward Dassmesser

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: A sample project
« Reply #27 on: 2007-07-31, 05:01:39 PM »
SGDK2 has been tested with Windows XP and DirectX 9, but not with Vista nor DirectX 10, I think.

Jam0864

  • Contributor
  • Fanatic
  • **
  • Posts: 744
    • MSN Messenger - marmalade0864@hotmail.com
    • View Profile
    • Jam0864's Content Dump
    • Email
Re: A sample project
« Reply #28 on: 2007-08-01, 02:23:52 AM »
it works for me with Direct x10 so i dunno if that's considered tested, as its only 1 person, but it works for me.

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: A sample project
« Reply #29 on: 2007-08-01, 06:10:05 AM »
And correct me if I'm wrong, but the fact that you have DirectX 10 also means you have Vista, right?