I am trying to make an Image move Left / Right with A / D. I cant find anythink like a guide to binding an action to a Key or anything similar.
Overall goal is to make character.png move Left or Right depending on the Input given but I cant Figure out how to do it.
Moving Images on Button input
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.
- Ocelot
- Lemma-Class Veteran
- Posts: 2400
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Moving Images on Button input
Use key screen statement to listen for keypress: https://www.renpy.org/doc/html/screens.html#key
< < insert Rick Cook quote here > >
Re: Moving Images on Button input
Sample of game operated with keys - viewtopic.php?f=51&t=18047&start=15#p395929
Who is online
Users browsing this forum: Google [Bot]