Closed rifaterdemsahin closed 6 years ago
with hp flicker day...can i see it in the screenshot ?
nope here with an external camera https://www.reddit.com/r/spectrex360/comments/98ajzj/what_is_this_line/
Show the tutorial as it sets the logic there so people know how to play the game.
have a bar to place them there
it needs to move from bottom to up with code not drag and drop the tutorial requirement is different
end position
use references and move to the reference! instead of using the numbers use the pointers.!
game controller to move them and assign the code dominates the action like transaction script
it looks like the object might need to fly and there is a need for a poc https://answers.unity.com/questions/296347/move-transform-to-target-in-x-seconds.html
Game object to move there for the tutorial to progress
now it is flying
using System.Collections; using System.Collections.Generic; using UnityEngine;
public class movecube : MonoBehaviour {
// Use this for initialization
float t;
Vector3 startPosition;
public GameObject targetGameObject;
public float timeToReachTarget;
void Start()
{
}
void Update()
{
t += Time.deltaTime / timeToReachTarget;
var target = targetGameObject.transform.position;
transform.position = Vector3.Lerp(startPosition, target, t);
}
public void SetDestination(Vector3 destination, float time)
{
startPosition = transform.position;
timeToReachTarget = time;
var target = targetGameObject.transform.position;
target = destination;
}
}
issue them flying at the same time is an issue
they have to fly one by one
we need on and off switches here
added readytoStart action and triggered from there
this solved the start position error
now solve how we can trigger t he other one and enable it
4 lines and composition for starters
Letter 3 triggers letter 4
We need to show that that is a win after the last action that trigger the win enable
show the experience points
last object does not have everything
(: Ford moment... time stops
last action is not poping up