We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm playing around with the SpriteKit binding trying to learn and understand the basics. I have the following simple scene:
import Graphics.SpriteKit moveThisNode = (moveTo (Point 200 200)) {actionDuration = 10} aSprite = (spriteWithColorSize redColor (Size 2 2)) { nodePosition = Point 125 125, nodeSpeed = 1, nodeActionDirectives = [ RunAction moveThisNode Nothing ], nodePaused = True } sceneWithSprite = (sceneWithSize (Size 250 250)) { scenePaused = True, sceneChildren = [aSprite] }
Since both, the node and the scene are set to be paused, I would expect the sprite not to move.
However, when I render the sceneWithSprite in Haskell for Mac, I clearly see the little red sprite moving.
sceneWithSprite
Am I doing something wrong? Is my understanding of paused wrong?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm playing around with the SpriteKit binding trying to learn and understand the basics. I have the following simple scene:
Since both, the node and the scene are set to be paused, I would expect the sprite not to move.
However, when I render the
sceneWithSprite
in Haskell for Mac, I clearly see the little red sprite moving.Am I doing something wrong? Is my understanding of paused wrong?
The text was updated successfully, but these errors were encountered: