Search found 4 matches

by ohookins
Mon Dec 02, 2013 3:14 pm
Forum: Support and Development
Topic: Principles of interacting with different objects
Replies: 6
Views: 4346

Re: Principles of interacting with different objects

Yeah, I saw something like this in a thread elsewhere and used that for my mole.draw() function (which you might have seen). I quite like that pattern so it's a good suggestion to use this also for state transitions. Interestingly enough there's a project at my work where we've taken this very appro...
by ohookins
Mon Dec 02, 2013 9:39 am
Forum: Support and Development
Topic: Principles of interacting with different objects
Replies: 6
Views: 4346

Re: Principles of interacting with different objects

Hi laice, thanks for your reply. I've already got a state-machine implementation for the player's character, which changes based on the context - e.g. if it is now colliding with a ladder it is possible to transition from the "walking" or "idle" states to "climbing_up" ...
by ohookins
Sun Dec 01, 2013 6:48 pm
Forum: Support and Development
Topic: Principles of interacting with different objects
Replies: 6
Views: 4346

Principles of interacting with different objects

Hi, I'm a fairly experienced developer but fairly new to game programming and the Löve framework. I'm trying to write a fairly simple side-view game that has a character who just walks around and interacts with different things. For example, ladders should be climbable, it should be possible to pick...