Love Letter: A Game to Propose to my Partner (In Development)

After a bit of tinkering this morning and discussing with some developers on Discord I was able to get my conveyor belt cycling through frames when the player presses [A] for clockwise and [B]
for anticlockwise.

beltAnims

I've re-read a couple of forum posts regarding how to use the cranks ra but I'm not fully grasping where I should place the logic etc.

Current Goal
My goal is to replace the inputs of [A] and [B] with the directional rotation of the crank.

This is what I have on the Player script.

on confirm do
// Press A to tell conveyor belts to
emit "beltClockwise"
end

on cancel do
// Press B to tell conveyor belts to
emit "beltAnticlockwise"
end

I understand that I need to replace the confirm and cancel events with something but I'm not sure where to start. Do I first need to define what it means to "rotate clockwise" or "rotate anticlockwise" or does pulp have that shorthand available?

1 Like