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

Pages: 1
Also wanted to mention that each of the letters has 2 animations: picked and placed with the "when created make self active always and set actor value LETTER for Self to Letter A" under Events. The spaces animations are, BLANK and LETTER A.

I have also applied all the actors to either the LETTERS group or the SPACES group, respectively.

Thanks again!

Hi Liberado,

Thank you! So I have all the code all set up and the drag and drop for each of the letters is working. However, I am running into a couple issues:

1.) When I drag and drop the letters, especially when I move the second, third, fourth letter, etc., they stick to each other or disappear underneath. I am not sure why this is happening.

2.) When the game loads, the letters all appear in one line at 320y for some reason, instead of in two lines at the bottom of the screen.

I have attached a few screenshots showing you what I have for code:

Thanks again for all your help!

Yes, that's exactly what I want. Could you show me the code you used to get this?

Thanks again!

Hello! Not sure if this would help, but I would make it so that the player would click on a letter tile, then click on the chosen area region, making sure that there is no way to accidentally put a letter tile in the wrong area. If this is not the style you prefer and drag-and-drop better suites the game (as you have said), then you could make the letter tiles decrease in size some when dragged, then increase again when dropped onto the correct area, snapping into place if touching. I'm sorry if this did not help. I'm a newbie too. :P

Hi Bmo, thanks for your reply!

Your feedback was helpful. I like that concept as well; I'm thinking I'll try drag-and-drop first and see what that does. (I've got some of it working so far.)

Thanks again!

Hi Liberado, thanks for getting back to me!

Yes, my letter blocks are actors . The crossword puzzle blocks are also actors.  My thoughts was to fill in each space by dropping an actor (letter block) on top of an actor (each white crossword puzzle block).  Thanks also for letting me know about the letter size. I have managed to get them to drag and drop and place, but without the logic to say that such a letter (or word) was correct or incorrect.

Yes, the project file would be helpful, thank you!

Hi there!

So I am new to Stencyl and I am creating a crossword puzzle game. The objective is for the player to fill out the words in the crossword puzzle from the given letters. The letters are letter tiles which the player would, ideally, click and drag, and then snap into the appropriate place on the crossword puzzle. If the player set the letter on the correct tile in the crossword, the letter would "snap" into place. However, if their guess was incorrect, the letter would go drop back to its original spot at the bottom of the screen.

For example, if the words the player was supposed to find are, "Tie," "Kite," "Tank," "Tea," and "Ink," the given letters would be two A's, two E's, two I's, two K's, two N's and three T's. I would need to go about how to get, say, any of the three T's to "snap" to a spot where a T could go.

With some research into this already, my understanding is that I would code this by checking whether the x-center and y-center of the letter puzzle piece is close to the x-center and y-center of the intended area (region?). My letter tiles are 40x40px - please let me know if 32x32px is a better size to work with.

Thanks in advance!

Pages: 1