-
Notifications
You must be signed in to change notification settings - Fork 1
Migration guide
v10.5 > v10.6
- Refactored
Time
. Addedsmooth_delta_time
andfixed_delta_time
. - Added
fixed_update
to render loop. - Now debug draws objects in its own scene.
- Added short naming to Time properties.
- Added fixed_update and before_update to view manager.
- Added ability to set
flipY
,premultiplyAlpha
andcolorSpaceConversion
on texture initialization. - Added
wolvic
to vr browser list - Fixed
ActionSequencer
events not firing correctly when usingset_progress
. - Fixed
Browser.is_vr
method.
v10.4 > v10.5
- Add VR browser detection to
Browser
.
v10.3 > v10.4
- Added
create-scene
command. - Added
load_iframes
andload_elements
toHTMLUtilities
.
v10.2 > v10.3
- Support Threejs attributes on Graphics initialization.
- Return both mayor and minor versions on
Browser.version
. - Update
create_view
transition template. - Render bloom with non native resolution.
v10.1 > v10.2
- Support Args to Transition Triggers
- Use code instead of key on KeyboardInput
v10.0 > v10.1
- Add
fit_bounding_box_points
toCameraUtilities
. - Fix
capitalize
method tocreate_view
andcreate_component
commands.
v9.5 > v10.0
- Move
Input
from core to boilerplate. - Move
pit-js
from core to boilerplate. - Fix
snake_to_camelcase
on command lines.
v9.4 > v9.5
- Bring boilerplate tasks into core.
- Update PIT to 2.0.0
v9.3 > v9.4
- Use
ImageBitmap
when loading textures. - Add Extension to
CubemapLoader
. - Expose
ActionSequencer.playback_speed
as URL param.
v9.2 > v9.3
- Exposed
AddMaterial
andUnrealBloomComposeMaterial
.
v9.1 > v9.2
- Add
get_random_color
toStringUtilities
.
v9.0 > v9.1
- Rename
initial_state_data
todefault_state_data
.
v8.1 > v9.0
- Replace all 'export default' exports.
v8.0 > v8.1
- Add VR Support on three 148.
v7.1 > v8.0
- Update Three to 148.
v7.0 > v7.1
- Refactored
GPUParticleSystem
. - Improved FP Texture detection.
v6.16 > v7.0
- Updated Three to 146.
- Removed
TMath
references in favor ofOMath
. - Fix transitions taking at least 1 second.
v6.15 > v6.16
- Added new attributes to
MeshSampler
. - Fixed camera copy methods.
v6.14 > v6.15
-
GLTFDRACOLoader
now receives DRACO loader from outside. - Improve
AudioLoader
. - Added
go_to_scene
toViewManager
. - Update PIT.
- Allowed
RGBETextureLoader
to load HDR textures.
v6.13 > v6.14
- Prevent loading a resource more than once.
- Fixed take screenshot dpr restoration.
v6.12 > v6.13
- Added
HTMLUtilities
. - Removed sRGBEncoding from BasisLoader.
v6.11 > v6.12
- Bring
Input.clicked
behavior to core.
v6.10 > v6.11
- Added
load_html_images
andload_html_videos
methods to ApplicationView.
v6.9 > v6.10
- Support XR.
v6.8 > v6.9
- Added
AsyncTextureLoader
.
v6.7 > v6.8
- Use OHZI transitions editor for transitions.
v6.6 > v6.7
- Added the ability to change browser title.
v6.5 > v6.6
- Rename
Screen
toOScreen
. - Added
OScreen.portrait
.
v6.4 > v6.5
- Added
KeyboardInput
into Input as .keyboard property. - Add buffer to Time.delta_time.
v6.3 > v6.4
- Move basis loader configuration outside Loader.
v6.2 > v6.3
- Add
view_change_subscribers
Observer to ViewManager. - Add
is_channel_redefined
to ActionSequencer. - Set components opacities from the core.
- Add the ability to have more than one transition data for a view.
- Fix manual clear buffer.
- Fix jumps on ActionSequencer transitions.
v6.1 > v6.2
- Update Three from 134 to 137.
- Update PIT: Added
Input.clicked
. Addedis_touchscreen
flag.
v6.0 > v6.1
- Added
Screen.size_changed
flag.
v5.20 > v6.0
- Change usage of
ResourceBatch
. All specific methods were removed (likeadd_texture
oradd_gltf
). Now all loaders should be added usingadd_loader
method.
v5.19 > v5.20
- Added
ActionSequencer
playback speed.
v5.18 > v5.19
- Added
on_frame_end
application call.
v5.17 > v5.18
- Renamed
MathUtilities
forOMath
- Added
lerp
andclamp
toOMath
v5.16 > v5.17
- Update Three from
128
to134
.
v5.15 > v5.16
- Added
VideoLoader
. - Stop using Three texture Loader.
- Added
Browser
Class. Removeis_safari
fromOS
Class. It is available onBrowser
Class now.
v5.14 > v5.15
- Allow jump to another View in the middle of a transaction.
- Use independent temp vectors on CameraUtilities.
-
InitialView
has to be a valid container. We can usecontainer: { style: {} }
. -
set_opacity
calls have to be removed fromupdate_enter_transition
andupdate_exit_transition
. -
pointer-events: none;
has to be removed fromdiv.before_enter
.
v5.13 > v5.14
- Added
ActionSequencerBuilder.from_draw_io
. - Added
ActionSequencer.set_progress
. - Added Typescript types.
v5.12 > v5.13
- Reworked rendering workflow. Added scene render callbacks.
- Exposed
StringUtilities
. - Use only one instance if a resource is loaded many times (checking by URL).
v5.11 > v5.12
- Integrated action events from draw io.
- Added ViewContext for action events.
- New constructor interface in
ViewComponent
:constructor({ name, container })
- Added
enable_component
anddisable_component
. - Updated only enabled components.
-
Deprecated
get_component_by_name
method. Now should we useViewComponentManager.get
method.
v5.10 > v5.11
- Exposed
DualFilteringBlurrer
.
v5.9 > v5.10
Replace update_transition
method with update_enter_transition
and update_exit_transition
methods.
v5.8 > v5.9
- Add the ability to skip a view transition.
- Add and remove
before_enter
andbefore_exit
classes when a view transition is performed. - Add
left_mouse_button_clicked
on Input. - Exposed
action_sequencer
toupdate_transition
method.
v5.7 > v5.8
Add before_enter
and before_exit
methods to ApplicationView.
v5.6 > v5.7 Update Threejs from 123 to 128. From this point, the boilerplate shouldn't have three as a dependency.
v5.5 > v5.6
-
BasisLoader
now receives arenderer
and aloader
v5.4 > v5.5
- All Views must have an URL.
v5.3 > v5.4
All Views must have a draw.io XML (it could be empty) in order to make it work.
You should use npm run create_view
command now to create new views.
update
method is split in two parts. Now there are 2 methods:
-
update_transition
: is called when aViewManager.go_to_view(view_name)
is called. it will be updated during the transition defined in the draw.io file from that view. -
update
: is the regular update method. The only difference is now it is called right after the transition is finished.
v5.1 > v5.2
ViewComponent
constructor receives the name of the component.
v5.0 > v5.1 Added View transition system.
-
MainApplication.start()
now isMainApplication.on_enter()
-
MainApplication.end()
now isMainApplication.on_exit()
- All Views should extend from
ApplicationView
(from this core) - All Components should extend from
ViewComponent
(from this core)
v4.18 > v5.0
-
Added
init()
method toAppApi.js
.init()
is called at the very beginning of the execution. Even before start loading assets. Consider this function as the oldconstructor()
. We added this to supportdispose
andload
the entire app many times in a single run. -
Added
Initializer
. Now you should remove onAppApi.init()
:Graphic.init()
Input.init()
Debug.init()
Then add:
Initializer.init(canvas, app_container, context_attributes)
-
Rename
CameraDebugState
toCameraStandardState
. -
And other small changes. Please use this commit as reference.
v4.9 > v4.18
-
BaseApplication
post_start method changed toon_post_start
v4.8 > v4.9
- Update
THREEJS
to v123.
v4.6.2 > v4.8
-
CSSAnimator.finished_callback
Sends the animator itself instead of the HTML element.
v4.1.2 > v4.2
-
Configuration.is_mobile
Moved to OS class -
Configuration.is_ios
Moved to OS class -
Configuration.is_ipad
Moved to OS class -
Moved
Components.Grid
toGrid
-
Moved
Components.UIElement
toUIElement
-
Moved
Components.Text2D
toText2D
-
Moved
Components.Line
toLine
-
Graphics.init(canvas, msaa, context_attributes)
changed to
Graphics.init(canvas, context_attributes)
-
Graphics.on_resize
called internally
v3.1 > v4
- Removed three from index. Now loaded as a module
v3 > 3.1
-
Screen.dpr
moved toConfiguration.dpr
v2 > v3
- Zingtouch lib has been removed