Tacticular Cancer: We'll have your balls

  1. Having trouble staying logged in? Note: We are rpgcodex.NET not .COM. Trying to login via .com will cause issues. Make sure you are on rpgcodex.net to login and all will be fine.

    And if the Password Recovery doesn't work (there was an error transitioning accounts during the upgrade), use the "contact us" link right down the bottom right of the forums and harass us about it. Include your account name and its e-mail address (or whatever parts of it you remember).

    "This message is awaiting moderator approval": All new users must pass through our moderation queue before they will be able to post normally. Until your account has "passed" your posts will only be visible to yourself (and moderators) until they are approved. Give us a week to get around to approving / deleting / ignoring your mundane opinion on crap before hassling us about it. Once you have passed the moderation period (think of it as a test), you will be able to post normally, just like all the other retards.

Development Info Making of Grimrock: Rapid Programming

Discussion in 'RPG Codex News & Content Comments' started by VentilatorOfDoom, Jul 26, 2012.

  1. VentilatorOfDoom RPG Codex Staff Patron

    VentilatorOfDoom
    Joined:
    Apr 4, 2009
    Posts:
    4,586
    Location:
    Deutschland
    Click here and disable ads!
    Tags: Legend of Grimrock

    Codex Workshop afficionados might be interested in this, the makers of Legend of Grimrock are blogging about their programming experiences, topic is the usefulness of LUA.
    Niektory Brofists this.
  2. Yaar Podshipnik Savant Patron

    Yaar Podshipnik
    Joined:
    Jan 9, 2011
    Posts:
    872
    Race Traitor
    Wasteland Ranger
    Dead State
    Server Slush Fund 2012
    Brian Fargo
    Divinity: Original Sin
    Potato 2013
    Maybe it's different in game development, but when writing enterprise (I apologize for using such ugly words) C++ the compile time is essential to regain your sanity.
  3. VentilatorOfDoom RPG Codex Staff Patron

    VentilatorOfDoom
    Joined:
    Apr 4, 2009
    Posts:
    4,586
    Location:
    Deutschland
    I just compiled something and it took 8 sec. What about you?
  4. pakoito Educated

    pakoito
    Joined:
    Jun 6, 2012
    Posts:
    113
    Mine, when fully compiled, takes 20+ minutes. Now, small changes, no engine changes, just testing, 30 seconds. Then a minute to deploy to device if the Windows version doesn't cut it, and whatever time it takes to get to the desired test state.
  5. Ulminati I'm watching you... Scum. Patron

    Ulminati
    Joined:
    Jun 18, 2010
    Posts:
    11,603
    Location:
    Botlane tribush
    My compliations usually take a couple of minutes. I spend complation time writing documentation for the code I just did or some other snippet that lacks it. Or browse the codex. There's usually an alert or inbox message whenever I hit compile
  6. kaizoku Prophet

    kaizoku
    Joined:
    Feb 18, 2006
    Posts:
    2,141
    For the less observant ones, there is a HUGE difference between "build" and "clean ; build".

    obligatory! http://xkcd.com/303/
    [IMG]

    I also need to buy a tshirt like this one
    [IMG]
  7. Yaar Podshipnik Savant Patron

    Yaar Podshipnik
    Joined:
    Jan 9, 2011
    Posts:
    872
    Race Traitor
    Wasteland Ranger
    Dead State
    Server Slush Fund 2012
    Brian Fargo
    Divinity: Original Sin
    Potato 2013
    Precisely! There is shit that gets built in seconds. There are cases when you need to do clean build so that you can run some tests and be sure that your change really got picked up. That is especially painful and true if your product includes tons of generated code and you've just modified some stuff that makes thousands of files different.

    There is very, very big difference between coding one does for fun and enterprise shit.
  8. Antagonist Liturgist

    Antagonist
    Joined:
    Jan 6, 2004
    Posts:
    484
    Location:
    Glorious Vaterland
    Some larger outlets have various build and test servers which are triggered whenever a commit to the repository happens and generate reports automatically for each build. This is essential in any setting where you develop cross-platform and in collaboration with other developers in order to be able to assign the correct "blame" if something should break. In my experience though it's custom that the changes you commit should at least build on your own development machine. And yes, incremental building FTW.
  9. Castanova Arbiter

    Castanova
    Joined:
    Jan 11, 2006
    Posts:
    2,589
    Location:
    The White Visitation
    Seems like a pretty cool workflow although he doesn't give many details or references on how to actually set it up.
  10. Tramboi Learned

    Tramboi
    Joined:
    May 4, 2009
    Posts:
    372
    Location:
    Paris by night
    You can cut compile times by working hard but it is not always possible with huge projects.
    What is important is fast incremental builds when you make isolated changes.
    But then you often get bit in the ass by slow linking.
  11. thesheeep Savant

    thesheeep
    Joined:
    Mar 16, 2007
    Posts:
    2,771
    Location:
    Berlin
    Scripting improves development cycles. News at 11.

    Okay, okay, maybe some people didn't know that, but still.

    That LuaJIT does sound interesting though. I used the normal Lua once, and it was already fast.
  12. Tramboi Learned

    Tramboi
    Joined:
    May 4, 2009
    Posts:
    372
    Location:
    Paris by night
    I'm not so much convinced by this.
    Scripting improves rapid iterations but code often end up sloppy and not refactored.
    It takes discipline and good programmers to avoid this problem.
  13. Davaris Liturgist

    Davaris
    Joined:
    Mar 7, 2005
    Posts:
    2,047
    Location:
    Australia
    I'm not a fan of traditional scripting, as you can't find bugs as easily as you can in C++. Also, scripting is not ideal for programming games, because you have to code explicitly for failures. Even worse, you can't run multiple behaviors at the same time, unless you create special data structures, that run behaviors after the script exits.

    With Behavior Trees you get all of the above free. They are efficient, easy to make and use and you can rebuild them at run time. The only difficultly with Behavior Trees, is making a good editor.
  14. Surf Solar cannot into womynz

    Surf Solar
    Joined:
    Jan 8, 2011
    Posts:
    4,614
    This reminds me of myself, even non programmers know this. :P Waiting hours and hours for a render to finish, bleh.

(buying stuff via the above links helps us pay the hosting bills)