Scripted Chess Minigame
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Newbie
- Posts: 3
- Joined: Sun Mar 07, 2021 8:39 pm
- Contact:
Scripted Chess Minigame
I want to make a chess mechanic for my game, however I don't want to use AI and want to have specific "wrong" and "right" moves that the player can make (I'm using it as a debating/trial mechanic). I know there's a chess minigame in the renpy cookbook, but it's a lot different from what I'm looking to do here. I don't need an exact code or anything, but I was wondering what the best way to go about making something like this would be?
- Ocelot
- Lemma-Class Veteran
- Posts: 2400
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Scripted Chess Minigame
If you have limited set of moves, you do not need minigame at all. You just need a series of images, which you show depending on player choice.
< < insert Rick Cook quote here > >
Re: Scripted Chess Minigame
I'm not sure what you intend to achieve, but if you'd like to discuss different moves based on an initial chess situation, you could maybe use an imagemap.
Use an image of your whole chess board, and put hotspots on the squares/pieces you have something interesting to say : the player hovers/click on them, you display your text and go to your next situation if the choice is "correct" or if the player has studied every option available to him/her.
Maybe you can highlight what moves a specific piece can do when you hover over it, too ?
Use an image of your whole chess board, and put hotspots on the squares/pieces you have something interesting to say : the player hovers/click on them, you display your text and go to your next situation if the choice is "correct" or if the player has studied every option available to him/her.
Maybe you can highlight what moves a specific piece can do when you hover over it, too ?
-
- Newbie
- Posts: 3
- Joined: Sun Mar 07, 2021 8:39 pm
- Contact:
Re: Scripted Chess Minigame
I was thinking about using an imagemap!! I just wasn't sure if that was what the best option would be.uncoded wrote: ↑Tue Apr 13, 2021 3:00 am I'm not sure what you intend to achieve, but if you'd like to discuss different moves based on an initial chess situation, you could maybe use an imagemap.
Use an image of your whole chess board, and put hotspots on the squares/pieces you have something interesting to say : the player hovers/click on them, you display your text and go to your next situation if the choice is "correct" or if the player has studied every option available to him/her.
Maybe you can highlight what moves a specific piece can do when you hover over it, too ?
-
- Newbie
- Posts: 3
- Joined: Sun Mar 07, 2021 8:39 pm
- Contact:
Re: Scripted Chess Minigame
An alternative to imagemaps in your case is imagebuttons.newmutations wrote: ↑Tue Apr 13, 2021 3:13 pmI was thinking about using an imagemap!! I just wasn't sure if that was what the best option would be.
You can check this tutorial out (but download it from this post), compare it to imagemaps, and judge which solution is most suited to your needs.
Who is online
Users browsing this forum: Google [Bot]