Skip to content

Files

Latest commit

FlokiTVFlokiTV
FlokiTV
and
FlokiTV
May 31, 2021
2adc965 · May 31, 2021

History

History
107 lines (68 loc) · 2.62 KB

README.md

File metadata and controls

107 lines (68 loc) · 2.62 KB

GDevelop Voxel Sprite Stack

2D rendering tecnic built over PixiJS and support for GDevelop Engine

This tool is focused in Magica Voxel Slice Exporter (Vertical sheet)

I'll working to suport any directions slice sprite sheet

Before start, remember to apply nearest on scale mode

Dowload link: Extension.json

Tutorial:

https://www.youtube.com/watch?v=gFqr2yaCLAY - old - now has camera 3d, but works

YOUR MODEL MUST BE ON ANIMATION #1

enter image description here tip: make a invisible png on end of animation 0 to hide ingame placeholder

Online Example:

Check the videos:

https://www.youtube.com/playlist?list=PLe_oBt7tqrpf7KOVxOThL1H1-VwLuKRZi

Todo:

  • stacked object

    • draw
    • XY Sort
    • angle (by obj variable)
    • toggle
    • single density
    • angle from parent object
    • redraw
    • get/set/add rotation
    • slice offset
    • XY Sort by bounds
  • shadow system

    • self cast
    • add toggle
    • add angles
    • add opacity
    • maybe:
      • offset
      • light blend/mask
  • light system

    • world angle ligth
    • spot light
  • camera rotation

    • yaw
    • pitch
    • roll?
  • others:

    • XY Sort for 2D objects
    • reverse stack (for support others exports type)
    • animation suport
    • refatorate all code.

Send inssues to help

Like my job? please help me keep working on this

https://www.patreon.com/FlokiTV

Some free vox models

https://reddany.itch.io/pack-3-truck-style-voxel

https://mehrasaur.itch.io/voxel-buildings

https://maxparata.itch.io/voxel-mechas

https://maxparata.itch.io/voxel-spaceships

Inspirations

https://www.youtube.com/watch?v=_BztMPC5Kk4

https://www.youtube.com/watch?v=WZ64avAykTA

https://www.youtube.com/watch?v=DNDwo7855Gs

Resources

https://marctenbosch.com/quaternions/

https://medium.com/swlh/understanding-3d-matrix-transforms-with-pixijs-c76da3f8bd8