Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Clean, Optimised DX8


Guest
 Share

Recommended Posts

![](http://i.imgur.com/xjZUJ.png)

So soon I'll be moving on from Visual Basic and I'd like to release my base DX8 source. I'm posting it here because way back when it was based off the same DirectX8 found in Crystalshire, just, y'know, fixed.

**In this pack:**

- Clean, efficient DX8 that doesn't require the use of POT textures (might not work all the time).

- Do-it-all rendering function, RenderGraphic. It supports zooming, hue shifting, transparencies, etc!

- Cleanly commented code.

- Custom BASS module created by Damian666 and edited by me.

- An unfinished example game (showing off sprites, menustates and rendering in general).

**Future**

If a large number of you want me to develop an engine using this I would be happy too. I made the Crawle engine in an older version of this source so it isn't very difficult at this point.

**Download**

http://www.freemmorpgmaker.com/files/imagehost/pics/4f9aa45c38c13479a47a9a78f4e84f22.zip
Link to comment
Share on other sites

> I broked it. ![:o](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/ohmy.png)
>
> Ocrap. I actually did.. x.x
>
> ![](http://i.imgur.com/L3dWl.png)

Hold on, I uploaded the wrong version xD.

Here it is: http://www.freemmorpgmaker.com/files/imagehost/pics/4f9aa45c38c13479a47a9a78f4e84f22.zip

Uploaded the main post.
Link to comment
Share on other sites

So this is the base CS:DE without some of those frontend features it missed in the first place, but is clean and optimised? Huh, I'd take a crack at it, would like to see some further development to a further usable state though.
Link to comment
Share on other sites

Ok Sekaru first i must say, your version is really clean ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) But i found 2 automation errors

1. DirectX is only trying to create 1 type if rendering (not like in EO 3.0 when it chooses useable one)
2. You do not fixed main error what was in CS:DE (lost focus error a.k.a CTRL-ALT-DEL issue)

So i added TryCreateDX8 function and added Handler for Device Lost. Use it or not, its your choice: http://www.mediafire.com/?d4k2raa56mts465
Link to comment
Share on other sites

> So this is the base CS:DE without some of those frontend features it missed in the first place, but is clean and optimised? Huh, I'd take a crack at it, would like to see some further development to a further usable state though.

No this is basically a base DX8 engine. It just has the DirectX bits and not the game stuff (I said in the main post if people want me to work with this as an engine for Eclipse I could). It uses the rendering from CS:DE but cleaned up and fixed.

> Ok Sekaru first i must say, your version is really clean ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) But i found 2 automation errors
>
> 1. DirectX is only trying to create 1 type if rendering (not like in EO 3.0 when it chooses useable one)
>
>
> 2. You do not fixed main error what was in CS:DE (lost focus error a.k.a CTRL-ALT-DEL issue)
>
> So i added TryCreateDX8 function and added Handler for Device Lost. Use it or not, its your choice: [http://www.mediafire…d4k2raa56mts465](http://www.mediafire.com/?d4k2raa56mts465)

This source is what I used in Crawle. I never really intended it to be an engine but its a simple fix like your error handler there. The ctrl-alt-del issue isn't something that a lot of people get and even sometimes I don't find myself getting that issue so I've never really taken the time to actually work on it.

> is that a Fixed CS:DE? LOL

It uses CS:DE's rendering as a base and improves upon it and well, yes, fixes it.
Link to comment
Share on other sites

  • 2 months later...
Hey theres just a few question

- How come the music/sound doesnt play ingame?

- How for example use the ADDTEXT thing like I wanna write chats or anything else?

- how did you made it that instead of the game being blit to picscreen the game is blit in the FORM itself

- when i read the codes of other DX8 based engine they use Fmod and yours uses BASS so can you make something that uses Fmod instead?

- what does the box(x) in the renderer is for? and how can i Make it layered(like mask,mask2,fringe)

-and if poosible do you know to fix these cuz when i use the engines with SEVERS when i open it theres always an RTE Network subsystem failed

Pleas answer then would help me alot
Link to comment
Share on other sites

You must think this is a pre-built engine. It isn't.

- You've messed with BASS somehow?

- The RenderText() method does that.

- There is not "bliting". Direct3D8 draws directly onto the form.

- Why would I do that? Fmod is massively inferior to BASS in every single way imaginable.

- Corners for rendering images. By writing the code yourself.

- There is no networking in this example and I won't help you fix your own incompetence.

–-

I'm also locking this thread. [This](http://www.touchofdeathforums.com/community/index.php?/topic/131274-base-d3d8/) is a much better base and has a lot more functionality.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...