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

Pages: 1 2 [3] 4
31
Playmaker Help / Re: Vector Math Problem[SOLVED]
« on: September 03, 2016, 05:38:29 PM »
Hi Jean,

I have to admit I am not getting it. I'm sure it is fundamental and I'm overlooking something very basic. Perhaps I need to think about it for a time until the light bulb comes on.

I listed out the states, events, variables and variable types in an effort to understand this better but still not seeing it the same way. That can be found here: https://dan-m.com/index.php/unity/playmaker/gohome-elements.

Quote
ok, 2 is indeed the x value of the home location, so this is right, do we agree on that?

I don't see where 2 has the x value for home location. It is the output that has me confused because it outputs "Home Location x string". So the player will see the text "Home Location x string" before hitting play. I suppose that leads me to the question, is it necessary to do the GUI Layout Text Label for Home Location x string?


32
Playmaker Help / Re: Vector Math Problem[SOLVED]
« on: August 31, 2016, 05:50:24 AM »
Hi Jean,

Sure thing, screenshot attached. I placed a red arrow towards the text. It is displayed prior to game play.

Thanks,
Dan

33
Playmaker Help / Re: Vector Math Problem[SOLVED]
« on: August 30, 2016, 06:47:27 AM »
1) Ahh, that is an easy fix. 'Set Int Value' for numberOfSteps was all that was needed.

2) Display the x value of the home location.

I'm not seeing how to display the x value of the Home Location. I see on the 'Welcome Text' where the GUI Layout Text Label has the text 'Home Location x string'. However, it displays that string and not the value of the Home Location.

Thanks,
Dan

34
Playmaker Help / Re: Vector Math Problem[SOLVED]
« on: August 29, 2016, 03:53:46 PM »
Hi Jean,

I think I will leave it the way it is for this project. Particularly since that is the design approach intended for this course.

I do have a couple of questions though if you have a moment.

1. After completing the game, and then clicking 'Back To Menu', and then 'Start Game' to play again, it retains the value of steps.

For example, You won in 9 steps. Then play the game again and the GUI reads after 9 steps you are x.xx away from home. How do I reset the value to read After 0 steps, you are 5.10 away from home?

The 'Reset Data' state has the action 'Set Vector2 Value' which sets the Vector2 Variable to Player Location. The Vector2 value is x=5 and y=1. I thought this would do it but it doesn't.


2. On the 'Welcome Text' state, an action called 'GUI Layout Label' has the text "Home Location x string". As far as I can tell, it simply displays that string "Home Location x string". I disabled that action so the player does not have that displayed. Does it have functionality that I'm overlooking?

Thanks,
Dan

35
Playmaker Help / Re: Vector Math Problem[SOLVED]
« on: August 24, 2016, 02:26:35 PM »
I'm trying to update the steps while moving the player rather than each time the key is pressed but not having any luck.

Currently if I press the 'W' key then it shows one step forward and it updates the value on the GUI. For example, 'After 1 steps, you are 5.39 away from home.'

How do I wire this so as I move the player around it updates the steps automatically? If I'm running forward then I would hold the 'W' key (not press it each time for each step). And if I press 'W' + SHIFT then I would run faster which would represent more steps.

Is the answer in the GetKeyDown?

36
Android Help / Re: Android FAQ
« on: August 17, 2016, 05:02:17 PM »
Got it, thanks.

37
Playmaker Help / Re: Vector Math Problem
« on: August 17, 2016, 02:11:52 AM »
This has helped a lot! I really appreciate it. Thanks!

38
Playmaker Help / Re: Vector Math Problem
« on: August 11, 2016, 10:54:27 AM »
Very cool, thanks!   :)

39
Playmaker Help / Vector Math Problem[SOLVED]
« on: August 04, 2016, 03:14:00 AM »
Ok, I could use some help.

Problem: Using vector math, determine player location and home location. Give update on the GUI with where the player is in relation to 'home'. The player moves with WASD keys.


I attached a script that we did in a course. I'm trying to understand how to do this with playMaker which would replace the script. Also, in the script it has different key assignments but it should be simple enough to change that.


40
Playmaker Help / Re: Ecosystem Json error
« on: August 04, 2016, 12:07:24 AM »
No problem at all. I appreciate having it, thanks!

41
Playmaker Help / Re: Ecosystem Json error
« on: August 03, 2016, 09:07:28 PM »
I have the same problem:

Json parsing error Object reference not set to an instance of an object

and

Search Error : 500 Internal Server Error

After the 7th attempt it worked.

42
VR Help / Re: Samsung Gear VR
« on: August 02, 2016, 10:29:40 PM »
Cool! I appreciate the guidance and Gaze system. Thanks!

43
Android Help / Re: Android FAQ
« on: August 01, 2016, 08:02:12 PM »
I made a note of the tips, however, I noticed that in 2013 you were working on a tool to remove unused scripts. Has this tool been developed? If that exists then I won't try to do this manually for my builds. Thanks.

44
VR Help / Samsung Gear VR
« on: August 01, 2016, 05:32:44 PM »
I am just settling in to learn playMaker and I have no coding experience. The VR platform that I'm targeting is the Samsung Gear VR. I would like to know the items to consider before beginning development, as it relates to playMaker.

I will head over to the Android section soon and learn what I can about using playMaker on mobile. However, if anyone has come across VR specific items, or best practices, that would be helpful before I begin scripting. I'm mostly trying to put together guidelines before I get in deep and then later find out I should have done things differently.

45
Forum Suggestions / Re: Site Is Very Slow
« on: August 01, 2016, 04:12:11 PM »
I'm thinking it doesn't like when I access using my phone as a hotspot. I'm in the office today and your site works great. When I'm driving over the road and using my iPhone as a hotspot, that is when I experience the issues.

The strange thing is my internet browsing on all other sites works without a problem when using my phone as a hotspot, so I don't know why it lags so badly when accessing this site. Strange.

Pages: 1 2 [3] 4