tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/806-is-robotlegs-slow-for-gamesRobotlegs: Discussion 2018-10-18T16:35:36Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/132658772012-01-29T16:35:13Z2012-01-29T16:35:13ZIs Robotlegs slow for games?<div><p>Hi there,</p>
<p>RL isn't suitable as an in-play real-time game framework - for
that you'll probably want something based on entity systems
(something like Ember, Ember2, XEmber and Richard Lord has a new
one too).</p>
<p>However, many real-time game devs use Robotlegs for the MVCS
'between play' parts of the game - menus, loading data, saving
progress, player preferences and so on. And as we all know, those
parts often take just as much work as the 'fun' bits. So the two
compliment each other - so much so that XEmber and Ember2 are both
being developed as extensions for Robotlegs 2.</p>
<p>Robotlegs on its own is perfect for turn-based non-real-time
games. (Tic tac toe, turn-based strategy games etc.)</p>
<p>The key to not hitting performance is to turn the automated
stage listening off at the start of each period of game play, and
then on again when you need it. Or - in Robotlegs 2 - to target
those stage listeners so that your main game stage isn't being
monitored for ADDED_TO_STAGE at all.</p>
<p>So - the fact that you're asking about RL for games makes me
imagine perhaps you haven't come across those entity frameworks
either? If that's the case I'd recommend checking out both
Robotlegs and an entity framework.</p>
<p>I hope that helps,</p>
<p>Stray</p></div>Stray