-
Engine
I was wondering if someone has a spare RPG engine layin' around?
Or atleast has some pointers how to create a base engine were a game can be build upon.
I know how to code but have no clue how to build up an engine and on what? (Modules? ActiveX DLL?, etc)..
:confused:
Thanks in advance,
-
-
To make an "engine" select New -> ActiveX DLL.
Then you have a "classmodule".
Easy Way: ;)
Delete the Classmodule, go to Add-Ins, AddIn Manager, select ClassBuilder Utility. Go back to Add-Ins, select Classbuilder. Now you can create a new class (in CB), and add all of the properties, methods, and events you wish to have.
This does all of the easy stuff for you. After this, you can add code, like some code to start DDraw/D3D in an Init method, output the FPS in the FPS property, and signal to the user that the frame has been drawn by adding code to your event, onFrameDraw, etc.
This is just a basic outline. You'll also (probably) want to add a module to your project, and put in a Sub Main(). Then go to the project properties and select Sub Main as your startup subroutine.
In sub main there should be a Dim Blah as New BlahBlah WithEvents, Blah.Init, Blah.Whatever, etc.
This is just a quick outline on how to do classmodules.
However, doing RPG classes is a tough job.
This: http://vbden.tripod.com/articles/rpg.htm will get you started (it'll be up in an hour or so)
-
Thanks,
I'm creating the RPG engine since it's a small follow up on a topic i posted a week ago, (ala Online game).
Well plans have changed and so it will be a full scale online RPG =], but I want to have a very good base to build on (ea. a decent engine capable of being used for more then 1 project)..
Btw.
something I have been thinking about, It is possible to load dll's dynamically in vB or something else, atleast what I 'm trying to point at is sorta plugin thingy..
like make a monster_goblin.pak and the server would see that (in runtime) and use it if necessary.
-
Just noticed that I deleted the local copy of my RPG tutorial, I'm going to see if I can find it....:eek:
-
=}
I'm gonna scream now ok? :D
-
I've started to rebuild it...
The last one was about 200 paragraphs long, I know it's a lot... I've started on paragraph 15 now...
-