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

Pages: 1 2 3 4 5 ... 9
31
Ask a Question / Re: Glow effect in Stencyl
« on: February 27, 2014, 11:18:12 pm »
Good trick! I will also check Eye Candy pack on Stencyl forge. Thanks

32
Ask a Question / Glow effect in Stencyl
« on: February 27, 2014, 03:00:02 pm »
Any ideas how to achieve glow effect on an actor?
For example light yellow glow around some object(actor)?

I remember doing this with shadow filter in AS3. But of course flash has its own glow filter :)

33
Game Ideas / Re: Make my game more challenging
« on: February 27, 2014, 08:07:07 am »
Ok, so guys do you think now the game is much more playable than before? I mean is the difficulty better?

Since it is hard to make it good for people of all age, is the difficulty appropriate for children at least?

34
Ask a Question / Re: Custom block
« on: February 27, 2014, 07:22:53 am »
You guys helped me understand that actor and scene behaviors are different thing, but since global custom blocks don't work, I will not use them and I will try to redesign my block structure. Thanks for your time.

35
Ask a Question / Re: Custom block
« on: February 27, 2014, 07:06:57 am »
It doesn.'t matter. I am talking about same chunk of blocks in scene behavior and actor behavior. It is more about design than faulty code/block. And I removed global custom block. I don't use it, neither normal custom block. It breaks my game.

And to be specific, the initial scene sets order for each level for the cards. The same thing happens when I press reset button.
So my initial scene has a scene behavior which sets card order for each level.
But also my reset button which has an actor behavior does the same thing i.e sets order of cards foreach level.

 But yes whatever I think I should remove the same chunk of blocks from the reset button behavior.

36
Ask a Question / Re: Custom block
« on: February 27, 2014, 07:02:47 am »
Your note is good. I have initialization code in the loading scene behavior, but also the same thing happens when I press reset button which has actor behavior, which in turn resets all data about the game to the initial game state. What should I do in such a case?

37
Ask a Question / Re: Custom block
« on: February 27, 2014, 06:51:44 am »
Well the point was code reusability. I wanted to create one custom block with one parameter and use it in two behaviors by just passing a parameter. My block part is very big and I use the same logic in two behaviors which is lot of duplicate code.
And @rob what do you mean many blocks doesn't work in global custom block?

38
Ask a Question / Re: Custom block
« on: February 27, 2014, 04:49:12 am »
Such a complicated thing to do! I created custom global block and I replaced all local variables with game attributes and wen testing it it says: I cannot find method getGameAttribute() ????

Some of the output:

Behavior: Design_391_391_SceneHelper at line 43
Call to a possibly undefined method setGameAttribute.
            setGameAttribute("deckType", Number((getGameAttribute("deckTypeList") as Array)[randomInt(Math.floor(0), Math.floor(2))]));

Behavior: Design_391_391_SceneHelper at line 43
Call to a possibly undefined method getGameAttribute.
            setGameAttribute("deckType", Number((getGameAttribute("deckTypeList") as Array)[randomInt(Math.floor(0), Math.floor(2))]));

Behavior: Design_391_391_SceneHelper at line 43
Call to a possibly undefined method randomInt.
            setGameAttribute("deckType", Number((getGameAttribute("deckTypeList") as Array)[randomInt(Math.floor(0), Math.floor(2))]));

Behavior: Design_391_391_SceneHelper at line 48
Call to a possibly undefined method setGameAttribute.
            setGameAttribute("deckType", Number((getGameAttribute("deckTypeList") as Array)[randomInt(Math.floor(2), Math.floor(5))]));

Behavior: Design_391_391_SceneHelper at line 48
Call to a possibly undefined method getGameAttribute.
            setGameAttribute("deckType", Number((getGameAttribute("deckTypeList") as Array)[randomInt(Math.floor(2), Math.floor(5))]));

Behavior: Design_391_391_SceneHelper at line 48
Call to a possibly undefined method randomInt.
            setGameAttribute("deckType", Number((getGameAttribute("deckTypeList") as Array)[randomInt(Math.floor(2), Math.floor(5))]));

Behavior: Design_391_391_SceneHelper at line 53
Call to a possibly undefined method setGameAttribute.
            setGameAttribute("deckType", Number((getGameAttribute("deckTypeList") as Array)[randomInt(Math.floor(6), Math.floor(12))]));

Behavior: Design_391_391_SceneHelper at line 53
Call to a possibly undefined method getGameAttribute.
            setGameAttribute("deckType", Number((getGameAttribute("deckTypeList") as Array)[randomInt(Math.floor(6), Math.floor(12))]));

Behavior: Design_391_391_SceneHelper at line 53
Call to a possibly undefined method randomInt.
            setGameAttribute("deckType", Number((getGameAttribute("deckTypeList") as Array)[randomInt(Math.floor(6), Math.floor(12))]));

39
Ask a Question / Re: Custom block
« on: February 27, 2014, 03:56:18 am »
Ok I will make global custom behavior, sorry!

40
Ask a Question / Re: Custom block
« on: February 27, 2014, 03:51:31 am »
oooo, hahahah, what a mechanism :D

41
Ask a Question / Re: Custom block
« on: February 27, 2014, 01:45:34 am »
Even in code view I cannot see somthing that look like my parameter :(

42
Ask a Question / Re: Custom block
« on: February 27, 2014, 01:38:18 am »
Or should I move to Stencyl 3?

Was this feature available in Stencyl 2?

43
Ask a Question / Custom block
« on: February 27, 2014, 01:30:23 am »
I just made new custom block and added one Number parameter, but I cannot see it available when using it in another behavior i.e I cannot pass number parameter to this custom block.

I followed this guide: http://www.stencyl.com/help/view/creating-custom-blocks/

I am still using Stencyl 2. What do I do wrong?

44
Game Ideas / Re: Make my game more challenging
« on: February 25, 2014, 08:23:04 am »
Thanks for your fast responce. I removed 10 cards but even with that change it is still 6MB. Previosly was about 9.5MB :)
I am still with Stencyl 2. Perhaps the memory management will change with Stencyl 3

Take your time :)

45
Game Ideas / Re: Make my game more challenging
« on: February 25, 2014, 08:14:00 am »
Read carefully: first press reset button because the previous data may be saved so it might not work. Or clear cache.

Pages: 1 2 3 4 5 ... 9