Search found 5 matches
- Fri Apr 26, 2024 12:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Should I be using imagemaps or imagebutton for an interactive flowchart (zooming, mouse navigation, etc)
- Replies: 4
- Views: 351
Re: Should I be using imagemaps or imagebutton for an interactive flowchart (zooming, mouse navigation, etc)
Got it, I misunderstood the OP. So I apply zoom to the images, but not the hotspots themselves. That seems unintuitive, but maybe I just need to flip my thinking around. It's working much better now--just need to make sure I'm zooming in on an actual node on the map now. Also really cool map you got...
- Fri Apr 26, 2024 7:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Should I be using imagemaps or imagebutton for an interactive flowchart (zooming, mouse navigation, etc)
- Replies: 4
- Views: 351
Re: Should I be using imagemaps or imagebutton for an interactive flowchart (zooming, mouse navigation, etc)
I believe that's what I'm doing with this code: def get_coordinates(self, is_zoomed): return (self.get_x(is_zoomed), self.get_y(is_zoomed)) def get_x(self, is_zoomed): if is_zoomed: return self.coordinates[0] * 2 return self.coordinates[0] def get_y(self, is_zoomed): if is_zoomed: return self.coordi...
- Wed Apr 24, 2024 7:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Should I be using imagemaps or imagebutton for an interactive flowchart (zooming, mouse navigation, etc)
- Replies: 4
- Views: 351
Should I be using imagemaps or imagebutton for an interactive flowchart (zooming, mouse navigation, etc)
I'm trying to make a flowchart with a couple of basic features: - When you click on a node, it zooms in on that node and neighboring nodes - When you click on the node again, you jump into a story segment I've been using an imagemap so far, because it seems to better support zooming in and when the ...
- Tue Apr 23, 2024 7:58 am
- Forum: Ren'Py Questions and Announcements
- Topic: Using imagemaps to create a flowchart, hotspots not working
- Replies: 2
- Views: 289
Re: Using imagemaps to create a flowchart, hotspots not working
Thank you, that was hugely helpful. It seems to be working now, but strangely it seems to work "better" when I have the idle and hover code you provided? It's much more responsive. I still get the beep sound when I comment out the idle/solid code, but only about half the time. I replaced t...
- Mon Apr 22, 2024 11:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Using imagemaps to create a flowchart, hotspots not working
- Replies: 2
- Views: 289
Using imagemaps to create a flowchart, hotspots not working
I'm at a complete loss here. I've been trying to get my imagemap working for a flowchart for days. The first code block is the actual relevant block of code, the second code block is where I defined the Node class and list of nodes screen flowchart(): default select_node = None frame: xysize (config...