''Building the ES for Android
If I were to pick a game-design that mostly used data-driven game features, I could implement it around an ES, and massively reduce the amount of planning needed to get the game running. I could maybe have a working game after a mere 20% of the effort. '' [source]
''Component based game engine design'' [source]
''What is (functional) reactive programming?
So, what is FRP? You could have invented it yourself. Start with these ideas:
- Dynamic/evolving values (i.e., values "over time") are first class values in themselves. You can define them and combine them, pass them into & out of functions. I called these things "behaviors".
- Behaviors are built up out of a few primitives, like constant (static) behaviors and time (like a clock), and then with sequential and parallel combination. n behaviors are combined by applying an n-ary function (on static values), "point-wise", i.e., continuously over time.
- To account for discrete phenomena, have another type (family) of "events", each of which has a stream (finite or infinite) of occurrences. Each occurrence has an associated time and value.
- To come up with the compositional vocabulary out of which all behaviors and events can be built, play with some examples. Keep deconstructing into pieces that are more general/simple.
- So that you know you're on solid ground, give the whole model a composition foundation, using the technique of denotational semantics, which just means that (a) each type has a corresponding simple & precise mathematical type of "meanings", and (b) each primitive and operator has a simple & precise meaning as a function of the meanings of the constituents. Never, ever mix implementation considerations into your exploration process. '' [source]
''Functional Reactive Animation'' [source, article]
''Game Programming Patterns'' [source, and in particular component pattern]
Monday, December 20, 2010
Game programming
By at 17:41
Section: EverGreen, Programming languages, Software
Subscribe to:
Post Comments (Atom)
1 comment:
I want to see Android surpass iOS this year in terms of sales and reputation. I somewhat doubt it will happen, but I'd love to be able to keep verizon and have the same quality of game programming on the platform as with the iPhone.
Post a Comment