All Questions
Tagged with game-development functional-programming
4 questions
4
votes
4
answers
961
views
Optimal Immutable Data Structure for Highly Dynamic Particle System
Trying to see if immutability is a good fit for highly dynamic objects like game entities (that constantly are moving around and changing) or particle systems, each which might have thousands or ...
3
votes
2
answers
312
views
I'm struggling with abstracting my animation code in my game using a functional style. How can I do this?
My game is a top down 2D shmup programmed in a functional style. I'm struggling with abstracting the code that is responsible for animating the projectiles. There are many types of guns with many ...
9
votes
1
answer
2k
views
What are some techniques I can use to refactor Object Oriented code into Functional code?
I've spent about 20-40 hours developing part of a game using JavaScript and HTML5 canvas. When I started I had no idea what I was doing. So it started as a proof of concept and is coming along ...
12
votes
3
answers
5k
views
Functional Programming approach for a simplified game using Scala and LWJGL
I, a Java imperative programmer, would like to understand how to generate a simple version of Space Invaders based on Functional Programming design principles (in particular Referential Transparency). ...