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 - MS80

Pages: [1]
1
General Discussion / how to wait precise in milliseconds
« on: July 18, 2016, 09:18:28 AM »
I have a problem with the regular wait action, maybe I'm doing something wrong, but it seems to me that "wait" is very imprecise if it comes to very short times, f.e. 0.005 sec! I feels like there is a limit for the wait action, like around 0,1 seconds, it does not care of smaller values.

I have a sensor input and want to capture values in intervals, f.e. every 5 millisecond (=0.005 seconds) to calculate a stabilized average value, but this is not possible with wait action. To capture input per frame (with next frame) is no option, this is a bit too slow (@60fps = 0.016 second) I need very short periods.

I have no idea how to get more precise wait periods, any help is welcome!

2
Share New Actions / Get Next Physics Overlap Box
« on: May 07, 2016, 03:23:40 PM »
I could not find a action for Physics.OverlapBox, so here it is!

The attached action is a modified version of "GetNextPhysicsOverlapSphere", it takes object box dimension (halfExtent = Half of the size of the box in each dimension.) and orientation into account.

3
The action "call method" does not send the parameter "Color" correctly.
RBG values are correct, Alpha not (it will always be 255).

Unity 5.3.2f1, Playmaker 1.8.0f41

PS: using "send message" with parameter "Color" works just fine, but if you use a variable as color, it won't work correcty, also the naming next to the color variable is "texture"?!


4
General Discussion / how to use: "Get Last Pointer Data Info" ??[SOLVED]
« on: October 26, 2015, 10:18:46 AM »
Hi, I have problems using the "Get Last Pointer Data Info" action. Any way I use it, none of the provided informations will be stored?! Unfortunatly I found nothing how to use this action correctly...

What I would like to get is some information of the Unity UI Event System, f.e. which Button (GameObject) was entered or exited last time. It seems "Get last Pointer Data" could do this?! But how?!

Any help is welcome! Maybe there are other solutions to get EventSystem information?!

EDIT: using Unity 5.2.1f1 and Playmaker 1.7.8.3p2

5
Feature Requests / Audio Mixer Snapshot Transition action
« on: April 13, 2015, 08:18:34 AM »
Hi, did you had the time to check out the new Audio Mixer?
It's a great improvement but I could not find any actions regarding to AudioMixer...

It would be cool if we had a playmaker action for Snapshot transition:
- Snapshot transition (Snapshot1, Snapshot2, Transition Time, Transition Type)

What do you think?


6
Action Requests / copy file (FileUtil: copy)
« on: September 03, 2014, 06:51:54 AM »
I would like to copy a file (pdf, jpg, mov, etc.) from one directory to another.

With FileUtil this seems to be possible and uncomplicated.
"FileUtil.CopyFileOrDirectory ( sourcePath, destinyPath );"

Maybe there is already a similar action to copy files out there?! I did not found a action for this situation....

Would be great to have a action with the following functionality:
- path source (absolute / relative with StreamingAssets)
- path destination (absolute / relative with StreamingAssets)
- file existing? folder existing?
- file written? failed?

7
Android Help / Playmaker adds PERMISSIONs to AndroidManifest.xml
« on: July 25, 2014, 07:01:14 AM »
Yesterday I identified playmaker adds unwanted permissions to AndroidManifest.xml.

=> example:
I have a project without any playmaker asset imported, working and an existing AndroidManifest.xml (under Assets/Plugins/Android/) with some wanted permissions. If I publish this project everything works fine, the AndriodManifest.xml will stay the same and permissions are like expected!

Now I just import playmaker asset from asset store, without even using playmaker in my project (no fsm, no actions, nothing) and automatically these lines will be added to AndroidManifest.xml while publishing:


  <uses-permission android:name="android.permission.VIBRATE" />
  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  <uses-feature android:name="android.hardware.location.gps" android:required="false" />
  <uses-feature android:name="android.hardware.sensor.accelerometer" />
  <uses-feature android:name="android.hardware.touchscreen" />
  <uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false" />
  <uses-feature android:name="android.hardware.touchscreen.multitouch.distinct" android:required="false" />


You can find the new one which will be used in your app under "assets/temp/StagingArea/", the old one is renamed to AndroidManifest-main.xml.

Why does Playmaker add all these permissions I dont use or want?
Problem is that publishing a apk make no sense any more because new manifest file will be used...
How to forbid playmaker to add anything to AndroidManifest.xml?

Thanks in advance!


