User Tools

Site Tools


proton_entity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
proton_entity [2010/10/26 14:29] sethproton_entity [2012/02/07 09:38] (current) aki
Line 36: Line 36:
 If you take a look at Entity.h you'll see some functions but nothing about thinking/updating or drawing.  So what can an entity do? If you take a look at Entity.h you'll see some functions but nothing about thinking/updating or drawing.  So what can an entity do?
  
-Well, not much, alone.  It's fairly lightweight at about 200 bytes.+Well, not much, alone.  It's fairly lightweight at about 200 byte memory footprint.
  
 The power comes from Components.  Components can (but don't have to) render, think, and process input. The power comes from Components.  Components can (but don't have to) render, think, and process input.
Line 107: Line 107:
 //zoom to bottom right again //zoom to bottom right again
 ZoomToPositionEntityMulti(pEnt, GetScreenSize()-imageSize, 1000, INTERPOLATE_SMOOTHSTEP, 3000); ZoomToPositionEntityMulti(pEnt, GetScreenSize()-imageSize, 1000, INTERPOLATE_SMOOTHSTEP, 3000);
-FadeOutAndKillEntity(pEnt, true, 1000, 4000)+FadeOutAndKillEntity(pEnt, true, 1000, 4000);
 </code> </code>
  
proton_entity.1288103398.txt.gz · Last modified: 2010/10/26 14:29 by seth