GithubHelp home page GithubHelp logo

Comments (5)

renpytom avatar renpytom commented on June 10, 2024

I don't think stdin is the right place for this - it's been my experience that it's a problem. A file on disk is probably a better choice - let me give a shot at implementing this myself.

from renpy.

furudean avatar furudean commented on June 10, 2024

Just to be clear, I'm asking for a feature that allows you to warp dynamically in an already open game, via an external signal. So I'm not sure a file on disk is going to be able to get that on-demand feature. It's possible I'm just misunderstanding something here

from renpy.

furudean avatar furudean commented on June 10, 2024

Maybe stdin is the wrong terminology here. More in line with the REPL pattern, in this case an equivalent to the developer console in Ren'Py as described in the OP

from renpy.

renpytom avatar renpytom commented on June 10, 2024

You should be able to do this with the nightlies, by creating an exec.py file with:

renpy.warp_to_line("script.py:123")

Ren'Py looks in the base directory for exec.py about every 100ms, and will run it if it exists.

from renpy.

furudean avatar furudean commented on June 10, 2024

I've tried it out and it works great. Thanks!

from renpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.