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

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

Resources to get you going on your new project, or to help you over some emergent problems during your development cycle.

Moderators: Moderators, Moderators

Post Reply
dkstrong
Posts: 1
Joined: 04 Apr 2018, 04:31

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

Post 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?
0 x

gajop
Moderator
Posts: 3027
Joined: 05 Aug 2009, 20:42

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

Post by gajop »

/luaui reload, /luarules reload
0 x

Google_Frog
Moderator
Posts: 2445
Joined: 12 Oct 2007, 09:24

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

Post 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.
0 x

User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10306
Joined: 24 Jan 2006, 21:12

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

Post 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.
0 x

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6139
Joined: 29 Apr 2005, 01:14

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

Post 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.
0 x

hokomoko
Spring Developer
Posts: 591
Joined: 02 Jun 2014, 00:46

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

Post by hokomoko »

FLOZi wrote:S44 was never reload friendly code wise
Until I made it reload friendly, you mean.
0 x

User avatar
Silentwings
Moderator
Posts: 3630
Joined: 25 Oct 2008, 00:23

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

Post 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).
0 x

Post Reply

Return to “Game Development Tutorials & Resources”