Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
visual00
Regular
Posts: 28 Joined: Fri Aug 22, 2014 8:28 am
IRC Nick: TaeIn
Contact:
#1
Post
by visual00 » Mon Jan 12, 2015 7:55 am
hi guys!
I will ask you a question but
I can't speak english very well. I'm sorry
You understanding please
VIDEO
upper right corner of the screen flicker bug?
why do this?
upper right corner of how can stop the flicker ?
i'm attached my game project
i hope your help
Code: Select all
image pini smile = "pini_smile.png"
image pini normal = "pini_normal.png"
image bg = im.Scale("classroom1.png", 1280, 720)
define pini = Character('Pini', color="#c8ffc8")
label start:
scene bg
show pini normal
pini "shake it shak it"
show pini smile at Move((655, 430), (640, 430), .10, bounce=True, repeat=True, delay=.275, xanchor="center", yanchor="center")
pini "i'm shake it"
return
Attachments
horizontal shake example.zip
(3.83 MiB) Downloaded 20 times
PyTom
Ren'Py Creator
Posts: 16096 Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:
#2
Post
by PyTom » Mon Jan 12, 2015 2:11 pm
I see the bug, but Move has been obsolete for a while now. Here's the code rewritten to use ATL.
Code: Select all
image pini smile = "pini_smile.png"
image pini normal = "pini_normal.png"
image bg = im.Scale("classroom1.png", 1280, 720)
define pini = Character('Pini', color="#c8ffc8")
transform shake:
xoffset 0
linear .05 xoffset 15
linear .05 xoffset 0
repeat 3
label start:
scene bg
show pini normal
pini "shake it shak it"
show pini smile at shake
pini "i'm shake it"
return
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama •
https://www.patreon.com/renpytom
visual00
Regular
Posts: 28 Joined: Fri Aug 22, 2014 8:28 am
IRC Nick: TaeIn
Contact:
#3
Post
by visual00 » Sat Jan 17, 2015 5:47 am
PyTom wrote: I see the bug, but Move has been obsolete for a while now. Here's the code rewritten to use ATL.
Code: Select all
image pini smile = "pini_smile.png"
image pini normal = "pini_normal.png"
image bg = im.Scale("classroom1.png", 1280, 720)
define pini = Character('Pini', color="#c8ffc8")
transform shake:
xoffset 0
linear .05 xoffset 15
linear .05 xoffset 0
repeat 3
label start:
scene bg
show pini normal
pini "shake it shak it"
show pini smile at shake
pini "i'm shake it"
return
wow this code it's nice and awesome!!!
It's the code I was expecting
Thank you very much pytom!
Users browsing this forum: Google [Bot] , Majestic-12 [Bot]