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

Pages: [1] 2 3
1
Playmaker Help / Photon Set Master Client.
« on: September 25, 2017, 06:13:38 AM »
Hi folks, been trying to come up with own solution for a few days.

Had a look at a invoking methods, had a look around the ecosystem too.

It seems unless I'm blind that there is no clear way to set a new room master manually. I have looked at the photon documentation and can see that there is a actually a method for setting a new master. But since I'm not a scripter I don't really know how to make that into an action.

Also, because "get photon view is mine" and "get is master client" have no option for every frame, I've needed to make a ticker myself and that fires every 0.01 seconds, I hate it doing as I know its bad practice/resource extensive. but at least its telling me who is the master properly.

From here what I'm trying to do, if the master quits, all of the powerups disappear, a new master is selected and the powerups FSM gets activated on the new master. bringing the powerups back.

I have a plan for when I get this working for the powerups to keep their "picked up" status, but I need to figure out how to get my game to sort everything out faster should the master client quit the game.

Half of this is question half of this is action request! sorry :)

I think my job would be easier if get photon view and get master client had every frame options.

Also an action for setting the new master client.

If anyone as any alternative workaround please do let me know!

Thanks,
Daniel x

2
Playmaker Help / Child Object appears to move after collision.
« on: September 02, 2017, 09:15:37 AM »
Hi there folks, I'm working on a top down shooter just now and I have an empty game object inside the player as the firepoint.

I cant get my head around why this is happening but at runtime, when my player walks into a wall sideways, it appears to move the firepoint slighltly with no real signs of why, pausing the game and having a look at the firepoint in the scene window shows that it hasn't actually moved. I have also tried to get and set the firepoint location when I instantiate the player (in hopes that would keep it in place).

Here is a GIF with an example of the occurrence.
https://i.gyazo.com/bae45ea5f17ce4dcae7347db15ca6923.gif

I realise this is not playmaker specific but I only use playmaker to make my games
and maybe someone with experience around here has seen this type of thing before....


Thanks,
Dan

3
Playmaker Help / [Solved]Virtual joystick with Controller asset.
« on: November 29, 2016, 03:54:44 PM »
(Sorry this should have gone in the Android section)

Hi folks, hope all is well!

Wondering if anyone could even point me in the right direction here...

So i have the All in one game kit from the asset store and ive been working on a game for a while now with it. The way im using it is playmaker reads what the player is currently doing with its animation bools. And i have my own charicter imitate its animation.

So my game works with a gamecontroller and mouse and keyboard.

Im now just getting round to wanting to test it on mobile but i cant get any kind of virtual joystick to work, ive tried unitys standard assets, playmakers (from ecosystem) and a few from the unity store.



I used to be able to work virtual joysticks in older unitys, since i have 2 kids and a busy life, i jump in and out of developing games, something has changed about the way they work and i dont know when or what/how....

So here are my thoughts/questions.

How can i make my virtual joystick control my already made game controller script?

Do i need to plug playmaker into the playercontroller.cs?

Would using inputbroker to simulate keypresses be a viable option?

Do i need to remake a separate controller in playmaker that works independantly of playercontroller.cs/joystick.cs?

I thought a virtual joystick would just interact with inputmanager, i mean, you have to define The horizontal and vertical input and they are called the same thing in the input settings?




Any help/guidance to help would be greatly appreicated

4
Playmaker Help / String Condense to 1 line.
« on: October 04, 2016, 07:43:19 PM »
Hi folks, I have been working on a little app for taking orders, not a game but im using playmaker :)

Bascially i have 10 strings for each "table slot" and i just add a new line to the string for each item in the tables order and then print the string at the end, simple stuff.

My problem is i cant figure out how to take all the lines in the string and condense them into 1 line.

I've tried string replace with the newline char, also tried \n, as well as hours of tinkering with other actions, String split, string format, string split to multiple strings, get substring and build string.

when i replace with just the space char, all spaces dissapear but the line breaks are still there, i have went into notepad and tried to copy and paste a linebreak char by hitting enter, selecting all then copying. - didnt work.
is there a linebreak char like \n or something similar im missing?

Im clueless now can anyone point me in the right direction?

5
Playmaker Help / Compare Two Dates
« on: August 24, 2015, 06:34:42 AM »
Wondering if anyone can help, Just want to compare the amount of time between two dates in hours eg: 7/24/2015 2:31pm and 7/25/2015 2:31pm = 24 hours.

