1 Attachment(s)
Make a game engine with vb.net and DX
Hello All
I am making an open source project that called Kochol Game Engine With VB.Net and Managed Directx It has both 2D and 3D support and 2D Graphics work with Direct3d so it can be mixed with 3d objects but its 3d graphics is basic not proffesional yet.
Aims:
1. Learn directx.
2. Learn game programming.
3. Find a team to make games in future.
I am reading the managed directx kit start book now.
If there is no problem i can post the ebook download link here or post by private messege to any one who like to have this book.
Classes i made for this Game engine
Kge2DControl : this is a user control for making 2D games by draging this control on the form its atomatticly set the camera and define the device you can load any kge objects in InitilizeObjects event and draw them in the DrawFrame event.
Kge2DSprite : this class is for making annimation with tiles and can rotate them and move on z axis
KgeBillboard : I made this class today and it works very good. but I have to add more future to it.
KgeCamera : this class set the camera.
KgeImages : this is a frined class and engine user cant use it this class manage the textures for all of the classes.
KgeLight : this class is for lighting but it only support the point light but make this class more better is easy.
KgeMesh : the most important class of this class but only supports the .x files with no animation acctually this is a simple x file loader.
KgeParameter :This class is for moving or scaleing and anything like this and can be attached to any other class.
KgeParticles.Rain : this is for making rain in a square.
KgeScreen : this is for drawing on the form.
KgeSprite : this class is for drawing sprites on the screen.
KgeTimer : a smooth timer.
KgeVector3 : Vector3
If any one is intrested in making this engine please send a post here and leave some feedback.
Updated with kgeparticles
Re: Make a game engine with vb.net and DX
A few ideas for yur game engine as the list you gave isn't a game engine but a 2D/3D engine.
KgeSound (Single exported sound layer)
KgeSoundPool (Sound Pool)
KgeTexture (Single exported texture)
KgeTexturePool (Texture pool)
KgePhysics (Physics engine)
KgeScript (Script engine)
KgeInput (Input handlers)
Re: Make a game engine with vb.net and DX
I know its not a complete engine but i plan to complete this engine with your help
thanks for your feedback
Re: Make a game engine with vb.net and DX
KgeTexture (Single exported texture)
KgeTexturePool (Texture pool)
KgeScript (Script engine)
what are these classes for?
I cant undrastand what they have to do?
Re: Make a game engine with vb.net and DX
kgeTexture/kgeTexturePool - maybe for loading and exporting textures (I'm not sure myself)
KgeScript - a scripting engine - this increases flexibility of your engine i.e. it allows you to do limited scripting - actually quite a lot if you use the .NET scripting capabitlities. However, I believe in this case its like your scripts in your Quake III, UT and stuff like that - to bind keys/ execute commands like ('drawfps') etc.
Re: Make a game engine with vb.net and DX
kgeTexture(Pool) is like KgeImages but more seperated as there is a thing like kgeSoundpool.. kgeTexture and kgeSound are single object sets, the Pools are containers that contain a number of those object sets bound together.
A very user-friendly way of using such a thing would be:
VB Code:
Public TexturePool as new kge.KgeTexturePool
Sub whatever
TexturePool.AddTexture(FS_Data & "\Textures\Human.tga", "TEX_HUMAN")
TexturePool.AddTexture("C:\Bla\Bla.jpg", "TEX_BLA")
end sub
Usage could be something like:
VB Code:
RenderTexture(TexturePool("TEX_HUMAN"), etc etc etc)
Re: Make a game engine with vb.net and DX
Quote:
KgeTexture (Single exported texture)
KgeTexturePool (Texture pool)
KgeScript (Script engine)
I think this classes is not useful in my engine.
I want to any .net languge programmer can work with my engine so kgescript isnt useful any more and may be if my engine become more powerful in future someone can make a editor for my engine for babies :lol:
Re: Make a game engine with vb.net and DX
I think you are underestimating the power of scripting there. Scripting is so much a part of content as a texture.
Scripting allows external game-logic changes without the need to recompile. Something that happens a lot if your engine would be used by a fairly large dev. team. Look around at games. 90% of them have some sort of scripting involved.
Re: Make a game engine with vb.net and DX
but scripting is limited.
I think the best thing about this engine is reuseable codes.
Re: Make a game engine with vb.net and DX
Content wise.. not coding the technical aspect.
Re: Make a game engine with vb.net and DX
Hello
One thing I think is usefull for my engine is an editor.
So I just start working on an editor.
soon I will add KgeInput to it.