Found a vid on YouTube that helped me out. I had self in the wrong place and was using the brackets inside of action.call()
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.
Best posts made by resserone13
-
RE: Creating functions that work with my scene class
-
RE: file not found error
@ccc i depends on how you wanted to go about it. the teacher mention that some students used csv module. its a really basic class. i used what was explained in class.
-
RE: scenes updating each other’s variables
@JonB Thank you for the advice. I’m going to try to work this in. I am also going to review all of my post to make sure I haven’t missed any advice. I really appreciate you guys helping me. I’ve seen some things you guys have worked on on github and it is much above my level. I appreciate you guys taking the time to help me. I feel it’s a privilege to be helped by people who know so much. Thank you very much @mikael @ccc @cvp.
-
RE: What this error
@cvp that sounds good. Once I get I done which should be in the next day or 2 I’ll post it on GitHub or the forum and let you know. It should be pretty simple. Each scene will have a title, a picture of the mask, and a description of when it should be used. I’ll let you know.
-
New game made with scene
So I have finished my game using the scene module. I have posted it on GitHub. I would like to thank everyone who helped and answered my questions. Being completely new to program and I couldn’t have run it without the help of you guys. Thank you @mikael , @cvp, @ccc and @JonB. Also thank you to @omz for making Pythonista. I have really enjoyed learning Python while using Pythonista. I would like to keep updating this game to learn how to code better. I would like to convert this So that it’s using more classes and functions. I wrote this the only way I knew How. I do not think it is the best way. I would like to learn how to do it the best way though. Please let me know if there’s anything I’m missing on the GitHub or if there’s any issues. It is my first time using GitHub. I welcome all feedback. Thanks.
-
RE: Playing sound
@cvp I’ve got it to work with all the other sound effects by using the sound.playeffect(). I think there might be a problem when you use sound.player() with sound.playeffect(). This is what I’m using.
class MainScene (Scene): def setup(self): bg_music = sound.play_effect('3 card monte beat (90.00 BPM) - MAIN OUT.wav', volume=.25) bg_music.looping = True
-
RE: Playing sound
@cvp I was able to fix the background music from stopping and being interrupted. I had to remove the volume in pitch settings I had on the two sound effects that were causing the trouble. I’m guessing the sound effects were interrupting the volume in pitch and canceling out the background music.