This sample is the license page in WinTicket app.
- Pull the camera angle
- The road lines move away and move backwards
- The bicycle does not move because the camera only pulls
- Pedal the bicycle
- Move the road line
- The towers approach (intervals are equal)
- The trees, the churches and the houses which are randomly generated approach
- The sun raises
- Basic movement is the same as second scene
- The length of the second scene and the third scene is variable
- The sun changes to the moon
- It grows dark and it is night
- The camera is fixed
- Only the bicycle goes and disappears
- Tilt the camera from bottom to top
- Widen the road
- Make the mountain parallax
- Scale in the logo
- Show the credit
- Make the mountains appear closer
The bicycle is switched by the following three images.
Left | Center | Right |
---|---|---|
This lines move along this function.
y=1/(h^n) * x^n
- Graph
e.g. h(height)=2000, n=6.5
- Spread sheet
You can change values and see how it works.
https://docs.google.com/spreadsheets/d/18L7ELAOvYFlnyRuj-T_5yDBZDgzLFjkvj8rHRkcF230/edit#gid=0
x=rcosθ, y=rsinθ
Change a pivot.
-
Left objects: lower right
(pivotX, pivotY) = (view.width, view.height)
-
Right objects: lower left
(pivotX, pivotY) = (0, view.height)
Copyright 2019 CyberAgent, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.