This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
In EX1, my objects would render (seemingly a single frame) at the ZKpositionTo position before starting from the setFrom() position. Not every time, but sometimes. | |
I'm used to Greensock's (AS3/JS) Tween library and I never ran into this issue, so I may be bringing expectations over incorrectly. | |
In EX2, I explicitly set the from position and then only use ZKpositionTo. This works as expected. | |
You mentioned on Twitter that "the first tick is a 0 elapsedTime tick", and I'm assuming this may be the culprit of the unwanted frame render. | |
Any way to alleviate the issue? Any other thoughts? Or is this expected behavior? | |
*/ | |
//EX1 - this example has the issue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<div class="col-md-4"> | |
<!-- Images Component --> | |
<app-control-panel label="Images"> | |
<app-control-panel-button> | |
<button class="pull-right">Shuffle</button> | |
</app-control-panel-button> | |
<app-control-panel-body> | |
<app-image-select></app-image-select> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Directive, ElementRef, EventEmitter, Input, Output } from '@angular/core'; | |
@Directive({ | |
selector: '[selectable]', | |
host: { | |
'(click)': 'onClick()' | |
} | |
}) | |
export class SelectableDirective { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<my-custom-svg [width]="500" [height]="300"> | |
<g my-custom-content-projected-svg [item]="item"></g> | |
</my-custom-svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UnityEngine; | |
public class Signals : MonoBehaviour | |
{ | |
/*********************************************************************************************** | |
PRELOAD | |
***********************************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// DOCUMENTATION ----------------------------------------------------------------------------------- | |
// This custom EditorWindow exists to streamline common level design scenarios for Shape Rain. | |
// DEPENDENCIES ------------------------------------------------------------------------------------ | |
using UnityEngine; | |
using System; | |
using UnityEditor; |