Search found 4 matches

by galaxys
Tue Jun 05, 2012 1:23 pm
Forum: Development
Topic: What is " =============gameh 923"?
Replies: 1
Views: 2248

What is " =============gameh 923"?

Hi everyone, I've recently learned to add --flush-stdout to my game shortcut, and managed to use it to locate an error on game start up. But After that, I hear my driver noises loudly, busy on writing tons of "=============gameh 923" into the log file. So I wonder if it's intended, or I di...
by galaxys
Wed May 30, 2012 1:04 pm
Forum: Development
Topic: A question about energy and running
Replies: 3
Views: 2817

Re: A question about energy and running

The issue was that the game would still be paused and that the runStep function assumes that the first step will consume enough energy to unpause the game for you. So the solution was to manually unpause the game when the player started running. /ab8df4a98abc2e88b9efc205a5297342e06e0a92 Thank you v...
by galaxys
Tue May 29, 2012 2:37 pm
Forum: Development
Topic: A question about energy and running
Replies: 3
Views: 2817

A question about energy and running

Hello everyone, I wanted to make something like in TRPGs, you move and attack in a single turn, and then enemies move & attack. So I modified GameEnergyBased.lua to make entities recover energy only every 10 game turns, each time recovering 1000 energy. And modified enoughEnergy() and useEnergy(...
by galaxys
Sat May 19, 2012 3:51 pm
Forum: Modules
Topic: Two mistakes in t4modules: Inventory and Equipment Dialogs
Replies: 0
Views: 1770

Two mistakes in t4modules: Inventory and Equipment Dialogs

Hope I didn't make it wrong, and you can understand my poor English... 1st: after creating the objects class, you should modify your Game class's "loaded" method to make it load the object class, like this: Zone:setup{npc_class="mod.class.NPC", grid_class="mod.class.Grid&quo...