[RELEASE] RayCast3D Engine - 3D Game Engine for lpp-vita

Discussion in 'PS Vita - Hacking & Homebrew' started by Rinnegatamante, Aug 6, 2016.

  1. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,263
    Nov 24, 2014
    Italy
    Bologna
    [​IMG]
    RayCast3D is a 3D Game Engine for Nintendo 3DS / PSVITA which runs under Lua Player Plus.
    It uses Ray-Casting algorithm (https://en.wikipedia.org/wiki/Ray_casting) to generate a 3D world starting from a 2D map allowing to create basic 3D games without any knowledge of how 3D rendering works.
    On PSVITA it runs good with accuracy values >= 3.
    In the download package you'll find also a little sample app.

    At the moment these are the Features RayCast3D offers:

    • Different tile size maps
    • Automated camera and player position management
    • Support for huge maps (pratically there aren't limitations)
    • Support for sky rendering and floor rendering
    • Automated minimap renderer with player position
    • Textured walls support
    • Wall Collisions check
    • Shading support
    • Bullet system (Ray casting with returning values)
    What this engine needs to be finished is listed in this TODO List:

    • Player collisions with walls
    • Sprites support for animations
    • Bullets physic
    • Editable FOV
    • Support to textures for walls, sky, floors

    Video of a sample app


    Credits:


    Repository:
    https://github.com/Rinnegatamante/Lua-RayCast3D/tree/master


    Download:
    Here you can download the first alpha version (v.0.1) with a sample tech demo and a short documentation for the available functions: https://rinnegatamante.it
     
    reprep, a9lh-1user, SYNYST3R1 and 4 others like this.
  2. memomo

    memomo ( ͡° ͜ʖ ͡°)

    Member
    1,072
    548
    Nov 30, 2013
    Awesome

    Thanks a lot, can't wait to see some amazing homebrews with this engine.
     
  3. Dav_Dabz

    Dav_Dabz Advanced Member

    Newcomer
    60
    27
    Oct 26, 2014
    United States
    Sterling, Virginia
    Impressive :grog:
     
  4. MajinCubyan

    MajinCubyan The Funky Super Saiyan

    Member
    GBAtemp Patron
    MajinCubyan is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    587
    928
    Nov 24, 2014
    United States
    Orre
    Rinne, you are machine. Just pumpin life into the vita. Thanks man, can't wait to install this.
     
    jastolze and ihaveamac like this.
  5. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,263
    Nov 24, 2014
    Italy
    Bologna

    You should thanks the bad weather not allowing me to go to the beach and the fact that i have made lots of projects for 3DS that are relatively easy to port to PSVITA for me :P
     
    gnmmarechal and MajinCubyan like this.
  6. gnmmarechal

    gnmmarechal Kirigiri > Naoto

    Member
    GBAtemp Patron
    gnmmarechal is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    4,543
    2,721
    Jul 13, 2014
    Portugal
    https://gs2012.xyz
    huh, here I have good weather, live near the shore, and barely went to the beach this year x.x
     
  7. SYNYST3R1

    SYNYST3R1 Member

    Newcomer
    20
    13
    Feb 10, 2013
    United States
    I'm very excited to see this engine because I've been looking for something like it on pc for awhile now. I'm new with LUA and a pretty amateur programmer in general so these may be dumb questions... Is there a way to make the 2D image draw in the first layer instead of disappearing? Or will that come with the sprite animation support? Is there any way to test the game in Windows?
     
  8. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,263
    Nov 24, 2014
    Italy
    Bologna
    What do you mean by "make the 3d image draw in the first layer instead of disappearing?"

    Anyway, atm there's no lpp-vita debugger for PC. There's one for lpp-3ds (where RayCast3D exists too) but it's still in early stage and doesn't support RayCast3D at all.
     
    gnmmarechal likes this.
  9. SYNYST3R1

    SYNYST3R1 Member

    Newcomer
    20
    13
    Feb 10, 2013
    United States
    It hides the 2D image behind the walls. Is there a way to do a UI that always draws in front of everything else
     
  10. Rinnegatamante
    OP

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,263
    Nov 24, 2014
    Italy
    Bologna
    Just print your stuffs after RayCast3D.renderScene...