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 - Groo Gadgets

Pages: 1 ... 5 6 [7] 8
91
Action Requests / Array Maker - build string from array items
« on: July 04, 2012, 08:37:05 AM »
Hey guys,

I guess this is a request directed at Jean  :-)

I would like to know if it's possible to have an action for Array Maker that let's me build a string from string items in an array.

I have created an array with 7 string items and each item contains one letter per item. I would like to be able to build a string based on each of the 7 items. Would that be possible?

Cheers,

Simon

92
Action Requests / Set Substring
« on: July 03, 2012, 04:00:45 AM »
Hey guys,

I would like the functionality to be able to set characters within a string. I've tried a few methods but don't seem to be able to easily do it without messy and long FSM loops.

I only need to set one character in a string at a time (eg. replace the first letter of the word CAT with the letter M to create the word MAT) but the option to set multiple characters would be great.

Any help on this issue would be much appreciated  :-)

Cheers,

Simon

93
Hey Jean,

My word game will let players add to any real words they create. Kind of like what you can do while playing a game of Scrabble.

A simple example would be as follows:
1. In the first turn player creates the word CAR
2. In the second turn the player adds a "T" to the end of the existing word to create CART

I would like to have the functionality for Array Maker to perform a search of the string CART and output all real words it finds within the string. So in this example it would output 3 real words: CAR, ART and CART

I could brute force a function within a state loop so that it checks the range of the first 3 letters in the string, then the last 3 letters, then finally all 4 letters. This would become very tedious as the player creates longer words.

My game grid can have words up to 7 letters in length but where I would really like to get this working is if the player creates a row of 7 random letters the game's word search engine could "extract" real words from it.

For example if the player creates a row of the following letters GFTAXEB the game's word search engine would find and extract two real words: TAX and AXE

I hope this makes things a little clearer  :-)

Cheers,

Simon

94
Action Requests / Re: Array Maker - Shuffle Range Action
« on: July 02, 2012, 05:53:28 AM »
Wow now that's what I call service!

You are an absolute credit to the Play Maker community Jean! Thank you so very much!

Simon

95
Hey guys,

I've been working on a word game using Array Maker and i've hit a wall with the functionality of how I would like to perform a word list lookup.

I've been playing around with Jean's fantastic word match sample that comes with Array Maker and i'd like to extend it's word search function.

Basically i would like to find how many words a single string contains. For example; let's say I have the word CARTS, I would like to have the functionality to search for and store all the words it contains.

So the word CARTS would output the following list of words:
CAR, CART, CARTS, ART, ARTS

Would this be possible using existing actions and states or would it require a new action?

Any help would be great  :-)

Cheers,

Simon

96
Action Requests / Array Maker - Shuffle Range Action
« on: July 02, 2012, 05:20:14 AM »
Hello,

Firstly I must say that I just love Array Maker, I simply could not create my latest game project without it!

Now, i'm using the "Array List Shuffle" action to randomize items of my array which works great. Although I would love to have an action that lets me shuffles a specific range within an array.

For example; if I have an array containing 20 items, I would like to be able to shuffle the first 5 items, leaving the rest of the items in their original order.

I can currently do this in a very convoluted way (I create a new array, fill it with the first five items of the original array, shuffle the new array then replace the first five items of the original array with the new shuffled array).

It would be far easier if someone (*cough* Jean *cough*) could create one single action to remove the need of a convoluted loop of states  :-)

Thanks!

Simon


97
Hey guys,

I was suffering from massive slow down in my game thanks to the variables window. The worst thing was I didn't realise it was the variables window so I went ahead and started reconstructing my game project.

I'm running a dual monitor setup and I narrowed the issue down to the global variables window being open on my second monitor. I can confirm that the slowdown persists when I have the variables window docked in my main unity window. One thing I can say though is it seems much slower if i'm viewing an FSM that has a lot of variables.

Alex, are you able to reproduce this slowdown on your machine?

Simon

98
Playmaker Help / Re: Mouse Double Click - how to?
« on: June 08, 2012, 04:26:58 AM »
Haha, uncanny! I just solved this problem myself then i return to the forum to see your solution!

Thanks anyway for your help Jean, very much appreciated.

While on the subject of mouse input, is there a way (or possible custom action that lets me store the Delta X of the mouse? The "Get Touch Info" device action has it and it would be most handy to have the fuction for the mouse as well  :-)

Thanks.

Simon

99
Playmaker Help / [SOLVED] Mouse Double Click - how to?
« on: June 07, 2012, 05:07:39 PM »
Hey guys,

I have scoured the playMaker forums before posting this question but haven't found a suitable answer.

Is there an easy way to detect a double click with a mouse and send an event based on a double click? I have no problem doing a similar thing on my iPhone via the "get touch info" action using the "store Tap Count" function.

An action that could record a click count would be great, in fact it would also be great to have a "get Key Tap" action for keyboard input as well.

Failing that has anyone got any tips or tricks to achieve a double click event without the need for a custom action?

Any help with this problem would be great   ;D

Thanks!

100
User Showcase / Re: Asteroids game
« on: June 04, 2012, 05:58:53 PM »
Wow love the lighting effects and especially love the FNM soundtrack   ;D

101
User Showcase / Re: banana shooter (title pending)
« on: April 15, 2012, 06:13:16 PM »
Hey mate,

It's looking very cool, love the vector black hole and the twin trails from the banana projectiles.

Keep it up!

Simon

102
Share New Actions / Re: joystick bridge for mobile
« on: April 10, 2012, 08:53:34 PM »
Hey Jean,

I'm still getting an error:
Quote
Assets/PlayMaker/Actions/JoystickBridge.js(22,17): BCE0005: Unknown identifier: 'position'.

Simon

103
Hey Scott,

I had exactly the same issue with my current project. There doesn't seem to be any official actions that let you use float variables instead of the input axes.

So I decided to dive into the "Get Axis Vector" script and replace the string variables with floats. I'm happy to say that it worked perfectly so now I can use the accelerometer to control my character relative to the camera   :D

I've called it "Get Device Vector" but you can easily use it with any float variable in your FSM. Let me know if it works for you!

104
Heya,

Would it be viable for you to use the "Set Position" action instead of "Set Parent"?

That's what I do when I don't want to inherit a parents rotation   ;D

Cheers,

Simon

105
Share New Actions / Re: joystick bridge for mobile
« on: April 09, 2012, 08:40:19 AM »
Heya,

I just downloaded this new action and I get the following error in the console:

Quote
Assets/PlayMaker/Actions/JoystickBridge.js(14,31): BCE0018: The name 'FsmVector2' does not denote a valid type ('not found'). Did you mean 'HutongGames.PlayMaker.FsmVector3'?

Does this action require another custom action to run?

Cheers,

Simon

Pages: 1 ... 5 6 [7] 8