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

Pages: [1]
1
Playmaker Help / Re: Creating a .txt file? [SOLVED]
« on: February 09, 2018, 12:47:00 PM »
I haven't had much time to work with this in the last few days but a quick alteration of the action with the provided code has it making a text file but not in the directory specified.  It also won't write any text to the file if it has to create it first.  When I get more time I'll mess with it further.

2
Playmaker Help / Re: Creating a .txt file?
« on: February 05, 2018, 10:46:04 AM »
The Write to File script does not allow for creating a file.
Edit the Writeto File script to the below in the OnEnter Function
Note: This is just specific for creating a .txt file if not found and is not universal
Code: [Select]
public override void OnEnter()
{
            if (System.IO.File.Exists(filePath.Value))
            {
                // Create an instance of StreamWriter to write text to a file.
                StreamWriter sw = new StreamWriter(filePath.Value, true);
                sw.Write(text.Value);
                sw.Close();
                Fsm.Event(successEvent);
                Finish();
            }
            else
            {
                //create a .txt file if file does not exist
                File.CreateText(filePath.Value);
                //Now add in your data
                StreamWriter sw = new StreamWriter(filePath.Value, true);
                sw.Write(text.Value);
                sw.Close();
                Fsm.Event(successEvent);
                Finish();
            }
        }

Thank you so much!  I will give this a try later today.

3
Playmaker Help / Re: Creating a .txt file?
« on: February 01, 2018, 04:39:56 PM »
Hi,

yes, you can find actions to deal with file on the Ecosystem, search for "WriteToFile"

 Bye,

 Jean


I'm currently using the "WriteToFile" action from the ecosystem to successfully write strings to a text file that I've already made.  I don't see anything in the action that will make the file for me though.  I define the path and file name but it won't create the file, only write to it if it finds that file where I specify it...am I missing something?

4
Playmaker Help / Creating a .txt file? [SOLVED]
« on: January 31, 2018, 03:10:09 PM »
I'm looking for an action that will create a .txt file in a directory I specify.  I've got my fsm successfully writing strings to a txt file that I've created in windows but I don't want the user to have to manually make this file before running the tests.

This is a very interesting project...I'm using Unity and Playmaker to make a broadcast camera calibration tool for my company. it will spit out a text file that will be fed into an algorithm that one of our engineers will write. Pretty neat to be making a non-game in a game engine hehe! 

5
Hi.
The 'new' itween. has no action yet for it and is still limited.

So i would suggest dotween.

You can find actions for it on this post and on the asset store

Great thanks!

6
Hey Jean,

I'm having the issue with 2 different projects both in the editor as well in a build.  This is on a brand new, very high end PC. These are both VR games.

It seems to only be affecting game objects that have additional animations on them like characters with a walk sequence or space ships that have rotating parts. This problem definitely showed up as soon as I upgraded to 2017.3, did not happen in 2017.1.

I'm more than happy to ditch iTween.  Which do you recommend, doTween or the new iTween?

Thanks!


7
Playmaker Help / Itween move to and action rearrange problems in 2017.3
« on: January 16, 2018, 09:36:53 PM »
EDIT:  Well I need to lay off the wine while I work on games.  I was actually still on 1.8.3.  Updating to 1.8.7 fixed the action drag and drop issue.  Still having trouble with iTween though.

Hi all. 

I've recently upgraded my projects to 2017.3 and have noticed a few bugs with Playmaker...hopefully someone can shed some light onto what might be going on here.

The first is a problem with iTween.  The "move to" action does not work smoothly anymore.  Game objects will stutter or pop into position rather than moving smoothly. This is only with the "move to" action, all the others seem fine.

The second problem I'm having has to do with rearranging actions in a state.  It's no longer possible to drag and drop them into position. I just get the "buster sign" mouse icon when trying to do this.  It's still possible to move them using the right click menu but this is slow and not ideal.

I've tried updating to the latest version of Playmaker but that didn't help with either of these issues.

Any help would be great!

8
Share New Actions / Re: Steamworks.NET
« on: November 15, 2017, 09:07:40 PM »
Success!  I have scores in my leaderboard!

I just missed the part about it needing to be played through Steam which in hindsight is totally obvious.... ::)

Thanks for the help everyone.

9
Share New Actions / Re: Steamworks.NET
« on: November 15, 2017, 11:59:30 AM »
Hey All,

I've got steamworks.NET all setup with the actions installed.

I've followed everyone's examples and got the app ID entered. Everything seems to be working, no errors and the console is putting out the following messages:

New Score of 420 uploaded to leaderboard: High Scores
UnityEngine.Debug:Log(Object)

OnScoreUploaded 1 - 0
UnityEngine.Debug:Log(Object)

Nothing is appearing in the leaderboard though.

Am I missing something?

If I remember right (because I dont work with Unity from a while)

1. You must see in the log:
OnScoreUploaded 1 - 1 (Score is uploaded)
If you see:
OnScoreUploaded 1 - 0 (Score is not uploaded)

2. You must send only bigger score not equal or smaller of the current recorded score on steam. Example: upload: 2, 5, 10 , 12 ... this is fine.
If you upload 10, 15 and after this again 15 or 14 , 12 ... this is not fine.

3. Make your Leaderboard in your Steamworks account like this:

Name: What you want
Community Name: What you want
Sort Method: Descending (this is very important)
Display Type: Numeric

4. If I remember right (from Steam docs)... You can upload/send only 10 scores for 10 minutes interval. TIhis is steam limitation for optimisation purpose. So, if you upload the right numbers, but very often... again you will see:
OnScoreUploaded 1 - 0

Good Luck!

I've been told that the build must be uploaded to Steam for this to work? I've only been trying it locally so far...I'm shown as being in the game when I test so it is talking to Steam.

I set my leaderboard up just as you show it in your example so that should be correct.

Will upload a build tonight and see it works.

Never tried to use any Steam services before so this is all new to me, I appreciate the help!

10
Share New Actions / Re: Steamworks.NET
« on: November 13, 2017, 10:53:15 PM »
Hey All,

I've got steamworks.NET all setup with the actions installed.

I've followed everyone's examples and got the app ID entered. Everything seems to be working, no errors and the console is putting out the following messages:

New Score of 420 uploaded to leaderboard: High Scores
UnityEngine.Debug:Log(Object)

OnScoreUploaded 1 - 0
UnityEngine.Debug:Log(Object)

Nothing is appearing in the leaderboard though.

Am I missing something?

11
Hey all!

My first solo game is out on Steam! I spent 9 months making this game from scratch and Playmaker made it possible.

http://store.steampowered.com/app/698910/Cliffstone_Manor/

I'm primarily a 2D/3D artist who also does UI/UX and game/app design.  I'm used to working with teams of engineers to make my designs come to life and have a few titles under my belt on the App store and Google play. Being able to use Playmaker to finish a project completely on my own has been game changing for me.

Pretty much all of the artwork is my own in the game including all the 3D models, textures, rigging and animation. I used Playmaker with the Steam VR actions, iTween, SmoothSave and VRTK to make the game.

Hope you like it!


12
Playmaker Help / Re: Steam Achievments via playmaker?
« on: October 11, 2017, 03:09:49 PM »
Awesome! Thanks for that!

13
Playmaker Help / Steam Achievments via playmaker?
« on: October 09, 2017, 01:50:34 PM »
Is there a method or package available that does this? Some basic googling has come up with a few things but they claim to be very limited in functionality.

Pages: [1]