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

Pages: [1]
1
Playmaker Help / Arraymaker error
« on: August 29, 2013, 03:41:38 AM »
I don´t know if this error screws up my project or not, but a red error exclamation mark can´t be good, can it?

ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
System.Collections.Generic.List`1[UnityEngine.GameObject].get_Item (Int32 index) (at /Applications/buildAgent/work/b59ae78cff80e584/mcs/class/corlib/System.Collections.Generic/List.cs:633)
PlayMakerHashTableProxy.PreFillHashTable () (at Assets/PlayMaker ArrayMaker/__internal__/PlayMakerHashTableProxy.cs:124)
PlayMakerHashTableProxy.Awake () (at Assets/PlayMaker ArrayMaker/__internal__/PlayMakerHashTableProxy.cs:96)


I have a Hashtable that I prefilled with keys and prefab gameobjects. I get the keys from an SQLite Kit Database and "create" prefabs. Usually works good, but I am having some problems with SQLiteAsync, database not ready.. I am not sure if the two are related, but they both turned up at the same time, now I get this error everytime i run my game..


I will try Orangetree aswell for some answers, but usually their replies are really hard to understand (language barrier).


I have Arraymaker 0.92.


Another suggestion would be to write the current version number of Arraymaker on the wiki. It is hard to know which version is up there.. or maybe I'm blind and just cant find the info?


Thanks!


/s

2
Hi!
I have set up a system where I have a database entry which contains a string variable. I want to be able to use this string variable as the name of an Int variable, which I will later use in a Int compare node.

The goal is to be able to dynamically change the name of an Int variable for example in a compare node.

The name of the Int variable will be fetched from a String Variable in a SQlite database.

/s

3
General Discussion / PM & SQLite Kit Questions
« on: July 01, 2013, 07:23:57 AM »
Hi!
I just got SQLite Kit and try to make my game "Dungeon Memory" a bit more dynamic.

I started with the demo file and I can read values from my spanking new database, but I have a problem looping the "Read Database" in the example files for SQLite. I watched the videolink provided on the "documentation" and it explains how the demo works, but nothing about the SQL language. I tried the link to the SQLite docs, but they are gibberish to me.

The provided command is: SELECT * FROM Level1 WHERE id=?
Level 1 is my table, and it reads the value that is inside the "Bind" action.
So I can get the values from one row, but then it stops, no matter how clever my "loops" are made.

How does one make a  read db - put values in variables loop with PM and SQLite Kit?

/s

4
User Showcase / slotmachine
« on: April 18, 2013, 12:01:11 AM »

www.successfulhero.com/Unity_Slots/slotmachine.html

Bought dDo and needed something to try it on. Found a slotmachine model I made. Cleaned up the model, made new normals in Xnormal and piped into dDo. Then played with some settings to generate a nice texturemap.

But instead of just showing a still, I figured I would give playmaker a try tro try to make the slotmachine work. So I spent a day "coding" and this was the result.

5
User Showcase / Dungeon Memory
« on: April 15, 2013, 01:49:22 PM »
If you can play "Memory", you can play "Dungeon Memory"!

Developed with Unity, playMaker, NGUI and 21 sessions of chemotherapy.

http://www.successfulhero.com/UnityDM/Beta090/Beta090_nc.html



I have also posted some images of the various StateMachines like this one:


All accessible on http://www.indiedb.com/games/dungeon-memory

6
User Showcase / DrumToy
« on: March 02, 2012, 11:25:47 AM »

http://www.fingerfunk.se/webplayer/drummachine/WebPlayer.html
Made an interactive drum machine for you to play with.
Click on BPM text to change BPM. Click on gray area on buttons to change pitch.

Made with Playmaker in 16 hours.
Have fun!


7
Playmaker Help / mouse move doesnt clamp x [solved]
« on: September 22, 2011, 07:57:46 AM »
If I put in limits on "Mouse Move" for x, it doesnt take these into consideration.

If I check the script for "Mouse move" I only see a "clamp" expression on the Y axis.

Howcome? X is not possible or forgotten?

Need to clamp the X...please!

/s

8
Playmaker Help / Random Stoppage
« on: September 07, 2011, 02:42:14 AM »
Now when I test my game it sometimes just stops at a random state.
I think it has something to do with an "possible infinite loop error" using a switch node.

Although in 1.1, PlayMaker swallowed this error. Now It just randomly stops.

Also when pressing play in Unity, first time everything works. Second time it stops.Next time it works. Then next time it stops. Variables and counters are fine.. it can just stop on a node that has an "Add Int" action for no reason

I pressed play-stop-play-stop to test and unity crashes.

Im willing to email my scene to some expert to find out whats wrong.

9
Playmaker Help / Save Score
« on: August 28, 2011, 10:59:47 PM »
Hi!

I want to load a new level, but need to save the score somewhere.

I have made a "scoremanager", but everything gets destroyed when i load a new level.

How would you go about something like this?

Also, how does the "dont destroy on load" work?

/s

10
Playmaker Help / HELP!! Infinite loop stuff..
« on: August 23, 2011, 02:40:23 PM »
Hi!

Im doing a memory game, you can see a prototype in the members showcase..

My problem is when setting up the different bricks... First time I do it it works fine,
but second time it doesnt really work.. It skips a few bricks..
Also there is an error message about infinite loops.

I use a "Random Int" picking a number from 0-6
      |   
     \|/
      V
This is piped into a "INT Switch" which has 5 events that pipe to the respective brick type.
      |   
     \|/
      V
This is piped into a "Float Compare" where i check how many times each brick has passed through a specific "Type" ie. "Wizard" or "Rat" etc. This is checked against another variable that tells how many Bricks the randomizer may pick from a specific type. ie "2 Wizards, 12 Rats, 2 Keys. 2 chests, 2 doors, 28 Floor" as it is a memory game and it needs pairs of bricks. Variables are "count_Wizard_Used" and it compares to "bricks_Wizard".

Here comes the problem (I think): When the two are equal ie. the total numbers of bricks are the same for both variables, I send the Event back to the randomizer to iterate again. If the same bricktype is picked after it has reached its limit, I just send it back to the randomizer again (perhaps this is the infinite loop error).
      |   
     \|/
      V
Question: Is there a better way in doing this "sorting" with PlayMaker? It would be nice to exclude the already taken brick variants from the Randomizer to speed stuff up a bit.

Hope you understand what I mean.. I have been up to long hacking at this problem.

Another problem is I use a GUISKin and playmaker loses the connection to it and slows everything down with a burst of

Unable to find style '' in skin 'GameSkin' Repaint
UnityEngine.GUIStyle:op_Implicit(String)
HutongGames.PlayMaker.Actions.GUILayoutBeginHorizontal:OnGUI() (at Assets/PlayMaker/Actions/GUILayoutBeginHorizontal.cs:27)
DrawGUIHandler:invoke_void__this__()
DrawGUIHandler:invoke_void__this__()
DrawGUIHandler:invoke_void__this__()
DrawGUIHandler:invoke_void__this__()
DrawGUIHandler:invoke_void__this__()

Any solution to that?

Otherwise it is great fun to use PlayMaker! I think it is great and look forward to the 1.2!!

/s

11
User Showcase / Quick Game Prototype
« on: August 22, 2011, 11:56:19 AM »
Made this over the weekend, after buying playmaker. Really enjoy making stuff with it.

Hope to develop this game further..

I call it "Dungeon Memory" its a memorygame with a twist..

http://www.successfulhero.com/UnityDM/WebPlayer.html

Enjoy!


Pages: [1]