Code Monkey home page Code Monkey logo

rpy2wse's Introduction

#rpy2wse Converts Ren'Py visual novels to WebStory Engine HTML5 game using RPYC and some code magic

##CONTACTS Copyleft by lolbot, member of IIchan.hk eroge project. Written on hard day's nights of pretty nice autumn 2013. You can mail me at: [email protected]

##NO GUARANTIES

  • Please, note, that this code is not perfect.
  • IN FACT, THERE ARE ABSULUTELY NO GUARANTIES.
  • Some problems must be marked by converter with "" comments in generated xml file.
  • However, even if there is no such comments, converted code still may be wrong in some way.
  • Python is not my native language, so sorry for awful non-pythonic style.

##LICENSE? WHAT LICENSE? It's mostly a Proof Of Concept. You can use this code however you want, I think. But be warned, you won't get any presents from Santa, if you delete all the copylefts and introduce this work as your's.

##CHANGELOG

###0.1 - 2013.10.11

  • renpy.ast.Say: simple text by defined characters
  • renpy.ast.UserStatement: play, stop
  • renpy.ast.Translate
  • renpy.ast.EndTranslate
  • renpy.ast.Menu: each block is one jump command
  • renpy.ast.Jump: no expressions
  • renpy.ast.Return
  • renpy.ast.Scene
  • renpy.ast.Show
  • renpy.ast.Hide
  • Runtime: simple menu, jump to rpy_start

###0.2 - 2013.10.20

  • renpy.ast.With: None, Fade, Dissolve
  • Styles: main menu background
  • Runtime: calling splashscreen, if present
  • Useless: Debug file added

###0.3 - 2013.10.27

  • convert mp3 to ogg and back (using console utils)
  • renpy.ast.Python: simple math only (aka 'x = True', 'x = x + 9', 'x += 1')
  • renpy.ast.If: simple conditions only (aka 'if x', 'if False', 'else')
  • renpy.ast.Menu: blocks inside branches
  • renpy.ast.Python: renpy.pause calls
  • renpy.ast.UserStatement: pause
  • renpy.ast.With: Pause

###0.4 - in progress

  • Styles: config.main_menu_music
  • Runtime: hide&show textbox during transitions
  • renpy.ast.Say: {{, \n, {i}, {b}, {u}, {s}
  • renpy.ast.Pass
  • renpy.ast.Python: string assignment (aka 'x = "qwerty"')
  • renpy.ast.If: more simple conditions (aka 'if x == 0', 'if x == "qwerty"')

##THINGS TO DO IN NEAREST FUTURE

###unblocked:

  • renpy.ast.Python: more complex math (aka 'x = y * 3 + 2')
  • renpy.ast.If: more complex math (aka 'if x == 2', 'if x > 5 and x < y')
  • renpy.ast.Menu: options with conditions
  • renpy.ast.Jump: expression
  • renpy.ast.Call: expression

###need engine-side support for positions:

  • renpy.display.motion.ATLTransform (aka 'show slavya at right')
  • renpy.ast.With: MoveTransition (aka 'show slavya at right with move', using )

###need engine-side support for new effects:

  • renpy.ast.With: vpunch, hpunch (aka 'with vpunch')

###other todo:

  • renpy.text.extras.ParameterizedText (aka 'show text "qwerty" at truecenter', using at custom textbox, hehe)
  • Styles (generate some CSS: message window, choice buttons, fonts)

rpy2wse's People

Contributors

lolbot-iichan avatar weetabix-su avatar

Watchers

James Cloos avatar  avatar

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.