Could someone please help me put the mouse into function with Python/Pygame? >.< For a text-based adventure game | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Could someone please help me put the mouse into function with Python/Pygame? >.< For a text-based adventure game

So I'm making a text-based adventure game as a school's project, using the pygame module. I've made the menu screen, but I don't really know how to make it so that when the mouse clicks on the text "click here to start", it will go to a new page/screen displaying "Chapter 1", then the text disappears before the first paragraph appears. And when the mouse is clicked anywhere on the pygame window, the next paragraph appears. It would be great if someone could help me with this. :')

23rd Mar 2019, 12:31 AM
Mitsume Lyn
Mitsume Lyn - avatar
2 Respostas
+ 4
Hey, how about using Kivy for this? It'll be easier to build with kivy than pygame.
23rd Mar 2019, 6:54 AM
ŠØŠ°Ń‰Šø Š Š°Š½Š¶Š°Š½
ŠØŠ°Ń‰Šø Š Š°Š½Š¶Š°Š½ - avatar
+ 1
I think I'm required to use pygame... D:
23rd Mar 2019, 7:18 AM
Mitsume Lyn
Mitsume Lyn - avatar