- Jan 4, 2018
- 97
- 355
I was wondering if it's possible to actualise the screen content like renpy text or make a loop that do not make crash renpy
Code:
init 999 python:
import pygame
screen Dev_screen():
python:
mouseX = pygame.mouse.get_pos()[0]
mouseY = pygame.mouse.get_pos()[1]
viewport id "Dev_screen":
vbox:
text "X : [mouseX]" #Need to refresh this
text "Y : [mouseY]"