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 ...
1
vote
2answers
100 views
What ways are there for making vector types available in scripting?
I use Google V8 engine to embed Javascript into my game for scripting. As interface to my native code, I already registered some C++ functions to the scripting context.
In the native code, I make ...
1
vote
1answer
44 views
Unity third person controller and hills
So i've been building a game and using the out of the box unity thrid person controller demo stuff.
I found that even the tiniest of slopes seems to stop the "dude" dead in his tracks.
Is there an ...
2
votes
1answer
56 views
Abstract Java game objects for Jython
I want to create an abstraction layer between my Jython Script objects and my Game Objects. I am not making the all of the engine in Jython. Most of my game logic is in Java. I just want to expose ...
2
votes
1answer
60 views
How far should I go in securing Groovy mod scripts?
I am developing a game in java and plan to embed the Groovy script engine to allow for more robust modding options. This comes at a price, of course. Groovy can access anything java can by default, ...
4
votes
2answers
224 views
How to keep Lua bindings from cluttering up C++ code? [closed]
I'm writing a game engine that uses C++ and Lua (and Luabind).
Currently, I'm writing all the bindings inside the constructor of the class being binded. I really don't like this because it's ...
1
vote
1answer
76 views
Scripting a sophisticated RTS AI with Lua
I'm planning to develop a somewhat sophisticated RTS AI (eg see BWAPI). have experience programming, but none in game development, so it seems easiest to start by scripting the AI of an existing game ...
2
votes
1answer
112 views
How would one go about integrated python into a c++ written game for the use of user-made scripts
I'm quite new to game development (not the site) and I'm currently just trying to educate myself about some certain things before I really begin working and a game.
anyway, I'd like to know what ...
1
vote
1answer
115 views
how to link a c++ object to a local variable in Lua
I'm completing my scripting interface with Lua, but recently I've stuck at some point. I have several functions for my Entitiy events like Update(). I have a function called create_entitiy() which ...
0
votes
1answer
96 views
Sub-systems in game engines
So here's the problem- I'm writing my own engine library, and it works fine with stuff like menus and the actual game screen. The thing is, I can't really figure out how to integrate something like an ...
15
votes
6answers
1k views
Is implementing your own scripting language viable?
I am coding a beat 'em up game in C++ and the time has come to implement scripting for events, triggers, cutscenes etc.
I have read around on the internet and gotten a fair bit of information. My ...
2
votes
1answer
87 views
How to handle scripted events in a 2d java game?
I'm in the planning phases of a 2D java game. The game is a tile-based platformer with some action-y parts to it, like a Metroidvania formula game.
The static portion of each stage is expressed as an ...
2
votes
1answer
89 views
Implementing a wait function in a game script
I have been implementing behavior for enemies in my game and so far I have been doing it sort of like below:
public void update()
{
if (frame > 60 && frame % 30 == 0)
{
...
0
votes
1answer
75 views
Detecting if “Wall” To The Left or Right Of Player Unity3D
I am working on a 3D Platformer in Unity3D and I need to prevent the player from going through walls. The movement for my player works like this:
(A bird-eye-view representation)The areas the ...
2
votes
1answer
149 views
Game Development AI, NPC & Entities Definition using Scripting Languages
i am developing a Multiplayer(actually MMORPG) architecture for learning purpose.
I do have some game developement background, but all my engines were very rigid and completly developed for the game ...
2
votes
0answers
74 views
What to pass to scripting
I am using Java and libgdx to create a game and have decided to go a data driven approaching with Jython for this refactoring (just picked up Jython, have used Java for a while). The game is a ...
1
vote
0answers
150 views
How do I make someone walk in Skyrim?
I'm coding a mod for Skyrim with Papyrus and the Creation Kit. I can't seem to get an Actor to move from point A to point B. I know there's a function to teleport an actor, but how can I make them ...
3
votes
2answers
193 views
Playing different particle effects in Unity on the same ParticleSystem
The question really sums it up: What is the best way to use one particle system for playing different particle effects?
The scenario: GameObject is picked up and it starts playing a simple indicator ...
2
votes
3answers
435 views
InputManager in Unity
I´m having a rough time trying to figure out a proper way of dealing with key mapping and key bindings in unity.
The built-in unity input manager is useless to me since it doesnt support key mapping ...
4
votes
2answers
185 views
generating animations in runtime
i am creating my 3d game engine using Opengl.
this question might sound stupid to you but i am still in the process of learning, i have a 3d animated girl that slaps guys of different talls on the ...
1
vote
0answers
59 views
Batch mesh simplification
I need a script for simplifying meshes, to run on a server in headless (no GUI) mode. Are there open source (or at least gratis) tools out there I could use for this? Or, how would I script Blender to ...
3
votes
2answers
711 views
How does Unity use C# as a scripting language?
To my knowledge, thus far, I have thought that C# is and has always been a compiled language. I have recently started studying Unity3d and noticed that they give C# as an option for scripting and ...
0
votes
1answer
68 views
How to change Vectors due to change in it's dependent Base Vector?
PLOT :
I have been developing a game where the player falls down on Y axis and the camera is a Top-Down view camera. The camera, player (main character in the game) movements etc. have all been ...
2
votes
0answers
73 views
How do I change the window position in Unrealscript?
So when I start my game it starts out in the middle of my screen at 1024x768 resolution, but then when i change the resolution via a consolecommand("SETRES ..."); it resets the window position to the ...
3
votes
2answers
346 views
Does it make sense to use Lua scripting in a game developed in Python?
Well for C++ written games using Lua scripts for easy changing ai, quets etc is very reasonable and it's common. However now I'm going to write a game in pure python and I don't know if I should use ...
2
votes
2answers
133 views
How might I script the creation of CLR objects?
I am looking for a method to script the creation of entities (arrays of components) for delivery through my entity factory, i.e scripted creation of .net objects.
I have looked into Lua but it seems ...
1
vote
5answers
271 views
Are any scripting languages designed to be reloaded at runtime?
I'm currently working on my first game engine. So far, I have a cross-platform rendering framework and support for numerous file types, but game development is still a hard slog when I'm having to ...
2
votes
2answers
1k views
How do I create an actor class in UDK that will spawn a specific particle system?
I'm trying to write a new class that I can drag from actor classes window into the scene and it will spawn a specific particle effect. Its going to be a 'prop' that later will also contain a static ...
1
vote
2answers
177 views
Why released games usually contain their scripts sources?
AFAIK people like scripting because it's easier, and it makes development cycle faster. But what about when games are shipped. No one expects shipped binaries to be changed, unless there is an update ...
0
votes
1answer
237 views
A good approach on working on player controller for movable platforms?
I have got my player controlling working out decent enough, except with mediocre animation controller for the player, but oh well. All I have done so far is basic input: move, run, jump, multi-jump. ...
3
votes
0answers
115 views
Is there a logic game engine to be used in OS game?
Ludocore is a paper where a research on a logic game engine is presented.
For game I cooperate on -- Opendungeons -- it would seem fine to have separate abstract layer of code which would deal only ...
0
votes
0answers
68 views
How to dump the dom in Qt Script?
Good afternoon,
I’ve connected the Qt (4.8) script engine up within my application.
I’m still learning how to make my application accessible from scripts.
I’d like to debug it by enumerating ...
2
votes
1answer
144 views
How can I instantiate my variables in Boo?
I have a Player Attributes class:
import UnityEngine
class Stat ():
public current as int
public max as int
class PlayerAttributes ( MonoBehaviour ):
public Name as ...
0
votes
1answer
20 views
Torque2D default t2dTileMap object
When I start a blank project I have noticed that I get one t2dSceneGraph and one t2dTileMap (under the project tab). I selected the t2dTileMap and gave it a name 'tilemap'.
In my game.cs function ...
0
votes
1answer
44 views
Torque2D createTileLayer
The script reference "manual" is not much of a help. When I look up createTileLayer(tileCountX/tileCountY/tileSizeX/tileSizeY) it doesn't say more than it creates a new TileLayer.
But, in what unit ...
0
votes
3answers
184 views
c# scripting execution with xna (actions take more than 1 frame)
I'm trying to figure out how to implement c# scripting into my game (XNA with C#). I will be using C# as the scripting language.
My question is, how to call functions that take more than 1 frame to ...
2
votes
1answer
645 views
Scripting for a C#, multiplayer game
I have a multiplayer game written in C# and we've recently been creating a lot of content but have been looking for a way to give our entities customization logic that the designers can hook into. I ...
-1
votes
2answers
146 views
Markup format or script for data files? [duplicate]
Possible Duplicate:
How to choose how to store data?
The game I'm designing will be mainly written in a high level scripting language (leaning towards either Lua or Squirrel) with a C++ ...
0
votes
1answer
336 views
Simpler alternative to AngelScript
I want to give players the ability to create and share bullet patterns for a shoot'em up.
The pattern scripts should have all the common programming stuff like loops, if/else, variables, and so on.
...
2
votes
2answers
233 views
Importance of scripting engine at Cocos2d Game Engine
Each Game Engine is different and solves different problems in different ways, so the engine design does vary greatly from engine to engine (even though a lot of principles are shared from engine to ...
2
votes
1answer
90 views
Torque2D, Class vs Datablock
I'm scripting my first game with Torque2D and have not fully understood the difference between "Class" and Datablock.
To me it seems like Datablock is similar to a struct in C/C++ or a Record in ...
0
votes
1answer
236 views
Python library for scripting (C++ integration)
Please advise me good wrapper/library for python. I need to implement simple scripting in c++ app; Under "good" I mean pretty understandable, well documented, no memory leaking, fast. For creating ...
-2
votes
4answers
937 views
Lua or C# beneficial over C++ for small, single person project? [closed]
I plan to do a fairly small game development project as a single programmer. I have read that alternatives to C++ such as C# or integrating Lua scripts is more time and effort efficient in ...
2
votes
3answers
220 views
How can I customize an FPS game?
I want to create a customized (modded) fps game where I can change the look and feel of the game to match my intended theme.
Some of the things I would like to do:
Create a custom map (terrain).
...
1
vote
1answer
420 views
Scene graph in Unity3D
I was wondering if any scene graph-like mechanism is implemented into Unity3D? For example if I have a GameObject, can I add child cubes to it so when I rotate the parent GameObject, the siblings will ...
2
votes
2answers
993 views
Where to attach global scripts in Unity?
As far as Iknow in Unity, every script must be attached to an object. But what is the case with global scripts? For example in a tetris-like game to which object should I attach the element spawner ...
4
votes
4answers
1k views
Should NPC dialog be stored in XML or in a script?
I'm developing an action RPG with some friends. I would like to know the differences and pros/cons of making NPC's dialogue using a file in XMLformat instead of using a script.
I see that script ...
9
votes
3answers
1k views
How smartly implement scripting in game
I'm developing a game engine. It is supposed to be an entity/components based one.
For developing my game itself (using my engine of course) i though to use some scripting language to actually create ...
1
vote
2answers
260 views
Unity gizmos vs. referenced game objects
I'm designing a Unity script that I intend to be highly reusable and as easy as possible to setup within the editor. To this end, a number of properties of this script really need some kind of visual ...
-3
votes
1answer
174 views
The point of using a scripting language [duplicate]
Possible Duplicate:
Why do we use scripts in development?
Im wondering, why do people use scripting languages like Lua or Python in game engines when we can use CLI/C++ or C# interpreters?
...
1
vote
1answer
3k views
How do I make game server for UDK game?
I'm new in UDK and I'm starting to develop online multiplayer games.
There is a one problem, I couldn't find any tutorials about how to make a game server using udk. I suppose, that it uses unreal ...