I have been figuring this out for a while but I can't seem to find a better solution..
Can anyone help me with this?
How can you interact with objects when touching or near them?
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.
- MilywayObree
- Newbie
- Posts: 17
- Joined: Sun Jan 28, 2018 11:24 am
- Completed: None so far, pending to be exact
- Projects: DDLC, The notebook and other secret projects
- Organization: Vocastin/Oriaa Pro-Creations
- Deviantart: MexicoRPelino
- Github: HizashiroTakahashi
- Skype: PixelMINEGaming
- Location: Philippines
- Contact:
Re: How can you interact with objects when touching or near them?
Are you talking about objects on an image?
There is a "hover" state that you use to show the player that their cursor is near a clickable object or button. Here is a really great tutorial that shows how hover states work with menus.
And here is a tutorial on making clickable objects on an image.
There is a "hover" state that you use to show the player that their cursor is near a clickable object or button. Here is a really great tutorial that shows how hover states work with menus.
And here is a tutorial on making clickable objects on an image.
- MilywayObree
- Newbie
- Posts: 17
- Joined: Sun Jan 28, 2018 11:24 am
- Completed: None so far, pending to be exact
- Projects: DDLC, The notebook and other secret projects
- Organization: Vocastin/Oriaa Pro-Creations
- Deviantart: MexicoRPelino
- Github: HizashiroTakahashi
- Skype: PixelMINEGaming
- Location: Philippines
- Contact:
Re: How can you interact with objects when touching or near them?
what i mean is that i have this code where the player can move around with a sprite like those retro games like undertale..
what i want is when the sprite walks into an object and touches it and when the player presses a certain key something happens or a screen pops up.
what i want is when the sprite walks into an object and touches it and when the player presses a certain key something happens or a screen pops up.
Just Monika.
- Pomeranian
- Regular
- Posts: 33
- Joined: Wed Oct 12, 2016 6:52 pm
- Contact:
Re: How can you interact with objects when touching or near them?
Sounds like you're looking for the overworld engine:
viewtopic.php?f=51&t=29964
viewtopic.php?f=51&t=29964
Who is online
Users browsing this forum: Bing [Bot]