Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (604)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (654)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Scripting languages  (Read 6513 times)
0 Members and 1 Guest are viewing this topic.
Offline princec

« JGO Spiffy Duke »

Medals: 556
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #30 - Posted 2004-03-23 06:48:49 »

I think you're dead right, that's all setting property stuff. And the rest of so-called scripting seems to be about events and event listeners.

Cas Smiley

Offline pythonlover

Junior Newbie

Java games rock!

« Reply #31 - Posted 2004-03-24 16:56:20 »


For a good description of the different between scripting and application languages.

Offline pedro

Junior Devvie

Java games rock!

« Reply #32 - Posted 2004-03-30 20:10:46 »

Here is some very nice stuff:

I'm developing a sort of 3d scene editor, and scripting is the way I use for the user to control objects in the scene. Probably other solutions would be better, such as some sort of visual input to signal actions. The issue is that scripting still has the disadvantage of being a programming language, while it would be ideal, from an artists or layman point of view,to have the user using natural language to achieve what he wants -- I'll have to finish this project for uni, so I guess no time for complex AI parsers Tongue)

It seems that every one is going crazy about XML at the moment, and do people think it has any use in the game industry (load properties, custom characters, scene, opengl commands, etc..)? Since people are talking about achieving cross-platform solutions for game development, is worth considering XML?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

« JGO Spiffy Duke »

Medals: 556
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #33 - Posted 2004-03-31 07:32:54 »

I use XML for configuration. Better than INI files.

Cas Smiley

Offline Sanxion

Junior Devvie

Java games rock!

« Reply #34 - Posted 2004-06-04 05:39:23 »

Exactly - you could type the equation in wrongly such that it was a syntax error. A scripting language won't detect it until runtime. Perhaps it only gets run 2/3rds of the way through the game in an obscure circumstance. This is why we developed compilers!

I still don't get it. Keep talking!

Cas Smiley

Scripting languages are excellent when you want to open up bits and pieces of your game to content developers. This allows them to script NPCs etc. It's about making your game accessible to people that not necessarily are hardcore programmers. Hence I've chosen Rhino as javascript is a common fairly easy to learn language.

I get the impression that some of you work on your projects solo. In that case I agree. Scripting languages are not optimal until you invite creative ppl to extend your game.
Offline abies

Senior Devvie

« Reply #35 - Posted 2004-06-04 07:11:43 »


I get the impression that some of you work on your projects solo. In that case I agree. Scripting languages are not optimal until you invite creative ppl to extend your game.

And what in case of improbable accident, when programmer from this board is creative ?  Grin

Seriously, there are some other reasons for using scripting languages. Ability to reload them in middle of running game, without having to rely on hotspot class replace, which often go awry. Ability to write macros/shortcuts, so you can use 1/5th of the code to express same thing for given domain of use. Powerful, in-game console for free.

Artur Biesiadowski
Offline Jacko

Junior Devvie

« Reply #36 - Posted 2004-06-08 20:49:46 »

Has anyone looked into SISC ( any other scheme or lisp impls for scripting? As it is so easy to dynamically compile and load Java anyway, I reckon this could be a good bet for a scripting language, as Scheme gives you a completely different approach.
Offline blahblahblahh

JGO Coder

Medals: 1

« Reply #37 - Posted 2004-06-19 09:09:58 »

I just spent the last 24 hours converting the GrexEngineShell (gesh) from beanshell to compiled java.

The good news is that ... it only took 24 hours (conversion isn't complete, but we've got the virual FS navigation up and running again, which is the most important part). Also, because we're no longer constrained to beanshell's "open a telnet port for every hacker in the world" design I've also integrated it into the GrexEngine as a full service - which means I only need to edit an XML file or two and I can make it HTTP, HTTPS, Telnet, or anything I fancy (just by changing a single word in most cases) - and get all the benefits of a secure login system wherever the protocol offers it. The 24 hours included the time to do this integration (and I feel quite smug that I could get a new grexengine service up and running so quickly, even though we'd not had any command-line services before Smiley) - and included a good night's sleep, in case you were wondering! Wink

The bad news is that it was necessary at all. The beanshell source is just too damn hard to work with (at the moment...we've posted to the beanshell SF project with our problems, and made some suggestions - there are even some people who might step forward to help clean it up) and it was costing us more time in fixing beanshell's problems than we were saving in being able to use a scripting language Sad. That's a pretty serious problem (hence voicing our concerns on SF as a sort of "test case").

Also, there is of course the fact that it's incredibly slow for any loop iteration at the moment, which almost killed Survivor dead in the water Sad. I have strong hopes that the next version of beanshell may be literally 10-100 times faster, if (as rumoured) they move to more intense use of bytecode generation / mangling. But for now, it's not usable unless you can avoid loops!

malloc will be first against the wall when the revolution comes...
Pages: 1 [2]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

SHC (28 views)
2015-08-01 03:58:20

Jesse (20 views)
2015-07-29 04:35:27

Riven (40 views)
2015-07-27 16:38:00

Riven (22 views)
2015-07-27 15:35:20

Riven (25 views)
2015-07-27 12:26:13

Riven (15 views)
2015-07-27 12:23:39

BurntPizza (36 views)
2015-07-25 00:14:37

BurntPizza (46 views)
2015-07-24 22:06:39

BurntPizza (31 views)
2015-07-24 06:06:53

NoxInc (37 views)
2015-07-22 22:16:53
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!