Page 1 of 1

What the the general dev environment/workflow that you use?

Posted: 04 Apr 2018, 04:50
by dkstrong
I'm new to spring and I'm trying to figure out the general workflow for working on a game.

I downloaded the tutorial game from the wiki and I am able to load it. but it seems very cumbersome to have to constantly open and close the game. What workflow do you use to quickly load up the game and try out changes to various lua files?

Re: What the the general dev environment/workflow that you use?

Posted: 04 Apr 2018, 09:33
by gajop
/luaui reload, /luarules reload

Re: What the the general dev environment/workflow that you use?

Posted: 04 Apr 2018, 09:39
by Google_Frog
'/reloadcegs' reloads all the CEG particle effects.

To do '/luarules reload' you need to first do '/cheat' because this command would easily break a multiplayer game.

Re: What the the general dev environment/workflow that you use?

Posted: 04 Apr 2018, 22:01
by PicassoCT
I usually creat cyclic circumstances to test behaviour:

In a unitscript- thats a while loop
for a ceg, thats a unit respawning it
for a balance test, that is a gadget spawning combos to battle one another..

I dev in np++, with some addition.

Re: What the the general dev environment/workflow that you use?

Posted: 05 Apr 2018, 10:11
by FLOZi
S44 was never reload friendly code wise, and MCL isn't much better, so I am accustomed to reloading the game. Sometimes it is best to have a 'clean' run anyway imo.

Re: What the the general dev environment/workflow that you use?

Posted: 05 Apr 2018, 10:13
by hokomoko
FLOZi wrote:S44 was never reload friendly code wise
Until I made it reload friendly, you mean.

Re: What the the general dev environment/workflow that you use?

Posted: 05 Apr 2018, 20:58
by Silentwings
For chili games I made http://imolarpg.dyndns.org/trac/balates ... onsole.lua, which collates and displays errors from the infolog + has some useful buttons (luaui/rules reload/disable, cheat, globallos, Spring.Reload, etc).