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

Pages: [1] 2 3
1
iOS Help / tinder-like swipe action
« on: April 13, 2017, 11:35:33 AM »
hello, i'd like to create a tinder-like swipe action.

that means: i want to drag an object by touching the screen and move it along the x-axis right or left. when i swipe along a certain amount of the screen size i want the object to move to a certain position. if it does not reach the certain amount i want the object to get back to it's place.

i've managed to create the swipe action. could anyone give me advice on how to do the drag thing? should i create a second FSM thats stopped by an event the other FSM when the certain amount then the (for example 25% of the screen) is reached?

how can i do the dragging. i especially want it to drag one certain object, no matter which part of the screen the player is touching :)

edit: by the way i have already searched the forum, but does anyone know if easy-touch 5 has an option like that included?

2
Playmaker Help / lag between two states
« on: April 13, 2017, 11:28:38 AM »
when i switch between two states, there seems to be a small lag.

for example: when i move an object by animating a variable in order to use it as the transform posititon and then continue the movement in another state it seems that there is a small lag. is there any way to fix it?

for some reason it works way better when the game is compiled (and played on mobile devices) than in the editor. is it always like that? is there any way to get a more fluent movement? thanks in advance :)

3
iOS Help / saving data on ios
« on: November 18, 2015, 12:51:07 AM »
i'd like to save a simple int and keed it saved even if the the player closes the app. i tried the playerprefs but it seems that the score is kept only during an active session. any suggestions?

4
iOS Help / gamecenter highscore/leaderboard setup
« on: November 11, 2015, 07:35:58 AM »
hi, ive got some problems.
i just want to add a variable by pushing a UI button. i am using stans assets!

can someone explain me how to do it?

1. i've set up the ISN_Game Center Init
2. in case of success the ISN_Submit score action is called.

this did not really work for me by now. also i'd like to know if i need two buttons for receiving the leaderboard and adding a score or if i can combine it?!

also im not sure what the leaderboard id looks like. it's supposed to be a 8-digit number, isnt it?

5
what do you mean by "activated"? the asset is imported to the asset folder

6
Playmaker Help / couple of warnings since the newest version of unity
« on: August 06, 2015, 02:28:19 AM »
got a lot of warnings since i updated to the newest unity version. i can i sort this out?

7
Multiple EventSystems in scene... this is not supported
UnityEngine.EventSystems.EventSystem:OnEnable()


what does it mean and how can i locate the problem?

thanks :)

8
Playmaker Help / Re: setting the variable of a shader
« on: July 13, 2015, 12:44:07 PM »
sorry for the doublepost...
i found out that i have to make the hue variable public.. but where do i have to do this? in the shader script?

9
Playmaker Help / Re: setting the variable of a shader
« on: July 12, 2015, 07:53:08 AM »
i tried it, but there is no way to choose the "hue" property which i want to change..

10
Playmaker Help / setting the variable of a shader
« on: July 12, 2015, 12:24:09 AM »
hi, i'd like to figure out how to change variables that are not set in the fsm..
i'm pretty new to scripting so i don't know how to write a custom action.

what i would like to do:

i have a asset installed called vaccumshaders and i would like to change a variable.
for example... it's set in the texture shader as VacuumShaders/Adjustments/Diffuse/Hue

is there an easy way i can access and change the variable from a FSM

thanks in advance :)

11
Playmaker Help / rotating GUI textures
« on: June 24, 2015, 06:58:51 AM »
is it possible to rotate a gui element at all? like turning it upside down...

12
Action Requests / get device screen size
« on: June 12, 2015, 03:48:25 AM »
hey. i'm looking for an action the returns the screen width and height of a mobile device.
i've tried to use the screen.width action but it seems to return the size set in the game and not the device's hardware.

thanks in advance :)

13
Playmaker Help / changing the material with an alpha fade
« on: June 09, 2015, 06:47:54 AM »
is there a good way to tween between two textures?
i'd like to switch between two textures with an alpha fade... like having 1 material set and then adding a second on with a full alpha level and then slowly fading it to 100% visibility.

14
iOS Help / Re: setting resolution/aspect by an action
« on: June 02, 2015, 07:57:30 AM »
ok i got this done.. but is it possible that "get screen size" actions do NOT work for iphone?

15
iOS Help / setting resolution/aspect by an action
« on: June 01, 2015, 09:36:42 AM »
is there a way to set the game aspect by an action?

for example: i'd like to have the rendered screenwidth at 320, no matter which device is used. for the height id like to change the resolution so the scaling is fitting and the graphics are not stretched...

like for iphone 3gs it should be 320x480 and for iphone 6 it should be 320x570 (for a correct scaling). i already made the fsm to get the resolution it should be.. but i coudnt find a way to set the aspect

Pages: [1] 2 3