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 - Martin-Vaupell

Pages: 1 [2] 3 4 5
16
User Showcase / E-Brain teaser [Android + Kongregate release]
« on: May 09, 2014, 04:53:20 AM »

Link to Kongregate http://bit.ly/ecortexKon

Link to google play - http://bit.ly/ecortex



The general idea is Brain exercise - using the Stroop Test.

The screen shows you a question, and a text with a color
you ansver the question by selecting a color.

What happens is the part of your brain that identifies text will conflict
with the part that identifies color, this forces your pre-frontal cortex to
step in and take action. This requires a lot more energy and will be considered
an effort on behalf of your brain, or as we call it exercise.

I plan to add a "timed" game mode, right now it's only running on endless.


You can see some of the playMaker FSM's as attached screenshot

17
PlayMaker Help / Re: 'Look At' direction of movement. [SOLVED]
« on: May 08, 2014, 09:45:31 AM »
Ah ok I have it, I got velocity and then used that to 'Look at Direction’. Thanks a lot for your health.

Mind sharing a screenshot of the working solution, just the action states.
really curious about this.

18
PlayMaker Help / Re: how i can flip float negative to positive
« on: May 08, 2014, 09:27:29 AM »
Multiply by -1

Use the action Float Operator

Float 1 : your number
Float 2 : -1
Operation : Multiply
Store Result : saveValueVar

-2.5 * -1 = 2.5
+2.5 * -1 = -2.5 

19
PlayMaker Help / Re: PLAYMAKER / NGUI OnMouseUp
« on: May 07, 2014, 12:19:38 AM »


if using scripts
Are you using PlayMaker NGUI scripts --> Asset Store

true
If so, then it's rather easy, just select the option shown in the screenshot I'm attaching.

In the screenshot I hoover over then even you are looking/asking for.

else
However If you're not using the script addon, you would have 2 options
either write an action yourself or find one.
Or access the function via scripting like NGUI was originally designed for.
NGUI add's the scripts automatically when you assign a sprite as a button,
you just need to perform the checks for when the user is accessing the GUI.

end if

20

Ok, then i HIGHLY recommend that you before continuing with your development.
Go through the basic tutorials right here on the website..

http://www.hutonggames.com/tutorials_getting_started.php

Those will help you familiarize yourself with how events and states work.

21
How to trigger a playMaker state from scripts

Often used when making interactions between playMaker and other store assets.
Just to make things work together more fluently..


22
Thank you for your help.  However, I am trying to explode objects as they are either hit, punched, kicked, or shot at by a device.  How do I trigger the explosion?  What do I use?  Right now, I am using collision event on enter with no luck.

Thanks again.

Mike

that is what you are seeing on that screenshot!
You can see the die state triggers the explode action wich then triggers the script.


So in your case it's extremely similar.
Have a wait state, then on a collide or trigger move to the next state which has
the explode action in it.
Only reason the screenshot is different is because the units have health.


If i where you i would setup a FSM on the object that will explode

Start ->  (wait state) [onTrigger by player - goto event] -> [Explode action]

23
exploder comes with playMaker actions it's very fun!

Made a prototype game here where i used exploder.
https://dl.dropboxusercontent.com/u/19761809/unity/projects/Machinery/web.html

The way I am using it,
All gameObjects that are going to explode must have the "exploder Script" attached to the top parent (if any)

Then In playmaker you can trigger that script via the exploder action the asset
adds to the action browser, just type in explo  and it should show the availible actions.

Check this image..

http://i.imgur.com/R3RNewD.png

It's from that prototype game..

24
Short video showing it done via. Global values from playMaker,
which is just one of multiple ways.


25
PlayMaker Help / Re: Sendmessage error -
« on: May 02, 2014, 07:05:02 AM »

SOLVED!!!

The error was caused by an empty play sound gameObject, in the script.

Code: [Select]
// Play end level sound
audio.PlayOneShot (endLevel);

So by commenting it out, the error went bye bye ;)


Code: [Select]
// Play end level sound
// audio.PlayOneShot (endLevel);


26
PlayMaker Help / Re: Get Bool from Java Script
« on: May 01, 2014, 08:30:40 AM »

Personally when i need to transfer messages between scripts and playMaker
I use global variables.

Like this

PlayMaker -> Global var -> Script

and backwards aswell.

If you can translate from C# to Java then my short tut might be helpfull


27
PlayMaker Help / [SOLVED] - Sendmessage error - [SOLVED]
« on: May 01, 2014, 03:06:18 AM »
I'm having trouble sending a message triggered by a player.

Situation

Player enters a trigger, triggers in Playmaker -> Send message -> EndLevel

as seen here

http://i.imgur.com/6mILudi.png



Run the level It's fine while in Unity, however,
when I do an actual build and test, it does not work at all and i get the debug error..

http://i.imgur.com/HuQj0Pp.png


The message is recived by the script here

Code: [Select]
#region EndGame
void EndGame()
{
// Play sound
audio.PlayOneShot (endLevel);

// Grab and set the starRating
SetScore();

// Mark level complete and unlock next level
MarkLevelCompleted();

// Save money
saveStats();
// Save stats
savePlayer();

// next level
// MadLevelManager.MadLevel.LoadNext();
// go to select
MadLevelManager.MadLevel.LoadLevelByName("LevelSelect");
}
#endregion
Not sure, how and why

Any ideas?

28
Can you please elaborate as much as you can on how exactly your layers and tags system works with playMaker?

My main issue is how to translate Easy Touch's joystick movement to a playMaker action, and from there i will move my object using add force.

I apologize for asking on your game release post :-[

Thanks again.


Made a video instead  - 

One of the next couple of days, I'll release a video about the "endcube"
How it interacts from C# with MadLevelManager.

29
General Discussion / Re: Share your Unity Layout
« on: February 17, 2014, 03:59:05 PM »
...

Do you have a dev blog? I'm curious about your game design.
Thanks
Oh mine's here: http://skyport-alpha.blogspot.com

Nope not really, I sometimes do tutorials for youTube
I also have a website dedicated for personal usage (www.evisystems.org)
However, no devblog.

30
General Discussion / Re: New forum layout
« on: February 17, 2014, 03:56:25 PM »

Was hoping for a "wider" forum here
I'm always sad when posting/linking media here because of the forum
is only 50% wide.

Got those two huge gray bars on the side (spacewaste)

Pages: 1 [2] 3 4 5