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.


Messages - Krillan87

Pages: [1] 2 3 ... 9
1
Playmaker Help / Change current action to add "late update"-option
« on: May 17, 2019, 03:49:12 AM »
Hi,

I found a "swap sprite" in the ecosystem (https://github.com/jeanfabre/PlayMakerCustomActions_U4/blob/master/Assets/PlayMaker%20Custom%20Actions/Sprite/SwapSprite.cs)

Could anyone just take this action and simply add the option to make the action in "late update"?

The reason behind it is that I would like to override an 2d animation with a sprite, and you need to do that in late update.

Further reading here if anyone is interesting:
https://forum.unity.com/threads/animator-locking-animated-value-even-when-current-state-has-no-curves-keys-for-that-value.440363/

https://answers.unity.com/questions/676812/unity-2d-can-you-change-a-2d-animation-clips-sprit.html

Thanks


2
Playmaker Help / Re: question about best way to move 2D rigidbody
« on: April 25, 2019, 06:54:37 AM »
Hi,

 Ok, it's on the Ecosystem, called MoveRigidbody2D.

 let me know how it goes. If it works ok for you. I'll tweet about it.

 Bye,

 Jean

Hi,

Sorry for late reply. It works like a charm! thanks!

3
Hi!
Will there be any updates on this packaged? I feel that there are alot of usable actions that are missing (or maybe I misunderstand how to use the actions?).

For instance. I can't find a way to change any of the "body values"? These are (more or less) the only values I would like to change but I can't change them with either "Set property" nor "Call method" nor these new actions.

https://imgur.com/a/aOpzrw6

/ Christian

4
Action Requests / Re: Rigidbody2D.MovePosition [SOLVED]
« on: March 29, 2019, 12:38:49 AM »
Hi,

 Please don't double posts :)

 Bye,

 Jean

Sorry! I underestimated to good you where to read posts haha

5
Playmaker Help / Re: question about best way to move 2D rigidbody
« on: March 27, 2019, 05:52:11 AM »
Hi,
Is there an action (or a way to improve this action) to add the options that are in the "move object" action? So the option to add a Time, speed, delay, ease type etc. to the rigid body 2d move position?

Or is there no use for those options? Maybe i have misunderstood how functionality here.

6
Action Requests / Re: Rigidbody2D.MovePosition [SOLVED]
« on: March 27, 2019, 04:39:50 AM »
Thanks Jean!

Hi!

Just a quick follow-up request. Is it possible to also add the function of moving the rigidbody to a destination of another GO? Like a copy if the "move object-action" but with a "Rigidbody 2d move"

Because if I understand Unity correct. They way to move a rigidbody is not through the transform, so the "move object" is actually the wrong way to move a rigidbody to a specific position, right?

7
Android Help / Re: Move uGUI objects around
« on: October 29, 2018, 12:23:42 AM »
Hi.
Many of the actions are the same but have been name UI instead of ugui, to prevent duplicate errors.

But i believe that Ugui is more complete than the default UI included.

So in many cases the UI actions would be enough but it some case you might want to use some of the uGui actions.

Alright! Thanks for the help. This project is a simple straightforward app. It is not even a game, just an app to store data and information in text in different ways.

It's for my tabletop RPG group so we gonna use this app instead of pen and paper, so the app gonna be very very simple so I guess that default actions gonna be more then enough (I hope)

8
Android Help / Re: Move uGUI objects around
« on: October 26, 2018, 11:14:41 PM »
Hi.
No they are not outdated :)
As many users use UI, Playmaker has added default actions that you can use.
You can keep using ugui and/or you can also use the UI actions.

for the drag i think its still best to use uGui

Hi!
Thank you for your answer! So you said "and/or" wich mean that if i want i to just use the default actions that aould suffice?

I always feel that using the proxys are much more complex and its much more clean and neat det if just can use the default action.

My project is totally new so i do not rely on previous ui stuff.

Is it possible to accomplish almost the same with "just" default actions? What are the pros and cons?

Thank you for all help!

9
Android Help / Re: Move uGUI objects around
« on: October 26, 2018, 07:10:23 AM »
Hi,

 make sure you study the samples on the Ecosysten, you will have 2 samples showing how to drag, and how to drag and drop.



 Bye,

 Jean

Hello!

Sorry for extreme late reply but I was so sad that I did not get anything to work last time that i gave up.

I just read in the patch notes for playmaker 1.9 that:
"Integrated UI Actions and Events (previously available us uGUI Addon)"

Does this make your old reply out-dated? Do i still need the "u Gui Drax proxy" and other proxys or is there an easier way now?

10
Android Help / Re: Touch event on UGUI??[SOLVED]
« on: March 01, 2018, 09:48:36 AM »
Alright, I kinda hijacking this thread now but I losing my mind.

I can't really get my app to be working with uGUI. Maybe unity+playmaker is not meant to be using uGUI for app creation. I'v been using unity and playmaker for years now and  not in my wildest imagination did I think this was so hard. In my mind, a 2d app, with just a big canvas would be the easiest app possible.

It took me like 2 whole days to just click and drag move a picture around on the screen. Now I wanted to picture just to move when I touch the picture itself, but can't make it happen. I tried "touch object 2d event" and all kinds of stuff without success.

Does anyone know how to use uGUI to make an app? Is there any up-to-date tutorial anywhere? Should I just turn the app into a 3d app instead without uGUI? It seems a lot easier developing wise?

