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

2
votes
4answers
633 views

What is a good “easily” moddable and scriptable 3D game? [closed]

I've made a fair number of 2D games (and actually completed/released a few of them). I'm hesitant to move into the 3D realm, because of the order of magnitude (everything takes ~10x more work). To ...
9
votes
2answers
3k views

What are the pros and cons of Lua vs. Python as a scripting language for XNA/C# platform?

I am thinking about giving a go to one of my ancient ideas for a game. The core point of this game would be the possible level of functional customization of the game environment and objects (such as ...
10
votes
3answers
5k views

Exporting Blender bones

I wrote an exporter for blender models that works great for meshes. I'm attempting to extend that to bones defined in blender. However I haven't found good information for exporting bone data. How can ...
2
votes
2answers
346 views

How to make and render a simple game just with 3d max?

I want to make a simple EXE file, where there is one object in the scene and the user can rotate that object by using arrow keys (or mouse). Is there any way in which I don't have to use a game engine ...
2
votes
4answers
2k views

Unity: Assigning a key to perform an action in the inspector

I am trying to write a simple piece of code in JavaScript where a button toggles the activation of a shield, by dragging a prefab with Resources.load("ActivateShieldPreFab") and destroying it again ...
2
votes
1answer
929 views

Changing properties for multiple objects in unity 3d free?

So my team and I need to assign values to specific values in the inspector to large numbers of objects. For example, we have a script that's assigned to all the walls, and all the floors. We want to ...
2
votes
2answers
1k views

Game State Management using Lua

I want to be able to (only) define game states using Lua script, but I'm not sure how I should do it. Here's what I have in mind currently: For each state, I will create a .lua file that contains a ...
10
votes
3answers
362 views

Should scripts interact with an abstraction of the engine?

I'm using Java and Jython, and after some research I discovered giving scripts direct access to the engine interface could be a mistake, as it would tightly couple the two. It looks like most ...
13
votes
6answers
1k views

When would I use “scripts” or “scripting” in a game, as opposed to the core language?

The terms scripts and scripting appear to be used interchangeably on the Game Development Stack Exchange, but other than reading questions about a scripting language choice, I don't understand the ...
4
votes
2answers
315 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
316 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
794 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
367 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
557 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
825 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
503 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.
17
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
2k 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
950 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
678 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
942 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
282 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
363 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 ...
21
votes
9answers
13k 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
469 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
520 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
2k 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
484 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
6answers
4k 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
396 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
489 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 == ...
51
votes
6answers
11k 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
458 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
326 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
485 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
836 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
13k 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 ...