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
PlayMaker Help / [Solved] Call Method but specify gameobject at runtime?
« on: January 25, 2018, 10:11:49 AM »
Howdy folks.

Just wondering if there is anything i can do to the call method action script to allow me to specify this gameobject at runtime, i tested dragging over the object at runtime and then activating the call method and it worked the way i had hoped but because my environment is getting generated at runtime i need to be able to specify that value automatically somehow.

Myself i am currently trying to look into the code to see if i can create a public gameobject var then change it to run off that object upon activation. (on the meshcombine code)

In the picture i have highlighted the bit i mean, if that was the specify var box i would have no problem :(

Work In Progress... / Shot Bots
« on: November 21, 2017, 08:16:52 AM »
Howdy guys,
Been working on this game for about 6-7 months on and off between my job and family life.

It will be a top down online arena shooter (Planning for Android but who knows)
I have 8 different weapons, mines and grenades so far.
Just the 1 level currently though, i want to concentrate on the engine then expand with levels so i am avoiding getting caught up designing levels until the mechanics are a bit more solidly in place.

Some other assets besides Playmaker i am using (No Code required)

Photon Networking
Control Freak 2

I am posting for a bit of feedback in any regard. I am hitting that wall i usually hit after months working on a game where i feel like it sucks, so if anyone has any input at all, it might encourage me on a bit and actually finish (i never have) a game after 15 years of making them! :O :(

Please do check out the video, i would be ever so great full...

Sorry about the photo Quality, I screen Captured directly from my phone.

PlayMaker Help / Photon Set Master Client.
« on: September 25, 2017, 09: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!

Daniel x

PlayMaker Help / Child Object appears to move after collision.
« on: September 02, 2017, 12:15:37 PM »
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.

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


PlayMaker Help / [Solved]Virtual joystick with Controller asset.
« on: November 29, 2016, 05: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

PlayMaker Help / String Condense to 1 line.
« on: October 04, 2016, 10: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?

PlayMaker Help / Compare Two Dates
« on: August 24, 2015, 09: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?


PlayMaker Help / Actions [Solved]
« on: January 08, 2015, 06: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!


User Showcase / Atom Challenge!
« on: January 31, 2013, 11: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!


Action Requests / Lock cursor to window?
« on: January 28, 2013, 06: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?

PlayMaker Help / Joystick axis
« on: January 25, 2013, 05: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?

General Discussion / Char controller and Rigidbodies
« on: January 21, 2013, 12:03:13 PM »
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?

General Discussion / Fav videogame music?
« on: January 21, 2013, 11: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.

General Discussion / Ouya
« on: January 15, 2013, 10: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.

Android Help / [Solved] App seems to emulate a mouse click
« on: January 09, 2013, 04: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?

Pages: [1] 2 3