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 revision Previous revision
Next revision
Previous revision
proton_entity [2010/10/26 14:29]
seth
proton_entity [2012/02/07 09:38]
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.txt ยท Last modified: 2012/02/07 09:38 by aki