A type of programming, often meant to be easier to learn than more "traditional" programming. Scripting is often used when performance is less important than ease of use. Examples of scripting languages are: Javascript, Lua, Perl, Python, and PHP. Scripting languages are often interpreted instead of ...

learn more… | top users | synonyms

4
votes
2answers
307 views

Storing Entity Meta-Data

The question is about how to handle data about entities, but not particularly useful to the entity itself. An example of such data may be the external script that controls the entity's behavior or the ...
3
votes
1answer
311 views

Entity position: In map or in script?

I'd like to know how others have handled the issue of storing the entity's position. (Or maybe it's not an issue and I just make it too complicated.) I'm undecided on whether to store the position of ...
12
votes
5answers
766 views

Why place entity config outside of scripts?

I've seen a lot of games that define the entity components in script files, but when they configure each entity and specify what components it has, they use some other file format (like XML). Why do ...
0
votes
1answer
363 views

How useful would it be to know a scripting language when developing an iOS game? [duplicate]

Possible Duplicate: Why do we use scripts in development? I just starting learning iOS game development. I plan to make games using the cocos2d framework. While reading game dev related ...
3
votes
3answers
552 views

3D Side-Scrolling Shooter: to use or not to use Lua scripting?

I'm programming a Side-Scroller, and I've reached the point where I need to program the enemy behaviour. I don't know what I should choose between hard-coding the enemy ships' behaviour or using a ...
1
vote
1answer
1k views

Some practical issues with component-based game object systems

I am creating my own game engine just for fun and brain development. I have chosen various free and open-source libraries to integrate and now I have come to the engine architecture. I intend to use ...
3
votes
2answers
797 views

Simple scripting language for “one-liner”-type scripts?

Can you recommend a scripting language which allows me to easily parse "one-liner" types of scripts (they're just commands, really)? For example, a C/C++ function which simply sets the value of a ...
-6
votes
2answers
480 views

I want to use Python as a scripting language for my game, can I use it purely with C (not C++)?

I want to use Python as a scripting language for my game, can I use it purely with C (not C++)? It is important to me that I not use C++, and purely use C instead.
16
votes
4answers
1k views

Game engine: a decent way, architecture-wise, to implement scripting support?

I am developing a simple game engine (in C#, if it matters), and I can't think of a decent enough way to implement scripting in terms of architecture. It's a simple turn-based strategy with custom, ...
5
votes
6answers
1k views

Is it possible to use Java as a scripting language?

Is it possible to use Java as a scripting language for a C++ engine/game? I understand that you need to make a binding to the interpreter, but I haven't seen any around.
5
votes
6answers
897 views

Is there a typical career path to learn game development “on the job”?

The extended version of the question is: what is the typical career paths that a developer without specific experience in game development should take if he/she wishes to work in the game development ...
9
votes
3answers
673 views

What do you look for in a scripting language? [closed]

I'm writing a little embedded language for another project. While game development was not its original intent, it's starting to look like a good fit, and I figure I'll develop it in that vein at some ...
4
votes
2answers
916 views

Experience embedding javascript

I'm looking into scripting languages to embed in my game. I've always assumed Lua was the best choice, but I've read some recent news about embedding V8 as was considering using it instead. My ...
1
vote
0answers
272 views

3d Max script for exporting opacity

Note sure how much this question belongs to this forum so please redirect me if necessary. My question is: Can 3d Max script be used/written to export opacity value of an mesh (material) to a file ...
2
votes
2answers
360 views

Is there a simple C++/.NET game with scripting? [closed]

I would like to play around with games that use scripting to see how much easier it makes development. What --simple-- C++ or .NET game may i download and play with using a scripting language. I dont ...
20
votes
9answers
11k views

I prefer C/C++ over Unity and other tools: is it such a big downer for a game developer? [closed]

We have a big game project using Unity at school. There are 12 of us working on it. My teacher seems to be convinced it's an important tool to teach students, since it makes students look from the ...
6
votes
2answers
464 views

How do you handle scripting in multithreaded environment

In my experience, two approaches are preferred when people want to handle scripting in multithreaded environment. Synchronize every accesses to scripting module with one coarse-grained lock. No ...
2
votes
1answer
500 views

Visual script editing software tool for creating game behavior logic

Is there a visual script editing software tool in any game engine similar to Visual3d for creating game behavior logic by non-programmers like designers?
2
votes
2answers
1k views

Game Scripting Example in any scripting language

If i have to create a Battle System for a game which is like Final Fantasy 10 Turn Based battle system or Shadow Hearts Ring Based Battle System and likewise. How should i start with scripting a ...
8
votes
1answer
470 views

Bohemia Interactive's bio2s format

Does anyone have specifications for the bio2s scripting language from Bohemia Interactive? They develop Operation Flashpoint, Armed Assault (ArmA), and Virtual Battlespace. These scripts are ...
11
votes
4answers
4k views

Game engine with good Lua entity creation/management [closed]

I'm looking for an engine that constructs it's entities using Lua or other scripting language. This is in order to find inspiration and do it in my own engine as well. I know that Cryengine does use ...
15
votes
7answers
3k views

What scripting language would you recommend for a C++ game project? [closed]

By scripting here I mean not just putting config data in a script, but scripting parts of the project like some class methods, test specific game loop, etc. This would be not just to accelerate ...
9
votes
2answers
4k views

Scripting engine for XNA

Say I'm making this big game in C# with XNA. What options do I have to include a scripting feature to my code base?
2
votes
1answer
353 views

How to include compiled GameMonkey script in final game release instead of script source?

I use GameMonkey to script the game play and use the script from my C\C++ host game. I've got it working the script with my engine. But I have a question. In these engines like Torque, Unreal, Unity, ...
12
votes
3answers
1k views

Scripting and Cinematics without Threading

I've been struggling with how to implement scripting in my game engine. I only have a few requirements: It should be intuitive, I don't want to write a custom language, parser and interpreter, and I ...
7
votes
2answers
480 views

How can I write a trigger to detect when a terran building burns to its death? (Starcraft 2)

I'm working with Starcraft 2 Map Editor, and am having a little bit of a trigger problem. It's quite easy to detect when a specific unit kills a structure (simply check if triggering unit == ...
49
votes
6answers
10k views

Why do we use scripts in development?

In my current project, Lua scripts are called by the C++ functions on the server side. After that, the scripts again call the C++ functions still in that solution. Why should we do such things and not ...
6
votes
2answers
453 views

Tools for non-programmers to add new tasks to games

Since graphic designers/end users are not programmers, what are the technique to allow them to add new tasks or change application logic in a game? what are the end user tools? I want some popular ...
7
votes
3answers
5k views

Binding C++ and V8 Javascript from Google

The examples are quite challenging to grasp if you are still getting your head around other things, so the simplest example would be great. Is there a simpler example?
3
votes
2answers
322 views

Profiling code with threads and script interpreter

Basically, how I profile a game that have multithreading and script interpreter? (Lua in my case) I have no idea of where to look for that. Also it would be nice to be able to profile code that ...
13
votes
3answers
3k views

Tips for implementing MMO quest mechanics?

What tools, patterns, or best practices would you recommend to implement the quest mechanics given below listed requirements? I am talking about software architecture (how generic should you be) and ...
4
votes
3answers
477 views

Use of classes for lua extensions

I'm asking about a very small domain. One-off extension scripts. IE, defining a new weapon for scorched earth. When providing and API for small extension I've seen two approaches. The API exposes ...
11
votes
6answers
794 views

Domain-specific languages for scripting

As most of you know, embedded interpreters for languages like Lua and Python are widely used for scripting game logic, but I haven't seen much information on people going with domain-specific ...
16
votes
3answers
7k views

How do you add a scripting language to a game?

Let's say I have a game written in C++. But I want to add some modding or scripting functionality to it. How would one go about adding a scripting functionality to your game?
40
votes
14answers
11k views

What scripting language should I choose for my game? [closed]

In what cases are what scripting languages better than others? All answers are appreciated, please provide a description, and describe in what cases the language excels in. (Remember, one language ...