Please please, if anyone can just help me with this super mega basic stuff I'am so grateful!

 


11
Android Help / Move uGUI objects around [SOLVED]
« on: March 01, 2018, 05:31:41 AM »
Hi,
So I'm getting nutts over here!

I've been watching every tutorial I can find but they are either 1) outdated 2) showing advanced 3d movement 3) 2d functionality with a PC-mouse.

With all these 3 combined I really feel that I should be able to create my simple app, but I can't make it work!

SO basically I only have a straightforward 2d app. I just want to move an image around. The image is a child of a canvas (The whole app is just one big canvas and the different buttons are just images/pictures that you can press)

I felt that this must be the easiest possible app there is, just one big canvas with text and simple buttons.

The issue is that I do not understand what kind of actions I should use. How do I transform the screen point to world point on the canvas? And what should I use to move the picture? "Rect Transform Set Local Position"?

I almost got it to work but not fully, I can't bring the picture to the left side of the screen (maybe something to do with the normalize?)

Anyhow. Does anyone have a basic fucking tutorial for this super easy stuff? I feels so frustrating that I have to turn my app into a 3d game to get it to work lol.

/ Christian

12
Share New Actions / Re: Camera Pinch Zoom
« on: February 28, 2018, 06:07:27 AM »
Camera Pinch Zoom (Touch zoom for main camera)

Needed a quick simple camera pinch zoom.

Usage:
Set main camera to true if you want to use the current main camera. If false, set camera gamobject and when action is active it will set gameobject camera to main camera (same as 'set main camera' action).
 
Set pinch zoom speed for ortho and persp. Both are separated for full control - depending on what the current main camera is.

Set the FOV(persp. camera)/size (ortho. camera) clamp so the min and max you will allow the user to zoom.

Force action quit bool (Disable Action). If you need this action to finish and send an event set the bool to true.

Advance action included
Usage:
1. Same principle as above except that when pinch zoom is active will set active bool.
2. Can send an event when Pinch Zoom active = true without exiting action
3. Can set the amount of fingers (min 2) needed to touch/pinch zoom. hint: 2 is good and 3 is ok.
4. Active (x) finger count means when true that 2 fingers (because store finger id = 2) have to touch the screen at the same time for action to activate. This avoids conflict with other touch actions.

Note: The action is everyframe by default. Same method as the other device touch actions.

Update: all actions + updates are on ecosystem or https://snipt.net/dudebxl/
Small update to 'PZ Advance action" - got rid of warning info - update in above link


Hope it helps someone.

Hello!

I hope this is the correct forumpost to ask this question. I downloaded your action and everything seems to be working except my device is not zooming.

I can see in the inspector that the size of the orthographic camera is changing but nothing happens in the game-tab/on my device.

Any clue what could be wrong?

13
Android Help / Re: Making an app 101 - Questions from a first timer
« on: February 28, 2018, 05:44:29 AM »
I use double or quadruple resolution images to what size they would be in game. In fact I’m currently working on a 2d game and my objects typically only take up 1x1 unit in the game, but are 512x512 pixel images. No one will ever see that blur. :p

Can you not set your cameras background color to red? I would do that but in my case I made a gradient image uncompressed and have it scaled up full screen and attached to my camera, maybe not the best practice though.

Thanks for the answer. After I made this post I already made a lot of progress lol. I forgot that TextMesh Pro now is free in Unity so that helped a lot. I also gonna check som basic tutorials on youtube so see how ppl work with images and backgrounds on apps.

thanks for the answer tho!

14
Android Help / Making an app 101 - Questions from a first timer
« on: February 28, 2018, 02:42:02 AM »
Hello dear community!

I have been using Playmaker for a couple of years now to make different PC games. Now I wanted to try to make a very simple app in 2d, no fancy stuff.

So I got the whole setup and everything working fine I just have some questions regarding the actual development.

When it comes to the graphics of the app, like the background, icons, sprites etc, do I need to use vector graphics? If I zoom with a "pinch zoom" the resolution of the a regular jpg-picture makes it look very bad.

Like generally speaking. If I want a straight solid red background sould I:

1) Make a 3d cube with a red material?
2) make a background panel on a canvas and use a "background image" and turn that red? (This is the way I want to do it)
3) Some other vector stuff?

Basically, I wounder what is the best practices making a straight 2d app?

/ Christian

15
Playmaker Help / Re: Assertion failed. Unity issue or Playmaker?
« on: February 20, 2018, 02:45:08 AM »
Hi,

 I never encountered this unfortunatly, I would raise a ticket with Unity to make sure you maximize the chance to get a resolution.


try this:

https://forum.unity.com/threads/bug-reported-with-unity-5-6-0b1-executing-instantiate-with-a-ui-input-field-in-scene.447267/

could be that you have put non UI stuff inside the Canvas like a regular Sprite.

 Bye,

 Jean

Thanks for trying to help Jean. It's been like 3-4 weeks now and no one has answered in the forum nor on the ticket.

I saw now that I do not get the error anymore but the issue remains. (The console does not write anything but the issue still remains. So maybe it is a issue with playmaker anyway?)

Here is a vid:
https://ChristianE.tinytake.com/sf/MjM3MjgxNl83MjIyMzky

As I wrote before. If I remove the capsule collider on the gameobject. Right now I use a collider + rigidbody and a "collision event" so track the collision of the fireball and different object. Could that be an issue?

Pages: [1] 2 3 ... 9