Search found 6 matches

by ZeroProcess
Sat Apr 15, 2017 2:19 pm
Forum: Ren'Py Questions and Announcements
Topic: python - simple for in dont work
Replies: 5
Views: 700

Re: python - simple for in dont work

If you put for statement in python block, then no problem :)

Code: Select all

python:
    goblin1= npc("goblin", 15, 0, 15, 0, 15, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 55)

    ennemy = []
    ennemy.append(goblin1)
    for current_opponent in ennemy:
        #loop content
by ZeroProcess
Sun Apr 09, 2017 3:36 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How can I do 2 redraw in 1 event?
Replies: 8
Views: 1107

Re: How can I do 2 redraw in 1 event?

xela wrote:

Code: Select all

default controller = Controller()
should be safer.
Ok.

Otherwise I solved this problem another way.
by ZeroProcess
Sat Apr 08, 2017 3:12 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How can I do 2 redraw in 1 event?
Replies: 8
Views: 1107

Re: How can I do 2 redraw in 1 event?

The original code is different, but previously I have used simplified code, because the essence is the same.
When player vs player no problem, because enought one refresh in one event.
by ZeroProcess
Sat Apr 08, 2017 2:30 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How can I do 2 redraw in 1 event?
Replies: 8
Views: 1107

Re: How can I do 2 redraw in 1 event?

It's not clear. Where is the field_2.png?
Important: when I click field then appearance of the field refresh two times.

So the board contain fields and when user click on the field then refresh all fields on board after the AI step follow and refresh again.
by ZeroProcess
Sat Apr 08, 2017 1:47 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How can I do 2 redraw in 1 event?
Replies: 8
Views: 1107

Re: How can I do 2 redraw in 1 event?

xela wrote:Use st or at to time your actions as you see fit within your UDD.
Can you show me an example of how to use it?
by ZeroProcess
Sat Apr 08, 2017 12:42 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How can I do 2 redraw in 1 event?
Replies: 8
Views: 1107

[SOLVED] How can I do 2 redraw in 1 event?

I'm writing a minigame script for my project and I have 1 problem: How can I do 2 redraw in 1 event? Expected: When I click field then fieldImage is changed to field_0.png which appears on screen, after wait one sec and fieldImage is changed to field_2.png wich appears on screen. Actual: after click...