Forum rules - please read before posting.

Dev_Martas

About

Username
Dev_Martas
Joined
Visits
669
Last Active
Roles
Member

Comments

  • Version 1.79.1 and movement method: None. Could that be the reason?
  • There is no other hotspot. Only the Exit one. I click the hotspot, and the Player heads towards it. Before reaching it, I click somewhere else on the navmesh, so the player changes direction and does not go to the hotspot anymore. Its action is set …
  • I found an issue that I suspect is connected with the SuperScript. The Hotspot Interactions setting Walk To Marker stopped working. Now if I click a hotspot with exit from the scene, the character exits the scene even if I click somewhere else befor…
  • Everything seems to work as it should! Many many thanks, Chris! :-)
  • Sadly once I enter any value but 1 in the zoom speed, the camera still breaks (now went completely black) on Android and does not zoom on Desktop. I just realized the camera twitching happens when I want to remove my fingers from the screen after I…
  • Unfortunately, the problem persists. On top of that, when I change the zoom speed to anything besides the default 1, it messes up the zoom even more. On the desktop, the scrolling wheel then behaves more like panning. On Android, once I zoom in I ca…
  • On the desktop, all seems to work properly! Also, the camera snaps to the player at the start of the scene :-) On Android, however, the pinch Zoom seems to be still causing problems. The camera sometimes just jumps across the place when you try to …
  • Yes, all of them are dragable and zoomable. I am using two, because I have a horizontally long scene with two entry points, each one on the opposite side. Each camera has a different Position set so when you enter the scene from the particular point…
  • (Quote) Just to be sure: it has a public field where I need to put the camera in Editor. So it does not matter which one I put there, even though a different camera may be used during gameplay? The zooming out (3) is not leaving the borders of the …
  • These scripts work, thank you! I just have a few details regarding the Zoom I'd need help with: * I have multiple cameras on several scenes. How to adjust the ClickUpToMove to accommodate all of them? * Is it possible to zoom on the current specifi…
  • Works on Desktop! More in the other thread https://adventurecreator.org/forum/discussion/14517/pinch-zoom-and-panning-on-mobiles#latest
  • It works on desktop with Mouse and Keyboard Input! :-) On Android phone seems to work properly only when the Mouse and Keyboard are set. However, pinch zoom breaks the camera when used. When I build the game with Touch input, the player still follo…
  • My mistake, trying on an Android device now but it is also not good. The character is moving this time, however, panning does not work, when I tap somewhere while the character is moving, it twitches (like the movement command was reset, it does not…
  • The camera should by default follow the player. But at any time, you can drag it - then it will stop following the player and stay where you leave it. It will reset back to default and follow the player again only after you click/tap somewhere on th…
  • I tried to fix the camera switching script, but it seemed to have caused more issues and the standard camera didn't follow the player anyway. Your suggestion of a separate script works and is more elegant :-) Unfortunately, the way this script work…
  • Sure. Currently, I am using Cmera2DDrag with this Zoom script attached to it: using UnityEngine;public class PanZoom : MonoBehaviour{ Vector3 touchStart; public AC._Camera gameCamera; public float zoomOutMin = 1; private float maxOrthog…
  • I tried the script from February 6 on the mobile version while setting mouse and keyboard input. It works nicely, however, I am also using pinch zoom and once I attempt to zoom in, the game goes bonkers and jumps outside of the scene into black. Tha…
  • The other approach would be to have two separate cameras - one that's a regular GameCamera2D that follows the player, another that's a GameCamera2DDrag with your attached script, and then switch between them when custom input is detected/lost. You c…
  • The character does not move or react at all. I tried to set mouse and keyboard and touch screen and the result is still the same.
  • It is giving me compiler error CS0034 regarding the operator != not being specific on Vector2 and 3 on this line: if (button == 0 && Input.touchCount > 0 && Input.GetTouch(0).position != startPosition)
Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.