Renderer Component - Nintendo Game Development

Published on Saturday, September 28, 2013

Description

This Nintendo Web Framework tutorial takes you one step closer to becoming... an awesome and successful indie game developer by teaching you about the renderer component. In Rokko.js game engine, the purpose of the renderer component is to encapsulate all of the visual components found in the game world. This includes entities representing our main hero (ex: Mega Man, Mario, Link or Zelda, etc.), all enemies in a level, the level itself, scrolling backgrounds, and just about anything else that we actually want to render to the TV or the Nintendo Wii U gamepad. Since the order in which things are rendered matters, the renderer component needs to be aware of that, so that it can render a background object, well, behind entities that must be shown in front of them. For now, the renderer component only renders entities, which, at this point are loosely used to represent anything. But more practically, we're only really just drawing a bunch of 2D images representing the entity class. Later we'll need to extend this class to account for the different types of entities, as well as the game level map and such. Copyright (c) 2013 Rodrigo Silveira http://www.easylearntutorial.com

Copyright © 2014-2017 EasyLearnTutorial. All rights reserved.