8
Action Requests / Send message (multiple parameter of different type)
« on: June 30, 2014, 04:41:42 AM »
How to send a message to a script with more than one parameter of different type needed?

F.e. PostScore(string name, int score)

The action "send message" allows only one parameter, is it possible to create a action with more than one parameter (f.e with integrated temporary array)? Maybe there is another solution?!

Hope you can help me...
Thanks!

9
how to use the hardware-buttons of a android device (menu, home, escape)?

- Input.GetKey(KeyCode.Escape) = action get key (escape)
- Input.GetKey(KeyCode.Home) appears intercepting Home button is not possible
- Input.GetKey(KeyCode.Menu) how to get the menu button? is there a key?

Thanks!

10
General Discussion / easiest way to create a highscore list
« on: June 27, 2014, 06:10:24 AM »
Hi,
I would like to know what is the easiest way to create a simple highscore list (f.e. with score and player name) for mobile devices (android)?! It should be a highscore list available over the internet, no a local one (with playerprefs).

A few things / questions came to my mind:

1. SQL database: seems to be complicated, extra assets (payed) needed and database has to be created

2. photon cloud: playmaker supports photon cloud, but its not about networking, just storing highscore information, does not know if this is possible with photon cloud?

3. I just own Unity Pro license, no Android Pro (so no socket functions)! is there any possibilty to create a highscore list via internet and playmaker?

Any help welcome! Thanks in advance!





11
User Showcase / interactive bar (24 HEURES DU MANS)
« on: June 24, 2014, 03:40:11 PM »
Hi,
I wanted to show you some screenshots/pictures from my more or less first playmaker project (and unity as well)! Thanks to hutonggames-team and this great forum!

It is a interactive multi-touch/object bar, placed in the audi lobby at the 24hour race of Le Mans 2014. Glasses, bottles and fingers get recognized, animated lines (vectrosity) and randomly (weighted) selected contents are shown...finger-touches can explore the track and play with colliding particles (pong-style).

12
Playmaker Help / how to use Vectrosity "Draw with Transform"?
« on: May 26, 2014, 01:12:09 PM »
I know the "Vectrosity" integration is not a easy one and not finished yet, I think it is well done so far... but moving a vector line makes no fun at all, because all of its 2D vectors for each element has to be calculated all the time! There is a function "Draw with Transform" which sounds like a possiblity to move the whole curve with a single transform, independant from its elements, that would be handy! Unfortunatly there is nearly no documentation how to use this action, does it work with Vector2Lines, too?! I dont get it to work, hope you can help me?

13
Action Requests / TouchScript Support
« on: May 02, 2014, 03:51:15 AM »
TouchScript is a multitouch framework for Unity. It is free and opensource, works on iOS, Andriod, Windows! It works really very well and TUIO is supported, too!!

And it is well-established like other multitouch third party tools (f.e fingergestures or input.touches).

Would really like to see this fully integrated in playmaker!


14
Action Requests / "float filter" & "combo math"
« on: April 19, 2014, 03:18:22 PM »
Hi, I am new to Playmaker and absolutely hooked! It is easy to use and makes fun to work with...

After building up my first fsm's and logic's I assume these 2 actions could be useful:

1. float filter(or flatten, smooth):

At the moment I use "Vector3 Low Pass Filter" to filter a float value (set vector with float variable in it, filter this vector, dissolving float varialbe). It works fine, but 3 actions are needed and vectoroperation has to be calculated to smooth out a single float variable.
I found this custom action =>
http://hutonggames.com/playmakerforum/index.php?topic=2808.0
... but it is not working / show no effect at all (or I am using it in the wrong way)

2. combo math:
In many cases multiple math calculations has to be performed to get the final value...(f.e multiply 2 values, then add a 3rd value, subtract another varialbe, after that add something and at the end divide it by a factor and so on...) => with playmaker only 1 calculation (add, subtract, multiply, etc) in 1 action can be calculated, this results in a long sequence of actions doing single calculations, correct?!

So combining all these "simple" calculations in ONE combo action could be easier... Image you could define multiple variables as letters and write a little expression:

"combo math" (nr. of variable should be possible to edit)

A: variable1 (positionX)
B: varibale2 (min)
C: variable3 (max)
D: varibale4 (factor)
E: variable5 (offsetX)

((A+E)/1024)*D>B && A<=C) says 0 if false and 1 if true
there are so many possiblities...

What do you think? Maybe there exist already custom actions like this ?!?




Pages: [1]