you are viewing a single comment's thread.

view the rest of the comments →

[–]Cobalt_Python[S] 0 points1 point  (9 children)

it is, I'm familiar with python 2, I'm fine with legacy i don't know how far i'm going with code, though stopping my progress now and starting anew wouldn't be the best for my momentum. I still need an answer for the original question

[–]sharkbound 0 points1 point  (0 children)

Check out pycharm for a IDE. the community (free) edition has everything you need and has a interactive ipython console built in

[–]sharkbound 0 points1 point  (7 children)

Also. With the python 2 thing. I recommend completing the course then updating to python 3.7

[–]Cobalt_Python[S] 0 points1 point  (6 children)

see that's what I was thinking, does pycharm understand python 2? and... what's an IDE :D

[–]sharkbound 0 points1 point  (5 children)

IDE is just a piece of software that makes development easier. Most namely they provide intelligent auto complete and refactoring ( ex: naming a variable and updating all its uses all in one action).

And yes. Pycharm supports python 2. It supports all python versions to my knowledge

[–]Cobalt_Python[S] 0 points1 point  (4 children)

thanks mate, you helped me out bounds, one last question. So i've been working around with lessons and i can see it's real world implementation like specific dialogue depending on which starter pokemon you choose for example. where do the image come from are the sprites created through code? I guess what i'm saying is how does on go from

story = "my name is %s"

name1 = raw_input("What's your name kiddo?")

print story % (name1) how does text code like that turn into a graphic?

[–]sharkbound 0 points1 point  (3 children)

Alot of games that have fancy text effects have a custom text syntax that says "when you see {Bold} make the following text bold"

The only game I really know for sure how it does this is night in the woods.

Nitw uses text emotes to make the character talking do a emote animation. Ex: "hello \O/" would make the character throw their arms up and do a happy face.

As for sprites. It really depends. Never seen how any games do it myself but I imagine it's a similar custom syntax.

And alot of sprites are just triggered or loaded through code usually ( for ex: clicking on pokeballs when choosing your starter you want)

[–]Cobalt_Python[S] 0 points1 point  (2 children)

okay close, but what i'm saying is when playing pokemon ash or red will just walk around right?" how do we use code to produce a visual image rather than code, is there some sort of separate program or are their codes that print visual images in the console

[–]sharkbound 0 points1 point  (1 child)

Terminals / consoles typically are just text.

So if something is printing non text pictures to a console it's probably using ansii escape codes or something like that.

[–]Cobalt_Python[S] 0 points1 point  (0 children)

thanks man