Ghostpanda34's Profile
Reputation: 1
Apprentice
- Group:
- New Members
- Active Posts:
- 4 (0.03 per day)
- Joined:
- 09-January 13
- Profile Views:
- 54
- Last Active:
Jan 19 2013 09:55 AM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: RPG map in pygame?
Posted 19 Jan 2013
atraub, on 01 January 2013 - 12:16 AM, said:I love Tiled!
EDIT:
Tiled can be used to create the map, but a map doesn't control the camera, that's going to be part of your pygame application.
I love you! (no homo) -
In Topic: If and Else not working as planned.
Posted 10 Jan 2013
Thanks guys, it turned out I needed raw_imput on line 2.
THANK YOU!!! -
In Topic: If and Else not working as planned.
Posted 9 Jan 2013
andrewsw, on 09 January 2013 - 01:55 PM, said:You need quotes around "Doublify" and indenting:
name = input("A number for doublifier:") word = input("say Doublify") if word == "Doublify": print ("Your doubled number is ", name * 2) else: print ("USE THE MAGIC WORD!!!")
BTW the error message doesn't reflect the code you have shown?!
BTWW If you want to double a number then you will have to convert the string name to a number. (input() returns a string.)
Thanks all though it still comes up with:
A number for doublifier:2
say DoublifyDoublify
Traceback (most recent call last):
File "C:\Users\Ben\Desktop\BADouplifier.py", line 2, in <module>
word = input("say Doublify")
File "<string>", line 1, in <module>
NameError: name 'Doublify' is not defined
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Private
Friends
Ghostpanda34 hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
Ghostpanda34 has no profile comments yet. Why not say hello?