playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - nabilfx

Pages: [1] 2 3 ... 5
1
Playmaker Help / CN control help!
« on: August 20, 2017, 08:20:40 AM »
Im using CNControls joystick , i need to connect the horizontal and vertical of the joystick, with the add force X and Z value from another object. . so i can be able to put for from 0 to 1 and 0 to -1 in both position. How can i do that?

2
Playmaker Help / Freeze camera image
« on: April 30, 2017, 05:13:28 AM »
It is possible to freeze the camera image, not save, just freeze the image. With a touch of a buttom?

3
Playmaker Help / Itween Animation help.
« on: March 13, 2017, 11:25:11 AM »
im using itween, i have 10 buttons that using itween scale from, they have a 0.1 delay between.
The problem, if i click any of those button before them finish the itween animation, they get mess, i mean, some of the button, play the itween animation, before or after another, and some ones does not complete the itween animation.
I would like to if it possible to fix that.

 

4
Playmaker Help / FSM help.
« on: March 11, 2017, 07:15:20 PM »
I have two scenes, in the first scene I have 2 fsm, one image and one button, and in scene two I have one fsm button. Scene 1 starts with the fsm of the image then I click on the fsm button and goes to scene two, I need that when I click on the fsm button of scene two, return to scene one, only with the fsm of the button on, and fsm of the image off .

I need to go back to the other scene, in a specific fsm.

It's possible?

5
VR Help / Camera reset position Help.
« on: March 05, 2017, 06:10:37 AM »
I need to reset the VR camera position in front of an 3d cube, in unity the camera reset its position right. But when i build&run in the android, the camera position  in front of the 3d cube does not reset the position.  How can i fix that with playmaker?

here the project with the vr cam and playmaker
https://we.tl/BATeV7yTGZ

6
Playmaker Help / Reset position help.[SOLVED]
« on: February 28, 2017, 04:07:06 PM »
I need to reset the object position relative to the camera. How can i do that?

7
Playmaker Help / error rror CS0246 help!
« on: February 19, 2017, 12:55:35 PM »
unity show this error.

