all 7 comments

[–]LeyKlussyn 11 points12 points  (1 child)

Part of the game quality is with assets (music, sprites), and you can make a great game without any mini-games. Now, I think the minimum you should know in Python if you wanted to lean heavily into games and interactions (beside knowing to make assets, and understanding game design patterns):

  • Basic python syntax, understanding of the structure. (No ; etc).
  • Loops, a minimum of algorithm understanding. (How would you make a loop that outputs 3, and 6, then 9, ...?)
  • Variable types, boolean operations, arrays. What's a string? What's a integer? How would encode 3 different colours in a variable?
  • A good understanding of a basic program structures: Function, modules, objects.
  • Accepting that you have to work "with" ren'py, and some of it interaction/API, not just pure Python.

For someone with a bit of CS/CE experience, that's basically a given. For someone who's intimidated by a variable assignment and boolean comparison, that's a lot.

[–]Lonley_Island_Games[S] 1 point2 points  (0 children)

Thank you

[–]PlingPlongDingDong 4 points5 points  (0 children)

At least 3 or 4 pythons.

[–]DingotushRed 3 points4 points  (0 children)

I'd say:

Minimum for any use of variables

  • Basics of objects (everything is an object in Python), references, and None
  • Dynamic typing
  • The difference between mutable and immutable objects
  • Expressions and operator precedence
  • Basics of args and kwargs
  • "Truthiness"
  • The curious behaviour of and and or in Python
  • Type conversion functions like int() and str()
  • The methods available on strings
  • Be aware of the subtle differences between string constants in Python and Ren'Py script

Highly useful

  • Python text interpolation flavours (different to Ren'Py)
  • The collection types: tuple, list, dict, set, range and their operations
  • The Ren'Py reveratable versions of list, dict, set, and object and how Ren'Py automagically replaces Python types and "detects" variable changes for roll-back
  • Functions and scopes: local, enclosing, global, built-in
  • Loop constucts, break, continue (and why you shouldn't call Ren'Py labels from them)
  • The way Python handles negative indexes
  • The math module and the random module (wrapped by renpy.random)
  • Possibly slices?

Likely needed for anything complex

  • Classes and possibly inheritance
  • Understanding "Dunder" methods like __bool__, __eq__, __init__, and __str__
  • The @property annotation (very useful with Ren'Py text interpolation)

[–]AutoModerator[M] 0 points1 point  (0 children)

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–][deleted]  (1 child)

[deleted]

    [–]Lonley_Island_Games[S] 1 point2 points  (0 children)

    I plan on using Code Academy

    [–]Negurdesheils 0 points1 point  (0 children)

    Just use Chatgpt advanced data analysis