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

Pages: 1
Shared Resources / Re: Basic Match 3 Kit
« on: July 29, 2013, 03:48:54 pm »
Phenomenal!  Thank you so much, rob1221!

Shared Resources / Re: Basic Match 3 Kit
« on: July 29, 2013, 03:21:47 pm »
Sorry to necropost, but I'm going through the kit attempting to find the code for the actual match and replace algorithms.  They don't appear to be in the Behaviors.  Does anyone know where they actually are?  (Timing and delay codes are in there, along with something that calls the matching code, but I didn't see any actual matching code itself.)

Ask a Question / Re: Importing pictures and actors, live
« on: July 15, 2013, 09:55:52 am »
Thanks t4u, but that won't work for my purposes.

I intend to have packs for kanji, Chinese characters, maybe Vietnamese and Korean, and I don't want them all bundled in the .swf.  Not only would it be a massive file, I intend to keep the new symbol packs server-side and dispense them to subscribing users as they level.  People can pirate the game all they want, but unless they have a paid account on the server it's not going to do them much good.

That approach seems to work nicely for Stencyl itself, at least until someone works out a way around that and nabs a local copy of all the packs on the server for distribution.  Or to allow them to spoof the server for Stencyl rather successfully, and collect user subscription fees for pretending to be Stencyl's own server to torrent-distributed versions of Stencyl that point to the hackers' own servers instead.

Thank you!   :D

Resolved Questions / How to do: While [NOT] [Actor Type] is in Region
« on: July 14, 2013, 02:27:45 pm »
For a tile-based game like Match 3, I'd like to spawn new tiles at the top of the screen whenever there's room.  I've created a Region for each of my columns, and would like to check when the scene updates whether each of them are empty.

Under Actor >> Properties >> Groups / Type there is a codeblock that's settable to Actors, Doodads, Player, etc.  Just the thing to add to Scene >> Regions >> Get Region >> "[Actor] is inside [Region]", in place of [Actor] to instead find if any of a given type of Actors are present there.  But the code won't snap together.  Instead, the region check appears to only be capable of determining whether a specific actor, like a Player, is within.

What is advisable here?

Ask a Question / Importing pictures and actors, live
« on: July 14, 2013, 12:04:51 pm »
I'm making a sort of Match 3 game with a kanji tileset, designed to assist players in learning kanji while they play.  It sure would be nice to be able to import new kanji symbol packs as they play.  In addition to an animation frame for the tile, they'd also have text data about the definition, synonyms, and kana used to spell them out.  In essence, each new kanji is its own actor.  So I'm looking for a way to establish new actors, with an animation, pulled from files available online.

Is there any way to implement this?  I know we can get files and use the data to draw pixels, but that seems like it would be an awful drain on system resources when playing.  And there doesn't seem to be any way to store the image or actor data as new animations and actors once they're received.

What would be a good way to implement this?

Resolved Questions / Re: Collision event block section disappearing
« on: July 14, 2013, 10:37:14 am »
Ah, I get it now.

Works like a charm.  Thanks, rob1221!   :D

Resolved Questions / Re: Collision event block section disappearing
« on: July 13, 2013, 04:25:40 pm »
Thanks for the prompt response, rob1221!   :)

However, it doesn't seem to solve the problem.  In your example above, I'd still need to check if there was not currently a collision at the underside of my actors before either a) switching Gravity back ON for the actor, or b) setting the Colliding boolean to False.  (Otherwise, I may as well not be turning the gravity off in the first place.)

And I still can't check that except from within events that are triggered upon Collision, since the checks regarding Collision disappear anywhere else.

Did I miss something?

Resolved Questions / Collision event block section disappearing
« on: July 13, 2013, 03:50:33 pm »
I'm attempting to use Collision event statements, but the section containing them only seems to show within Add Event >> Collision.  Draw, Update and other event types don't appear to have the section.  (I am using Stencyl 2.2.0 b502, the current publicly-available free version for po' folks like myself.)

This becomes relevant because I'm doing a Match 3 implementation, and I want the actor tiles to be affected by gravity when they're spawned at the top of the screen, but then switch gravity off for each of them when they land on another actor tile or the bottom of the screen.  Not doing so results in block tiles constantly wiggling around as Box2D notices they're touching each other, and does its physics thing.  Often (and unpredictably), actor tiles will also slide right through each other.  So, when the underside is hit, I turn gravity off for them.

But when the actor tile underneath disappears, I want to re-enable gravity for them.  So I need to check for when the underside of my actor tiles aren't colliding with something.  But when the Collision statements are only available when an actor is... what then?

Ask a Question / Creating/Destroying Actors from Lists
« on: August 31, 2012, 01:14:52 pm »
I'm working on an Inventory system.  It will probably involve destroying Actors upon pickup, and adding the name to a List called Inventory instead.  To drop an item, it would remove the item from the inventory list, and generate an Actor for the item based on the List entry.

But the List documentation, while mentioning that Lists can contain Text or Numbers, doesn't mention how those can be used.  Specifically, how could I create a new Actor based on a name from a List?


Suggestion Archives / Re: Mini-Suggestion Thread
« on: August 28, 2012, 07:36:53 am »
I'm often offline, and it would be great to be able to download Stencylpedia in order to use it and learn as I develop, wherever I go.  PDF would be ideal, as would a torrent of the various tutorial videos.  Heck, with a torrent Stencyl wouldn't even have to host them to download them.

Pages: 1