Giter Club home page Giter Club logo

godot-lportal's People

Contributors

lawnjelly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

godot-lportal's Issues

Errors running demos with latest lportal

It looks like the examples haven't been updated for the latest changes in lportal. I get this error:
Invalid call to function 'rooms_set_camera' Expected 2 arguments. I fixed it like this:

  • var cam1_id = m_RoomManager.dob_register(cam_first, Vector3.ZERO, 0)
  • var cam3_id = m_RoomManager.dob_register(cam_third, Vector3.ZERO, 0)
  • m_RoomManager.rooms_set_camera(cam_third)
  • m_RoomManager.rooms_set_camera(cam_first)
  • m_RoomManager.rooms_set_camera(cam1_id, cam_third)
  • m_RoomManager.rooms_set_camera(cam3_id, cam_first)

That seems to work, but the camera is not pointed quite right, so make ZERO is the wrong value.

also make a similar change for calls to dob_register.

Feature Requests

In this issue I will list some of the features I am intending / hoping to put in. Feel free to add feature requests.

  • Open and Closable portals
    Think closable doors. Can be used to cull off entire areas. Careful level design can use this to minimize rendering (if for example, a player can only hold one door open at a time).
  • Potentially Visible Set (PVS)
    PVS can be precalculated using the room / portal info. A PVS can store which rooms are visible from each room, or even which static objects. This is useful to determine when to switch off other things than rendering that will affect gameplay - AI, physics, sound etc.
  • Secondary PVS
    Secondary PVS is a PVS of rooms, but expanded by one. Often this is useful because it allows a bit of gameplay to be going on outside the main area, but not too much.
  • Movable Portals
    This could be quite interesting, but may be a challenge to put in and work with a PVS (the PVS will change according to where the portal is).

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.