Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Platformer in previous beta
-
I think I remember there was a platformer game example in one of the previous examples, and since I started to make a platformer game myself with the new version of the scene module I was wondering; how was the levels created?
-
The old sk module had a level editor.
Interestingly, the current beta still has that editor!
Create an empty file, then rename it to have a pysk extension.It doesn't quite work the way it used to, textures don't show up, (but can be selected, and the name ends up in the resulting file), etc. but you could still use it for a rudimentary level builder. Then, read as json. Likely you'd need to roll your own code to then apply the attributes to the appropriate scene objects.
-
Actually sk.load and sk.node_from_dict are also still included in the beta, you could copy iver that code, and would just have to change things to map to the correct scene node types, etc.
-
@JonB Cool, will try that when I get home! Thanks!
-
Just for the record: I would definitely not recommend using that, it's unfinished (and probably buggy). I forgot to remove it, but I might do so without warning in the next update...
-
I thought that was the case. I just started making my own level editor. That's why I asked about the asset picker, on another thread.