|
-
Jun 15th, 2001, 07:32 AM
#1
Thread Starter
Frenzied Member
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)..
Thanks in advance,
-
Jun 16th, 2001, 08:54 AM
#2
-
Jun 16th, 2001, 12:22 PM
#3
Good Ol' Platypus
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)
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Jun 16th, 2001, 01:13 PM
#4
Thread Starter
Frenzied Member
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.
-
Jun 16th, 2001, 01:47 PM
#5
Good Ol' Platypus
Just noticed that I deleted the local copy of my RPG tutorial, I'm going to see if I can find it....
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Jun 16th, 2001, 01:49 PM
#6
Thread Starter
Frenzied Member
=}
I'm gonna scream now ok?
-
Jun 16th, 2001, 02:18 PM
#7
Good Ol' Platypus
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...
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Jun 16th, 2001, 04:39 PM
#8
Thread Starter
Frenzied Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|