Ren'Py #26 Sub-locations Pt.1

Поділитися
Вставка
  • Опубліковано 11 лис 2024

КОМЕНТАРІ • 12

  • @wink3319
    @wink3319 9 місяців тому

    Very good videos. You can explain the topics very well. However, I have a couple of questions. at 12:08 you jump to a prompt screen where you then enter "Print Places[0].rooms". How do you do that? I think you use a short cut. But what is it? Also, you explain a lot about the renpy commands and the python commands. Is there a good link for a kind of library of commands with the syntax that one could use to look these things up? It is a bit difficult to come back to the videos to look it up. Thank you!

  • @Techn0magier
    @Techn0magier 5 років тому +2

    waiting for the follow up. This map design is somewhat sleeker than my original script and I would love to see how you would use it in an actual project.

  • @markw4613
    @markw4613 Рік тому

    hi - have you done a video on how to have sublocations show on a sub map? I've got the sublocations working as shown in this series but looking to have them show on the screen of the current location - for example the top level map is of the city, with different districts clickable, from there buildings inside the district clickable. Thanks

    • @GameDeveloperTraining
      @GameDeveloperTraining  Рік тому

      I believe one of my let's code seasons covers it but I can't remember which one.

    • @markw4613
      @markw4613 Рік тому

      @@GameDeveloperTraining not to worry i've got there in the end. :)
      now i've removed the menu button to open map and instead added a map button (soon to be icon) to each location and sub location screen instead.
      Very addictive this coding stuff! Shame my laptop is struggling lately so i've had to take a break from rendering in Daz.
      Can't thank you enough for your tutorials - i've managed to create a great base code for some excellent VNs. Using the clock system is such a clever way to proceed through the story, allowing for an open world feel to it while having events trigger based on time and location, plus whether they are active or not based on previous player decisions. I've also added a statistics class, a relationship class and a sub decision class which I plan to use to add depth to interactions with characters, with smaller level decision trees opening up potentially bigger choices in the main story events. My thinking is that this way things will be more gradual in the story and not these giant unrealistic character leaps and choices you see in most VNs!
      Next thing I want to try and achieve is some random event triggering to add to the open world feel - with a random element to what characters will be present to interact with or what random events might trigger unexpectedly during the characters "open world" time periods.

  • @bionichawk
    @bionichawk 3 роки тому +3

    A fix, if you allow me, in the part ua-cam.com/video/ykcU-4_hMfE/v-deo.html the error is not because SetVariable came after the return, but because you forgot to close the parentheses . The position of SetVariable is indifferent in this case.

  • @mrsupersuper
    @mrsupersuper Рік тому

    This is probably nothing, but when I do print Places[0].rooms it gives me (0, [0,1,2,3]) instead of what shows in the video of just displaying the array. If you know why that it or what is happening to let me know as I followed the tutorial letter for letter

    • @GameDeveloperTraining
      @GameDeveloperTraining  Рік тому

      It's nothing. It's the newer version of python that seems to display lists like that. The content should still work.

    • @mrsupersuper
      @mrsupersuper Рік тому

      okay, I seem to be running into an issue following the next video of sub locations where even when im not in the default location, it still displays the sublocations where as in your next part, it still displays the sub locations for home even when im elsewhere. any ideas for a fix?@@GameDeveloperTraining

  • @progitarrpro
    @progitarrpro Рік тому

    what if i dont want a map, just navigating around in house

    • @GameDeveloperTraining
      @GameDeveloperTraining  Рік тому

      Its the same thing. Locations aren't real places, just names stored in a variable.

    • @progitarrpro
      @progitarrpro Рік тому

      @@GameDeveloperTraining i understand that. But the way you present this is rooted in the map. It confuses the heck out of me. And also, the "def __init__" gives an invalid syntax error.