Jump to content
Xtreme .Net Talk

Recommended Posts

  • *Experts*
Posted

Make sure it's a zip file with no binaries (no EXE or DLL etc).

 

-Ner

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted (edited)

ok..

last time.. i hope this works :)

 

i deleted the EXE in the binary ;)

 

edit: Removed obj folder (contains EXE) and the PDB file from the bin folder (just debug information)

adamrpg.zip

Edited by Nerseus

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

  • *Experts*
Posted

It didn't work for me (problems playing the MIDI file), but after I commented it out, it worked just fine. I wouldn't worry about using DirectX at this point. The code is very small though, so converting yourself should be quite easy AND if you really want to use DirectX you'll have to get your hands wet sometime. Why not now?

 

Check out DirectX4VB.com for samples in DirectX9. Plus there are a number of attachments on this board as well.

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted

hehe.. actually that was a test program, my real program was going slow, and the way i learn is if someone fixes it for me, for instance..

 

when Mutant (http://www.directx4.net/forum) fixed my mario game to be flicker free, he did it in GDI+, after that, i learned GDI+.. so im just wondering if somebody can do this in directX?

 

btw, what problems were there in playing the MIDI, can u fix the code and post it?

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

  • *Experts*
Posted

It halts on the line:

lRet = mciSendString("open sequencer!" & MidiFile & " alias midi", "", 0, 0)

 

Maybe the file isn't found (though it's in the bin folder)...?

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
  • Leaders
Posted

I don't understand how you can just pop into a forum and say "hey, can you convert my program into directx" and expect someone to just do it.

 

I'm not trying to insult you, but it strikes me as childish of you when someone says "the midi wouldnt play" and you reply "oh, well can you fix it for me and post it?"

 

If you want a game programmed in direct-x, you really have to learn directx for yourself. You can't expect someone else to just do it for you. You can learn from tutorials, or from other people's source. I learned alot about directdraw recently (in the past week) at Directx4.net, and from the source for tetris found in this directx forum. I am already started on a scrolling Zelda-style rpg.

 

Maybe I'm wrong, but it seems to me you ought to do your dirty work for yourself instead of expecting others to (unless you pay them). It's hard to find decent documentation on managed directx but if I can do it, you can too.

[sIGPIC]e[/sIGPIC]
  • 2 weeks later...
Posted

Actually moving up to Direct X is quite a step. Adding a dubble buffer to a GDI+ code isn't changing the whole architecture of the code, wich DX would.

 

So it wouldn't help you if someone rewrote your game in DX because not a single line would be the same and you wouldn't understand it more then the tetris code or any other source you could get your hands on.

 

/Frasse

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...