Mopi Ranger Remake

Page 7/7
1 | 2 | 3 | 4 | 5 | 6 |

By thinlizzy

Champion (262)

thinlizzy's picture

12-08-2004, 20:42

you can joke with me all the time. i do not mind Smile

i am a man of few words. since it seems you misinterpreted me, i briefly shall explain what i'd want to say with "C# is for losers"

uh! wow! C# is the language of the moment!! but it sucks! sucks all! the PE generated demands HUGE resources and the buggy .NET framework (who will want THAT?)

a respectable remake must be made in asm or C++, using allegro or other good library

why will someone want a game remake programmed on a such environment? fine! i shall make a space invaders remake on COBOL or CA-CLIPPER. it only will serve to generate laughs Smile

By Henk

Expert (107)

Henk's picture

12-08-2004, 20:53

I know C# isnt the best language to do. But I am doing this remake so I learn Managed DirectX.

For all those who don't know:

Mopi Ranger Remake at www.jegids.nl/mopi

By Arjan

Paladin (714)

Arjan's picture

12-08-2004, 21:35

thinlizzy, try to form your own opinion about .net instead of repeating what 100.000 monkeys have said before...

Henk, I'm still getting on my "old" machine Sad (it will be replaced by a new one soon though).

I'm getting the following error:
************** Exception Text **************
Error in the application.
-2005530516 (D3DERR_INVALIDCALL)
at Microsoft.DirectX.Direct3D.Texture.CreateTextureFromBitmap(Device device, Bitmap image, Usage usage, Pool pool)
at Microsoft.DirectX.Direct3D.Texture..ctor(Device device, Bitmap image, Usage usage, Pool pool)
at Microsoft.DirectX.Direct3D.Texture.FromBitmap(Device device, Bitmap image, Usage usage, Pool pool)
at MopiRanger.sprite.load(Device device, Bitmap objS, Int32 x, Int32 y, Int32 width, Int32 height, Int32 ammount, Int32 speed)
at MopiRanger.intro.prepareSP(Device device)
at MopiRanger.mopiEngine.Frame()

Maybe you could do some exception handling to see what's the problem?

(according to msdn the error means this: Method call is invalid; for example, a method's parameter might not be a valid pointer.)

By Henk

Expert (107)

Henk's picture

12-08-2004, 22:02

Check if the DirectX stuff are activated. You can check it with DXDIAG.
In the first screen you will see the version, I have used DX9.0c things (they arent backwards compatible :S)

On the 3th option (dutch "beeldscherm") you will see a box "DirectX-Functies".
Be sure the 2nd is activated. To be sure click on the Test buttons, see what happens.

The errors you get are standard Direct3D calls, nothing special with it.
Maybe even your videocard driver cannot work properly with DirectX 9.0c functions, you could try to install a new driver.

I know, DirectX 9.0c is somewhat overkill for this remake, but I am doing this remake in DX9.0c to learn the new functions.

By Arjan

Paladin (714)

Arjan's picture

12-08-2004, 22:19

Check if the DirectX stuff are activated. You can check it with DXDIAG.
well, I have DX9.0c and Direct3D is already enabled.

In the first screen you will see the version, I have used DX9.0c things (they arent backwards compatible :S)
one would call that forwards compatible Smile DX8 can't run DX9 stuff, but DX9 can run DX8 stuff (this is called backwards compatibility).

On the 3th option (dutch "beeldscherm") you will see a box "DirectX-Functies". Be sure the 2nd is activated. To be sure click on the Test buttons, see what happens.
I tested it, but no problems occurred.

The errors you get are standard Direct3D calls, nothing special with it.
Maybe even your videocard driver cannot work properly with DirectX 9.0c functions, you could try to install a new driver.

Of course, my video card doesn't support all features offered by DX9.0c, but I doubt you'd be using pixel shaders in this demo Tongue Also, the error doesn't mean the real bug is in this part of the code, but maybe some other objects didn't get initialized correctly.

I know, DirectX 9.0c is somewhat overkill for this remake, but I am doing this remake in DX9.0c to learn the new functions.

I don't mind, as long as the result is nice Smile

By Sama

Ambassador (2061)

Sama's picture

13-08-2004, 09:10

But like I said, first I am going to make the original, then the extra's (smarter monsters new obstacles and such).

Cool! I'm really curious what the eventual game will look like!

Page 7/7
1 | 2 | 3 | 4 | 5 | 6 |