User Tools

Site Tools


proton_entity_part2

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
proton_entity_part2 [2010/10/27 14:54]
seth
proton_entity_part2 [2012/02/07 09:45]
aki [What's the Proton way to do it?]
Line 12: Line 12:
 You: "//​I'​ll just write a FadeOutComponent//"​. ​ No, my good sir, that would be overkill. ​ Simply modifying values over time doesn'​t need a custom component. You: "//​I'​ll just write a FadeOutComponent//"​. ​ No, my good sir, that would be overkill. ​ Simply modifying values over time doesn'​t need a custom component.
  
-First, here is a brute force dumb way it could be done by overusing the message ​message manager: (but notice it does save us from needing to add any code inside the entity or any component classes, we want to keep them as pure as fresh snow)+First, here is a brute force dumb way it could be done by overusing the message manager: (but notice it does save us from needing to add any code inside the entity or any component classes, we want to keep them as pure as fresh snow)
  
 <code cpp> <code cpp>
proton_entity_part2.txt ยท Last modified: 2012/02/07 09:45 by aki