Outpost Universe Forums
Projects & Development => Inactive Projects => GORF => Outpost: A New Beginning => Topic started by: Punboy on May 31, 2004, 10:34:05 PM
-
I think i'm going to make the system expandable by making a plugin system. There can be plugins that can expand gameplay, add units, buildings, technologies... add options (like being able to play MP3's during the game), voice chat... etc...
What do you guys think?
-
Sounds like Total Annihilation.. just not so direct.
-
What language will the plugins have to be made in? Or will they be dlls?(Then they could be made in any language, and just have an editable ini that the the game sifts through, and calls of the functions(items) in dlls(groups) listed in there?)
OT: Xfir's sig has my IP in it. :P Never seen such a big IP sig before.
-
They can be in any language that can accessed from Python. In Windows, I believe I can access any module supported by .NET with the proper package, and in Linux/MacOS X its C/C++. As well as python, of course.
The python route, IMHO, would be easiest to develop with. Especially with a well laid-out template and tutorials people can learn with.
-
You're probably right about that, for cross-platform compatability. Jamascript is the easiest language out there though....Sucks that it's 3D engine is so lacking.
Hey, I got an idea! Tell me to make a routine in Jamascript, and we can compare it to python! :)
-
Hmm, ok, write a routine in Jamascript that does.... erm...
I dunno, write something I'll redo it in python.
And this is getting *ghasp* off topic! :-p *starts new Program Lange Debate topic*
-
Ahh, I don't know what to code. :P Jamascript is best for more complex things.
myWindow = New Window(640,480);
While(1)
{
ShiftPressed = Keyboard.IsKeyDown(Keyboard.SHIFT);
If(ShiftPressed) myWindow.WriteLn("Shift is pressed");
Program.Wait(50);
}
-
import pygame, sleep
while 1:
e = pygame.pygame.event.get(KEYDOWN)
if e is pygame.constant.K_RSHIFT or pygame.constant.K_LSHIFT:
sleep(50)
-
Does that open a window?
While(1) If(Keyboard.IsKeyDown(Keyboard.SHIFT)) Program.Wait(50);
Or...
While(1) If(Keyboard.IsKeyDown(Keyboard.SHIFT)) Wait(50);
-
To open a window in mine, do:
display.set_mode((xres,yres))
where xres and yres are the dimensions you want
-
Ahh, how interesting. In Jamascript display refers to the display(monitor)
Display.SetDisplayInterface(Display.DIRECT3D);
Display.SetDisplayInterface(Display.OPENGL);
Display.SetDisplayInterface(Display.SOFTWARE);
Display.SetDisplayInterface(Display.SOFTWARE_DIRECTDRAW);
I think what makes jamascript easier to understand for newbies is the lack of any abbreviations that are so common in C++. :P
-
lol
-
Kramy: (IP) xfir's IP is my IP too :P
I think that "New Unit Plugins" are good idea... (I think you should make this game as editable as GTA)