# 대사를 표시한다. transform alpha_down: linear 0.5 alpha 0.5 transform alpha_half: alpha 0.5 for i, data in enumerate(dialogue): $ who, what, who_id, what_id, window_id = data $ length = len(dialogue) window: id window_id has hbox: spacing 10 if i <= length -3 or (i<= lenght -2 and items): if who is not None: text who id who_id at alpha_half text what id what_id at alpha_half elif i <= length -2: if who is not None: text who id who_id at alpha_down text what id what_id at alpha_down else: if who is not None: text who id who_id text what id what_id
안녕하세요 최근에 와서야 파이썬 언어를 건드려보고 있는 초짜입니다 ㅠ.ㅠ;;
마법사의 밤 처럼 읽은 글은 뿌옇게 처리 되게 하고싶어서 열심히 따라 적어보았습니다만, 저는 잘 되지 않네요.
스스로 알아보려 했지만 한계가 와서 질문드립니다.
혹시 제 명령어의 어디가 잘못 되었는지 확인해 주실 수 있으실까요?
for i, data in enumerate(dialogue): 라는 부분이 오류라고 뜨는데 수정을 해보아도 그대로 이네요 ㅠ.ㅠ;;
http://askance.tistory.com/186 이 글 참고해 보셨나요?