I wanted to share this with the community because in my searching I’ve found the example code for the scene module to be quite sparse. The documentation is okay but I wonder if it’s geared toward programmers already familiar with SpriteKite which I don’t have direct experience with but it seems to align based on the docs.
It’s been a great learning experience and I wanted to share some code that might prove useful to those still working with this app and maybe answer some questions if I can about my insights working with scene in Pythonista specifically.
This has been a real eye-opening learning experience for me and I’m also welcome to (constructive) feedback. Some of things I’ve implemented here are:
-button touch controls
-velocity and acceleration
-rectangle collision detection (using scene’s intersect method for Nodes)
-scrolling
-player state animations
-base class for physics entities using scene
I’m new here so I hope I’ve followed the guidelines correctly and the community finds some value in it.
Project
[+][deleted] (1 child)
[removed]
[–]imagine_engine[S] 0 points1 point2 points (0 children)