Tagged Questions
The lua tag has no wiki summary.
0
votes
1answer
39 views
Is it possible to generate Events and Hooks in Lua for any game without built-in support?
Does a game have to have built-in functions to accept and run lua scripts, or can I design Events and Hooks using Lua on any game I please, akin to the days where C code could be used to hook into the ...
0
votes
2answers
82 views
How can I make a sprite move in the direction it's facing using radians?
I am using PGELua for the PlaystationPortable. I would just like to know how to make a 2D sprite move in the direction that the sprite is facing.
When the sprite is blitted to the screen it should ...
0
votes
1answer
141 views
Beginner game-development in C++ and lua
I am a total Beginner in C++ and programming generaly.
I have watched a couple of hours tutorals of C++ and read alot about it(Could you recomend some tutorials?), but what I´ve come across and ...
-1
votes
0answers
92 views
Creating a specific game object in Lua programming language
I am learning and programming a game in Lua, but now I don't know how I should create an object like a gaff. See this video to understand what I really need:
...
3
votes
1answer
118 views
Fixing Slow XNA Game
I'm kind of new to XNA (and games in general). I'm trying to make a young relative of mine (10yo) a simple fun game where he is the main character. I'm down to the wire (I have to get it to him by ...
1
vote
2answers
185 views
Calling C++ functions in Lua
I'd like to use Lua to write some scripts which should allow me, given the state of certain variables of a specific instance, to determine a number to be assigned to a variable of that instance.
Let ...
1
vote
1answer
68 views
Help with puzzle game
I have a pattern game and it is almost done however I am stuck on the last part.
I have a screen with 25 blocks (in a table format 5x5) and the user clicks on it to turn over the blocks, I need to ...
1
vote
1answer
166 views
help animating player in corona sdk
working on a game in the corona sdk with lua and I need help so the player animates on the line drawn. Right now he animates at the beggining and the end but not on the line.
here is the player code
...
8
votes
3answers
439 views
Does Apple currently accept iPhone apps with embedded Lua?
I was researching this and I can't seem to find a concrete answer.
16
votes
5answers
1k views
What are the pros and cons of incorporating Lua into a C++ game?
I have a C++ game programming book and it has a Lua section in it. I've started to read the Lua section, and it sounds interesting, but I can't determine the pros and cons of using Lua in my C++ game. ...
2
votes
2answers
347 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 ...
0
votes
1answer
139 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 ...
3
votes
2answers
373 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 ...
7
votes
3answers
509 views
Component based entity system API naming problems
My engine uses a component-based entity system internally, and I want to bind it to Lua for scripting.
Now, I want to save people who write scripts for it typing work. In C++, to set the position of ...
1
vote
1answer
297 views
Help with Collision of spawned object(postion fixed) with objects that there are translating on screen
Hey guys I am creating a game using Corona SDK and so coding it in Lua.
So there are 2 separate functions,
To translate the hit objects and change their color when they are tapped
The link below ...