Tagged Questions
The scripting tag has no wiki summary.
0
votes
1answer
96 views
What is a good “easily” moddable and scriptable 3D game?
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 ...
6
votes
1answer
164 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 ...
0
votes
0answers
8 views
How to bind a template method with tolua [migrated]
I need to bind a simple template method to LUA, something like:
void addComponent<T>(IComponent*);
I'm using tolua to do the bindings but it doesn't support class/method templates (tolua++ ...
0
votes
0answers
30 views
What's the most sensible way to implement lambdas in scripting language? [migrated]
I have this modified code example I took from the wikipedia article on anonymous functions.
comp(threshold)
{
return lambda(x)
{
return x < threshold;
};
}
main()
{
a = ...
3
votes
3answers
181 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 ...
1
vote
2answers
95 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 ...
1
vote
3answers
166 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
169 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
327 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
221 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 ...
8
votes
6answers
513 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
157 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
113 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 ...
10
votes
5answers
322 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
134 views
How useful would it be to know a scripting language when developing an iOS game? [closed]
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 ...