Search found 8 matches
- Thu Apr 10, 2014 8:43 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Tooltip's Action() function is overwriting in a loop(Solved)
- Replies: 2
- Views: 459
Re: Tooltip's Action() function is overwriting in a loop.
The explanation is simply that [x],[y] is not being substituted where you think it is. When the action tt.Action("Already explored [x],[y]") is run, the tooltip's value is set to "Already explored [x],[y]". Now, the loop continues, and at the conclusion of the loop, x and y are ...
- Thu Apr 10, 2014 7:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Tooltip's Action() function is overwriting in a loop(Solved)
- Replies: 2
- Views: 459
Tooltip's Action() function is overwriting in a loop(Solved)
While attempting to fix a bug from the other thread, I ran into this problem. I'm using a double for loop in order to create a series of hotspots/imagemaps, as well as a tooltip generated with each of them, and it worked okay until I tried to vary the content in the tooltips itself. This code result...
- Thu Apr 10, 2014 5:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Insensitive buttons and the "hovered" action. (Still Open)
- Replies: 5
- Views: 1238
Re: Insensitive buttons and the "hovered" action.
Shove a mousearea around it, do the hovered/unhovered work there. That did it. Seems obvious in retrospect. Thanks for the help! EDIT: It works for the most part but suddenly I'm getting an error wherein if I move off the mousearea (the red X) and onto the normal imagemaps it's displaying the defau...
- Thu Apr 10, 2014 4:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Insensitive buttons and the "hovered" action. (Still Open)
- Replies: 5
- Views: 1238
Re: Insensitive buttons and the "hovered" action.
The problem with that is that the button is now considered "sensitive" and thus displays the same as the surrounding tiles.Alex wrote:Try to add action that do nothing to a hotspotCode: Select all
action [[]]
- Thu Apr 10, 2014 3:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Insensitive buttons and the "hovered" action. (Still Open)
- Replies: 5
- Views: 1238
Insensitive buttons and the "hovered" action. (Still Open)
I am making a game which involves exploring an imagemap made up of hotspots, and I set up a tooltip at the bottom of the screen to give information about the areas of the map which are currently clickable, and the areas which are not currently clickable. However, it appears that Ren'py disables the ...
- Tue Apr 08, 2014 9:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Bizarre image displacement error involving imagemaps.
- Replies: 4
- Views: 636
Re: Bizarre image displacement error involving imagemaps.
Alright then. Thank you very much for the help!
- Tue Apr 08, 2014 8:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Bizarre image displacement error involving imagemaps.
- Replies: 4
- Views: 636
Re: Bizarre image displacement error involving imagemaps.
Delete your imagemap cache. Should be a 'cache' directory in your 'game' directory. Nuke it. Welp, that did it. But does this type of error occur from altering the code or could it happen just from playing the game as well? I ask because which hotspots are clickable is going to change as the game p...
- Tue Apr 08, 2014 8:40 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Bizarre image displacement error involving imagemaps.
- Replies: 4
- Views: 636
Bizarre image displacement error involving imagemaps.
All figures here: http://imgur.com/a/GOIKE#0 Code at the bottom. For my game, I created a map with an 8x8 grid and set it up so that each block could be clicked, and it was working just fine. (Figure 1) However I then started experimenting with conditionals, since I didn't want every block to be act...