I think i need to split up all the values with lots of math which is kinda giving me a headache, is there a nicer/easyer way to do this with playmaker?

Thanks
Dan

6
Playmaker Help / Actions [Solved]
« on: January 08, 2015, 04:10:12 AM »
Its been a while since ive been active here, been busy with RL, working and raising children lol.

Recently i have made a return to unity and playmaker but since being away ive been making Bots for websites with javascript front end and backend, so i have a little more experience with it now.

Here is a screenshot of my scene, im using a 2D Jump and run framework that handles player health and much more.



What im looking to do is retrive the amount of health the player has and store it in a float, for which i need to write an action so i can store this value globally or in an fsm.

I have looked around the forums for a few days and searched the web for some sort of action scripting tutorial but to no avail, There doesn't seem to be any clear tutorial on how to implement it on the wiki either.

Since i dont have any clue about how an action should be structured i would really appreciate some help or be pointed in the right direction as writing my own actions will seriously open up some major windows for me.

I also have Psai for dynamic soundtracks that id like to write actions for too!

Any help is super appreciated!

Thanks
Daniel

7
User Showcase / Atom Challenge!
« on: January 31, 2013, 09:12:03 AM »
So i found the Atom challenge Project the other day and i thought i had lost it forever, ive started porting it over to pc, it was going to be for mobile but im scrapping that.

Play it as it stands here!
http://shinmedia.net46.net/page.php?5

Dan



8
Action Requests / Lock cursor to window?
« on: January 28, 2013, 04:23:10 PM »
Hey in my latest game i have hide cursor set, the aim always points to the mouse position, its a windowed game so the mouse always comes out of the application, i cant use lock cursor because it holds it completely still, is there anything to make the cursor lock to the window only?

9
Playmaker Help / Joystick axis
« on: January 25, 2013, 03:15:55 PM »
I know this is a really noob thing to ask, but hey im having my first go at trying to make a game that works with a joypad!

I have mapped my inputs all well, but i have no idea how i would get the axis of the right joystick for in game use,

I have it working with keys, there is a dude and he looks in the direction of the mouse, for that i just used the mouse look action, does anyone know how i could achieve something similar with the joystick?

10
General Discussion / Char controller and Rigidbodies
« on: January 21, 2013, 10:03:13 AM »
Always thought they would interact with each other but i have some boxes that i just want to be able to run into and knock over, but the rigid bodies stay solid still, any idea how i can make this work?

11
General Discussion / Fav videogame music?
« on: January 21, 2013, 09:44:08 AM »
One of the biggest drives in my games is music, depending on what im listening to can tottaly influence my inspiration for a project so i tend to listen to videogame genre music when im working.

So im just intrested, im guessing a few of you stick the tunes while working, so whats your favourite stuff?

Im addicted to Disasterpeace - Serpents, gets me in the mood to create everytime.
https://soundcloud.com/dzasterpeace/serpents


12
General Discussion / Ouya
« on: January 15, 2013, 08:28:28 AM »
Just wondering because its android, will it be as simple as exporting an apk and installing it like on a phone?
Really looking forward to the ouya, even if it isnt extremely popular it will be awesome for making games, the specs are a good benchmark to set and test on if your developing for android.

13
Android Help / [Solved] App seems to emulate a mouse click
« on: January 09, 2013, 02:48:26 AM »
hey i put my game (actually 2) on my phone the other day and touching the screen seems to emulate a left mouse click even though i don't want it too, anyone know why?

14
Playmaker Help / [Solved]Playmaker is lying to me....
« on: December 16, 2012, 11:37:51 AM »
I have a ball, that has a get speed fsm on it, its saved to a float.

Now i have an action that should only fire its transition when the ball speed is equal to 0 but its just firing anyway no matter what i do, im ready to throw my computer out the window because of it. ITS JUST PLAIN NOT DOING WHAT I TELL IT.

Ive paused it and confirmed that the ball is hitting 500-600 speed. not 0. it still fires the transition.

Why oh why?

[edit]
I added a wait action in between and it worked, must have been taking the value quicker than i thought. :P

15
User Showcase / Score or die.
« on: December 12, 2012, 12:13:36 PM »


Play it below, made it in about a day.

Space to charge your shot. Don't miss...

http://shinodan.5gbfree.com/sod/WebPlayer/WebPlayer.html


Pages: [1] 2 3