Hi guys!
This is my first post here.
Nice to meet you all!
I tried to make some stuff about a year ago but I didn't succeed.
I recently tried to follow some tutorials, and I've made a pong clone and a space invaders clone so far!
I'm now trying to make a puzzle.
If you recompose the entire image with the pieces put in random order by the game, you win.
I'd like it to be kind of this puzzle, but with a picture.
I tried to write something, here's the link to the love file: https://www.sendspace.com/file/ivo3n4
I'm a little unsure about how to handle the pieces to move.
I generally have a character and I move it with the wasd keys, but with the puzzle I'd have to select a piece to move first!
What's the best way to handle that?
Any suggestions in general about how to make a puzzle?
Thank you for your patience
Edit: I'm sorry, I attached the file
Puzzle help
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Puzzle help
Last edited by xNick1 on Wed Jun 15, 2016 4:46 pm, edited 2 times in total.
Re: Puzzle help
No need to select a piece to move first. There's always at most 4 possible moves. Think of it as moving the hole.
Edit: If you still prefer the player to select a piece, there's only at most 4 pieces that can be moved, and each of them can move in just one direction, so there's nothing else the player needs to do after selecting a piece. That can be done with a square moving around the puzzle. However I'm used to puzzles that require me to move the hole, or to move the piece, like this one: http://www.chiark.greenend.org.uk/~sgta ... fteen.html
Edit2: Please attach the .love file to the post next time. Having to solve a captcha to get the file is annoying.
Edit: If you still prefer the player to select a piece, there's only at most 4 pieces that can be moved, and each of them can move in just one direction, so there's nothing else the player needs to do after selecting a piece. That can be done with a square moving around the puzzle. However I'm used to puzzles that require me to move the hole, or to move the piece, like this one: http://www.chiark.greenend.org.uk/~sgta ... fteen.html
Edit2: Please attach the .love file to the post next time. Having to solve a captcha to get the file is annoying.
Re: Puzzle help
It's off-topic, but... what captcha? Didn't see anything that can't be ignoredpgimeno wrote:Having to solve a captcha to get the file is annoying.
- zorg
- Party member
- Posts: 3444
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Puzzle help
Maybe it only gives you a captcha sometimes; It's still jumping through hoops with sendspace and other "shit tier" hosters; even mediafire is starting to get worse; mega's tolerable, but if the forums allow attachments, then one should do that istead, as how the op fixed it.4aiman wrote:It's off-topic, but... what captcha? Didn't see anything that can't be ignoredpgimeno wrote:Having to solve a captcha to get the file is annoying.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Puzzle help
I agree, that attachments should be used for the purpose of adding a file.
But what I'm trying to say is "getting rid of anything irrelevant is not that difficult".
RequestPolicy+NoScript+RefControl and you'll be able to easily tell apart what you have to see and fill in and what is shown to you only to make you believe you need a *pro* account and doesn't really mean anything
Here's how it looks like for me: All I have to do is to click on the "Download" button and to save my file: No captcha, no ads no irrelevant info.
I'd say it's the responsibility of the one who downloads stuff to keep things he/she doesn't want to see away
But what I'm trying to say is "getting rid of anything irrelevant is not that difficult".
RequestPolicy+NoScript+RefControl and you'll be able to easily tell apart what you have to see and fill in and what is shown to you only to make you believe you need a *pro* account and doesn't really mean anything
Here's how it looks like for me: All I have to do is to click on the "Download" button and to save my file: No captcha, no ads no irrelevant info.
I'd say it's the responsibility of the one who downloads stuff to keep things he/she doesn't want to see away
- zorg
- Party member
- Posts: 3444
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Puzzle help
In a perfect world, there would be no need for these kinds of things, but alas.
(AdBlockPlus and uMatrix here)
(AdBlockPlus and uMatrix here)
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Puzzle help
I'm a TOR user, and it's likely that some TOR exit node was used for multiple downloads, which were confused with bot activity because they were all done from the same IP, so I was asked to confirm I was not a bot.
Anyway, to the OP: do you have an idea now on how to move the pieces?
Anyway, to the OP: do you have an idea now on how to move the pieces?
Re: Puzzle help
Hey guys,
I made some progress.
Could you check it?
I'm not sure about how to move the pieces.
When I try to move the pieces, everything goes in a wrong direction xD
Thank you
I made some progress.
Could you check it?
I'm not sure about how to move the pieces.
When I try to move the pieces, everything goes in a wrong direction xD
Thank you
- Attachments
-
- Puzzle.love
- (1.5 MiB) Downloaded 71 times
Re: Puzzle help
You could take a look at my code. Just click on the piece you want to move. If you manage to get every piece into position it shows you the complete picture.
The idea is that you look at which piece a player clicks. If the empty space is next to it, then you switch the places of the clicked piece and the empty space.
The idea is that you look at which piece a player clicks. If the empty space is next to it, then you switch the places of the clicked piece and the empty space.
- Attachments
-
- moving_puzzle.love
- (97.26 KiB) Downloaded 65 times
Re: Puzzle help
Thank you! =)Xugro wrote:You could take a look at my code. Just click on the piece you want to move. If you manage to get every piece into position it shows you the complete picture.
The idea is that you look at which piece a player clicks. If the empty space is next to it, then you switch the places of the clicked piece and the empty space.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 90 guests