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?
What the the general dev environment/workflow that you use?
Moderator: Moderators
Re: What the the general dev environment/workflow that you use?
/luaui reload, /luarules reload
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: What the the general dev environment/workflow that you use?
'/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.
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?
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.
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?
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?
Until I made it reload friendly, you mean.FLOZi wrote:S44 was never reload friendly code wise
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: What the the general dev environment/workflow that you use?
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).