Assets/PlayMaker Utils/Wizards/LinkerWizard/LinkerData.cs(18,7): error CS0246: The type or namespace name `PlayMaker' could not be found. Are you missing a using directive or an assembly reference?

how can be fix?

8
Playmaker Help / LinkerData is missing Help!!!
« on: February 18, 2017, 05:00:25 AM »
I did the linker Wizard, but every time i build for iphone, then Xcode dont let load the level, error said.

(LinkerData is missing an instance, please create one first in your assets from the create menu: Assets/Create/PlayMaker/Create Linker Wizard
HutongGames.PlayMaker.Fsm:UpdateStateChanges()
HutongGames.PlayMaker.Fsm:Update()

Why this problem keep showing, i did the whole linker wizard process, can be fix?

im using Unity 5.4.2f2 and playmaker 1.8.3 and Xcode 8.2.1 (8C1002)

9
Playmaker Help / 2 finger rotate
« on: December 05, 2016, 11:54:05 AM »
It is possible to rotate an object with 2 finger on X and Z?

10
Playmaker Help / Disable cs script function
« on: October 17, 2016, 12:01:15 PM »
my cs. script have this
map.UsesLocation = true;

i need to make it public for playmaker.

How can i do that

11
Playmaker Help / Send data to sql, help
« on: September 22, 2016, 10:00:23 AM »
I need to save data from unity through playmaker to mysql. I this possible, is easy for me to learn.

12
Playmaker Help / Conect C# to playmaker help
« on: February 07, 2016, 12:37:46 PM »
I have a CSharp script, i need to trigger one function in the script (Save Screenshot To Camera Roll)
How can i turn just this function public then i can see it in playmaker.
heres the script
Quote
using UnityEngine;
using System.Collections;

public class NativeIOSActionsExample : BaseIOSFeaturePreview {

   public Texture2D hello_texture;
   public Texture2D drawTexture = null;


   void Awake() {


      IOSSharedApplication.OnUrlCheckResultAction += OnUrlCheckResultAction;


      IOSDateTimePicker.instance.OnDateChanged += OnDateChanged;
      IOSDateTimePicker.instance.OnPickerClosed += OnPickerClosed;
   }



   void OnGUI() {
      UpdateToStartPos();


      GUI.Label(new Rect(StartX, StartY, Screen.width, 40), "Using URL Scheme", style);
      
      
      StartY+= YLableStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth, buttonHeight), "Check if FB App exists")) {
         IOSSharedApplication.instance.CheckUrl("fb://");
      }
      
      StartX += XButtonStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth, buttonHeight), "Open FB Profile")) {
         IOSSharedApplication.instance.OpenUrl("fb://profile");
      }
      
      StartX += XButtonStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth, buttonHeight), "Open App Store")) {
         IOSSharedApplication.instance.OpenUrl("itms-apps://");
      }

      StartX += XButtonStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth, buttonHeight), "Get IFA")) {
         IOSSharedApplication.OnAdvertisingIdentifierLoadedAction += OnAdvertisingIdentifierLoadedAction;
         IOSSharedApplication.instance.GetAdvertisingIdentifier();
      }



      StartX = XStartPos;
      StartY+= YButtonStep;
      StartY+= YLableStep;
      
      
      
      GUI.Label(new Rect(StartX, StartY, Screen.width, 40), "Date Time Picker", style);

      StartY+= YLableStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth, buttonHeight), "Time")) {
         IOSDateTimePicker.instance.Show(IOSDateTimePickerMode.Time);
      }


      StartX += XButtonStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth, buttonHeight), "Date")) {
         IOSDateTimePicker.instance.Show(IOSDateTimePickerMode.Date);
      }

      StartX += XButtonStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth, buttonHeight), "Date And Time")) {
         IOSDateTimePicker.instance.Show(IOSDateTimePickerMode.DateAndTime);
      }

      StartX += XButtonStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth, buttonHeight), "Countdown Timer")) {
         IOSDateTimePicker.instance.Show(IOSDateTimePickerMode.CountdownTimer);
      }



      StartX = XStartPos;
      StartY+= YButtonStep;
      StartY+= YLableStep;



      GUI.Label(new Rect(StartX, StartY, Screen.width, 40), "Video", style);
      
      
      StartY+= YLableStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth, buttonHeight), "Player Streamed video")) {
         IOSVideoManager.instance.PlayStreamingVideo("https://youtu.be/WA55SZJQbMw");
      }
      
      StartX += XButtonStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth, buttonHeight), "Open YouTube Video")) {
         IOSVideoManager.instance.OpenYouTubeVideo("xzCEdSKMkdU");
      }

      
      StartX = XStartPos;
      StartY+= YButtonStep;
      StartY+= YLableStep;



      
      GUI.Label(new Rect(StartX, StartY, Screen.width, 40), "Camera Roll", style);
      
      StartY+= YLableStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth + 10, buttonHeight), "Save Screenshot To Camera Roll")) {
         IOSCamera.instance.OnImageSaved += OnImageSaved;
         IOSCamera.instance.SaveScreenshotToCameraRoll();
      }


      StartX += XButtonStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth, buttonHeight), "Save Texture To Camera Roll")) {
         IOSCamera.instance.OnImageSaved += OnImageSaved;
         IOSCamera.instance.SaveTextureToCameraRoll(hello_texture);
      }


      StartX += XButtonStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth, buttonHeight), "Get Image From Camera")) {
         IOSCamera.instance.OnImagePicked += OnImage;
         IOSCamera.instance.GetImageFromCamera();
         
      }

      StartX += XButtonStep;
      if(GUI.Button(new Rect(StartX, StartY, buttonWidth, buttonHeight), "Get Image From Album")) {
         IOSCamera.instance.OnImagePicked += OnImage;
         IOSCamera.instance.GetImageFromAlbum();

      }



      StartX = XStartPos;
      StartY+= YButtonStep;
      StartY+= YLableStep;
      GUI.Label(new Rect(StartX, StartY, Screen.width, 40), "PickedImage", style);
      StartY+= YLableStep;

      if(drawTexture != null) {
         GUI.DrawTexture(new Rect(StartX, StartY, buttonWidth, buttonWidth), drawTexture);
      }
   

   }

   void OnDateChanged (System.DateTime time) {
      Debug.Log("OnDateChanged: " + time.ToString());
   }

   void OnPickerClosed (System.DateTime time) {
      Debug.Log("OnPickerClosed: " + time.ToString());
   }
   

   private void OnImage (IOSImagePickResult result) {
      if(result.IsSucceeded) {

         //destroying old texture
         Destroy(drawTexture);

         //applaying new texture
         drawTexture = result.image;
         IOSMessage.Create("Success", "Image Successfully Loaded, Image size: " + result.image.width + "x" + result.image.height);
      } else {
         IOSMessage.Create("ERROR", "Image Load Failed");
      }

      IOSCamera.instance.OnImagePicked -= OnImage;
   }

   private void OnImageSaved (ISN_Result result) {
      IOSCamera.instance.OnImageSaved -= OnImageSaved;
      if(result.IsSucceeded) {
         IOSMessage.Create("Success", "Image Successfully saved to Camera Roll");
      } else {
         IOSMessage.Create("ERROR", "Image Save Failed");
      }
   }

   private void OnUrlCheckResultAction (ISN_CheckUrlResult result) {

      if(result.IsSucceeded) {
         IOSMessage.Create("Success", "The " + result.url + " is registered" );
      } else {
         IOSMessage.Create("ERROR", "The " + result.url + " wasn't registered");
      }
   }

   void OnAdvertisingIdentifierLoadedAction (string Identifier) {
      IOSMessage.Create("Identifier Loaded", Identifier);
   }
}

13
Playmaker Help / Touch move and rotate
« on: February 03, 2016, 12:38:03 PM »
Is is possible to touch move and rotate a 3d object, one finger to move and two for rotate, is possible?

14
Playmaker Help / score system
« on: January 17, 2016, 04:25:49 PM »
There is a tutorial showing, how to create a login and score system with mysql, in playmaker?

15
Playmaker Help / Help script addScore
« on: November 17, 2015, 12:17:10 PM »
Im using this script with iphone, but sometimes it work and sometimes does not work.
The script is for add int score to my database in mysql. What could be the problem?

I put the Int value result of the game, in this way.
the score_GLOBAL is a float result then i convert into a Int, and insert in the java script, here the script.

Quote
using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class AddScore : MonoBehaviour {
   
   void Start(){
      AddPScore (0);
   }
   void AddPScore(int storeResult){
      WWWForm form = new WWWForm ();
      form.AddField ("user", LoginSystem.userName);
      form.AddField ("score", storeResult);
      WWW w = new WWW ("http://nfx.comuv.com/AddScore.php",form);
      StartCoroutine (receive (w));
      Debug.Log("funcionou");
   }
   IEnumerator receive(WWW w){
      yield return w;
      if (w.error == null) {
      }
   }
   
}

I need to work everytime, not sometimes.

Pages: [1] 2 3 ... 5