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.

Moderator: 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?
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

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

Post by gajop »

/luaui reload, /luarules reload
Google_Frog
Moderator
Posts: 2464
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.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
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.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
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.
hokomoko
Spring Developer
Posts: 593
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.
User avatar
Silentwings
Posts: 3720
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).
Post Reply

Return to “Game Development Tutorials & Resources”