Game Development Community

Combat calculator

by Eugene Karnot · in Technical Issues · 12/14/2008 (8:50 am) · 2 replies

Hello. TGB 1.7 user here.

I'm not really a programmer, but i have this game idea and i'm currently trying to make a prototype to attract people, but i got stuck a little. I'm trying to make a strategy/RPG kind of game, and while i can somewhat understand basic AI and pathfinding scripting (or cannibalize them sometimes), i cant wrap my head about combat calculator.

Basically what i want to make is when two units come together a fight is initiated, and a "spreadsheet" pops up at the side of the screen with units parameters and the formulas used in combat, so people could see whats going on "under the hood" and what affects winning.

I know how to make a table pop-up with some value, but how do i make it interactive, so i could change the values and formulas in the game "on the fly" so other people could experiment with it as well ?

Thank you.

#1
12/14/2008 (9:14 am)
You could make a grid of GuiTextEdit ctrls.
#2
12/14/2008 (10:07 am)
Thanks, i'll look it up.