SpielByWeb Forum Index SpielByWeb
http://www.spielbyweb.com/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   Find a UserFind a User   UsergroupsUsergroups   RegisterRegister 
 Your GamesYour Games   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How Can I Drag and Drop Actors & Snap Them Into Place?

 
Post new topic   Reply to topic    SpielByWeb Forum Index -> SpielByWeb Chat
View previous topic :: View next topic  
Author Message
DrakeHeyman



Joined: 28 Jan 21
Posts: 31


PostPosted: Sun Aug 29, 2021 11:53 am    Post subject: How Can I Drag and Drop Actors & Snap Them Into Place? Reply with quote

So, I'm new to Stencyl and I'm creating a crossword puzzle game. The goal is for the player to fill in the words in the crossword puzzle from the given letters. Letters are tiles of letters that the player, ideally, should click and drag, and then click in the appropriate place of the crossword puzzle. If the player puts a letter on the correct tile in the crossword puzzle, the letter will "fall" into place. However, if their guess was wrong, the letter returned to its original place at the bottom of the screen.

For example, if the player had to find the words "Tie", "Kite", "Tank", "Tea" and "Ink", then the given letters will be two" A", two" E", two" I", two" K", two "H "and three"T". I would have to think about how to make, say, any of the three letters " T ""bind"to the place where the letter" T " could get.

Having already done some research in this direction, I understand that I would encode this by checking whether the center x and center y of the puzzle piece with letters are close to the center x and center y of the intended area (area?). My email tiles are 40x40 pixels in size - please let me know if the 32x32 pixel size is suitable for the job.
Back to top
View user's profile Send private message
julianash



Joined: 23 Aug 21
Posts: 12


PostPosted: Mon Aug 30, 2021 10:44 am    Post subject: Reply with quote

I'm not sure that I'm a prominent expert in this matter. Perhaps I can give you a little advice.
Back to top
View user's profile Send private message
christense



Joined: 23 Aug 21
Posts: 23


PostPosted: Mon Aug 30, 2021 10:46 am    Post subject: Reply with quote

Confused

Last edited by christense on Mon Aug 30, 2021 10:54 am; edited 1 time in total
Back to top
View user's profile Send private message
christense



Joined: 23 Aug 21
Posts: 23


PostPosted: Mon Aug 30, 2021 10:53 am    Post subject: Reply with quote

I'm not sure that I'm a prominent expert in this matter. Perhaps I can give you a little advice. The size of 32x32 is perfect for your work. I started doing crosswords a couple of years ago. I've never been able to do this before. But sometimes, I used hints via crossword solver crossword-solver.io . It helped me a lot. I also chose a new crossword puzzle every day. That's how I learned. I can say one thing, that it is better to use blocks with letters. For me, they are more attractive in the game than the other options. It seems to me that this is the best option.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SpielByWeb Forum Index -> SpielByWeb Chat All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group