@JonB Soo much better. Thank you!
Posts made by tactfulgamer
RE: Text Game Not Working [SOLVED]
Remark that you should insert your code between two lines of triple quotes, in this forum
Can you please show me what I did wrong?
I tried adding two lines, of triple quotes... and it’s not working.
I did this:
^^ Not working for me
RE: Text Game Not Working [SOLVED]
print("It is the end of a long year of fighting space criminals")
print("you come to a crossroads on your trip home, one path leads home")
print("where you will be handsomly rewarded for a job well done")
print("and the other leads through a gamma ray burst")
path = ""
while path != "1" and path !="2": #input validation
path = input("Which path will you choose? (1 or 2): ")
p = choosePath()
Thank you!! That was it!!
Does Pythonista have some form of visual indicator to let you know if your indentation is not correct? (I have no idea knowing if my indentation is correct or not) I thought I was following video accurately.
I guess, if Pythonista does not run, that’s pretty much letting me know, the indentation is wrong.
However, would be nice if it pointed out “which of my code lines” needed indentation.
Text Game Not Working [SOLVED]
I am trying to understand what I am doing wrong?
I am following a step by step youtube video. I don’t understand why it’s not running on Pythonista? I even tried changing the interpreter to 2.7, still not running the code. There is no error message. It’s just not running. The play button blinks when I tap on it or use cmd (r), and nothing happens after that.
Here is the video link:
(I cannot proceed past the 12:50 mark since the code is not running)
Here is my code:
import random import time def displayIntro(): print("It is the end of a long year of fighting space criminals") print("you come to a crossroads on your trip home, one path leads home") print("where you will be handsomly rewarded for a job well done") print("and the other leads through a gamma ray burst") def choosePath(): path = "" while path != "1" and path !="2": #input validation path = input("Which path will you choose? (1 or 2): ") return path displayIntro() choosePath()
RE: Video/Text Tutorials? (That Work w/ Pyonistha?)
Thank you. I can’t wait to go over it!!
Video/Text Tutorials? (That Work w/ Pyonistha?)
I am trying to learn coding. I am a true beginner. I searched youtube and found one from giovanni creating a game. This game guide is cool - but as I followed along, I have no idea what I am doing.
It feels more like I am just typing - what he is typing. No in-depth knowledge being absorbed or understanding. I don’t feel like I am gaining the knowledge. I still need basic follow along guides.
I am searching for a tutorial that guides us with the basic concepts of coding (Variables, Tables, If & Else, Strings, Loops, Boolean’s) and as I follow along - IT ALL WORKS on pythonista.
Is there something like this? If not a video - I am fine with text follow alongs.
RE: 3D Games?
I imported the files into Pythonista. *As mentioned in the read me: *
Download the sceneKit folder and move it to site-packages-3 under Python Modules in Pythonista. Restart Pythonista.
Download the sceneKit demo folder and move it to your sample scripts folder.
But when I try to launch it from Pythonista, it says SceneKit folder not found?
I was not able to import with the folders, the app was not allowing full folders to be installed, I was only able to remove the files from their folders and dump into site-packages-3.
Confused at to why it’s not working. The error I get is:
‘No Module named scenekit‘
Following Tutorial Cannot Find Adding Images?
Speaking for iPad Device:
In the tutorial linked below on at the 2:50 mark, there is a + button inside a square on the top left. I don’t have that button?
I found a plus button in the swipe to left menu, but when I tap on it, it is stuck on the “recent” folder of my photos app - it does not let me choose my folder that has the images I would like to use on this project.
(How do I attach images so I can show the issue?)
I did check the privacy in settings app - Pythonista has full rights - read and write. Please advise, link to video tutorial below:
New to Pythonista, just discovered it after giving up on Codea (a game engine on iOS)
It lacked facility for me to learn. I am still new to coding. The program itself - stopped you from learning because it lacked a console and mostly all tutorials teaching the language it used - was taught via a console.
Pythonista seems to facilitate this code learning. It has a console, I just hope it’s a console I can interact with. One of the tutorials, has us create a random number generator course, then, from within the console, I type numbers and the program will respond in kind to my inputs - please have this function.
Does Pythonista have the ability to create 3D games? Of course not full fledged, just basic prototyping and what not?
Does Pythonista community share assets, scripts and created libraries within the app itself? Like a community section of sorts?