In a normal game, anywhere on the screen where you click, you jump the the next text, label, etc.
I was wondering if it's possible to establish a limit to that "jump area".
I mean, for example. This is a screen/scene;
If I wanted the game to jump to the next part only if the person clicked on the pink box.
But without it being an imagebutton or something like that. Something similar to when you establish the position of a hotspot.
It that possible?
Thanks.
Is it possible to establish a limit for the "jumping area"?
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.
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: Is it possible to establish a limit for the "jumping area"?
Why would you not make it an image button? That, and a bit of extra code to make the game doesn’t advance otherwise, will do exactly what you want. I have something similar in my game.
So why no image buttons?
So why no image buttons?
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Is it possible to establish a limit for the "jumping area"?
You can use a regular button if you dislike imagebuttons
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: Is it possible to establish a limit for the "jumping area"?
I didn't want to use imagebuttons because my game simulates a phone messenger. The messages you receive "jumps" automatically. You can only jump when it's your time to answer. So I thought it would be more complicated it if had to show and hide buttons all the time.
But maybe that would be a better alternative.
Thanks guys
But maybe that would be a better alternative.
Thanks guys
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot]