Skip to content

Releases: play-co/devkit-core

v4.5.4

26 Sep 21:53
ee9756a
Compare
Choose a tag to compare

Includes fix for Windows utime error in devkit serve

v4.5.1

12 May 20:45
Compare
Choose a tag to compare

Latest devkit-core as of 5/12/2016

An optimized loader.js that pre-screens repeat resources to avoid trying to load them twice.

v4.5.0

22 Mar 23:22
Compare
Choose a tag to compare

Latest devkit-core as of 3/22/2016

  • device
    • support manually setting devicePixelRation through device.setDevicePixelRatio
    • get default devicePixelRatio through device.screen.defaultDevicePixelRatio
    • all user agent flags in device.js now deprecated. Use userAgent.js
  • performance
    • new performance class to track frame rate and give global performance score via performance.getPerformanceScore
    • support automatic devicePixelRatio scaling based on performance score
  • userAgent
    • new userAgent class provides platform information
  • DPRScaleView
    • new DPRScaleView class that listens for DPR changes and scales itself accordingly
  • bug fixes
    • iOS respects disableIOSLandscapeScroll flag when resizing
    • Screen no longer flickers to black when activating filter for the first time in WebGL mode
  • deprecations
    • ui.GestureView has been officially deprecated

v4.4.0

02 Mar 05:46
Compare
Choose a tag to compare

Latest devkit-core as of 3/1/16

If you are seeing scaling issues in your simulator, please update to the latest devkit tag v3.1.3 or greater.

  • timestep.animate
    • pool Frame classes to minimize memory allocation and garbage collection in animation heavy applications
    • provided API for initializing Frame class pools
    • removed onTick parameter from .then( and .now(
      • these were not support on native platforms and there are easier ways to accomplish the same effect in a fully supported way; i.e. myView.tick = function (dt) { ...
  • timestep.ui.effectsEngine
    • minor optimizations
    • provided API for initializing class pools
  • WebGL renderer
    • bug fixes
    • enable in your manifest.json using:
    "browser": {
      "canvas": {
        "useWebGL": true
      }
    },

v4.2.0

11 Dec 00:46
Compare
Choose a tag to compare
  • Allows preloading sounds by directory as opposed to individual file name in browser builds
  • Timestep updates
    • tabs converted to spaces
    • Image (both HTML5 and the devkit class) caching is no longer duplicated across classes
    • ScrollView no longer bounces in a direction it cannot scroll
    • when View's style.centerAnchor is true, anchorX and anchorY are updated accordingly on width and height update
    • remove key listener from focus manager (was consuming all key presses when added to a website)
    • enable scrolling on landscape web builds in iOS >= 7, can also be disabled via config
    • other misc. bug fixes and clean up
  • Native updates
    • native-android and native-core support critical memory flag reset in texture manager

v4.1.0 - effectsEngine

01 Dec 05:18
Compare
Choose a tag to compare

The ultimate devkit particle engine! (It's new, and does not replace the original ParticleEngine)

  • leverages deltas (pixels per second) and target values with easing (timestep animate)
    • animate is applied to views directly to take advantage of native-core acceleration
  • all properties can be parameterized with distribution over particle index, time, both index and time, or just randomly
    • properties can use the same parameter to "entangle" their behavior
    • parameter distribution can also be modified by easing functions
  • supports a JSON data format
  • separate data validation and emission; skipDataValidation: true for best performance
  • pooled classes for minimal garbage collection
  • singleton engine keeps it simple
  • pause, resume, and clear all effects or individual effects by ID
  • live particle editor, coming soon!

Other changes include:

  • WebGL optimizations
  • orientation splash in web builds blocks game initialization until proper orientation is achieved
  • configurable sprite groups for optimized builds
  • latest native android, fixes a thread leak

v4.0.5

29 Oct 03:19
Compare
Choose a tag to compare
  • Android Texture Manager
    • more robust against low memory on older devices
    • half sizes textures at screen resolutions <= 480 pixels (used to be 320)
  • SpriteView hasAnimation function

v4.0.3

24 Oct 17:29
@mgh mgh
Compare
Choose a tag to compare

Fixes ios builds on node.js >= v4.0.0 (updated native-ios's xcode dependency: alunny/node-xcode#61)

v4.0.2

19 Oct 06:51
@mgh mgh
Compare
Choose a tag to compare

changes:

  • fixes spriter bug with fully transparent images
  • fixes browser splash screens
  • fixes native-archive zip files missing directory entries
  • adds open-graph support

Fixes AudioManager music bug

15 Oct 21:29
Compare
Choose a tag to compare

Music no longer plays twice when using the simulator's mute button