Search found 17 matches

by Newprogrammer
Sat Apr 27, 2019 10:41 am
Forum: Ren'Py Questions and Announcements
Topic: interactable scrolling image [SOLVED]
Replies: 2
Views: 206

Re: interactable scrolling image [SOLVED]

You're right, thanks as alway Alex.
by Newprogrammer
Tue Apr 23, 2019 4:39 pm
Forum: Ren'Py Questions and Announcements
Topic: interactable scrolling image [SOLVED]
Replies: 2
Views: 206

interactable scrolling image [SOLVED]

Hello, i have a problem figuring out how to make an interactablec scrolling image. init python: scrollValue = 1200 def storeScrollValue(x): global scrollValue scrollValue = x screen scrollingScene: viewport: xadjustment adj scrollbars None child_size(3200, 600) draggable True edgescroll(200, 500) im...
by Newprogrammer
Thu Apr 18, 2019 7:15 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Two images at the same time + calling images
Replies: 5
Views: 269

Re: Two images at the same time + calling images

Sorry Per K Grok, you were right, it works very well! It was my mistake, i tried to rename the variables to make my overall code smoother so i rename them like this: player 1 = "player/char_player_01.png" player 2 = "player/char_player_02.png" So when i play the game it showed just one of the two ch...
by Newprogrammer
Thu Apr 18, 2019 12:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Two images at the same time + calling images
Replies: 5
Views: 269

Re: Two images at the same time + calling images

Thanks Per K Grok, the second part works magnificently. About the first doubt i did some research and i found that python is a language that compute only one instruction per time so i believe it's impossible to make two things moving at the same time...
by Newprogrammer
Sun Apr 14, 2019 4:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Two images at the same time + calling images
Replies: 5
Views: 269

[SOLVED]Two images at the same time + calling images

Hello, sorry for the caotic title but this time i have 2 doubts... 1) I don't know if it's possible to dispaly two images at the same time with different transormations, something like: transform movepunch: align (0.1, 1.0) linear 0.09 xalign 0.65 linear 0.05 xalign 0.50 linear 0.08 xalign 0.77 line...
by Newprogrammer
Mon Apr 08, 2019 4:44 pm
Forum: Ren'Py Questions and Announcements
Topic: keymap to run a made function
Replies: 4
Views: 219

Re: keymap to run a made function

Thank you so much for your help and support Alex, now it works perfectely
by Newprogrammer
Mon Apr 08, 2019 2:20 pm
Forum: Ren'Py Questions and Announcements
Topic: keymap to run a made function
Replies: 4
Views: 219

Re: keymap to run a made function

Thanks for the reply Alex, but i'm not totally sure i get it, do i have to do something like this?

Code: Select all

init python:
    def add():
        result = (2+ 5)
        print (result)
    
screen add:
    key "a" action Function("add")
        
by Newprogrammer
Sun Apr 07, 2019 4:16 pm
Forum: Ren'Py Questions and Announcements
Topic: keymap to run a made function
Replies: 4
Views: 219

keymap to run a made function

Hello everyone, i was wondering if it is possible to configure keymap in order execute a function that i've made. init python: def add(): result = (2+ 5) print (result) config.keymap['add'].append('a') when i tried to run it i get a KeyError = u'['add'] I just made some error or is it an impossible ...
by Newprogrammer
Mon Mar 18, 2019 8:46 am
Forum: Ren'Py Questions and Announcements
Topic: renpy to android [SOLVED]
Replies: 2
Views: 204

Re: renpy to android

Thanks imperf3kt, after creating the key the apk was generated. I'll mark this post as solved
by Newprogrammer
Sun Mar 17, 2019 10:35 am
Forum: Ren'Py Questions and Announcements
Topic: renpy to android [SOLVED]
Replies: 2
Views: 204

renpy to android [SOLVED]

Hi everyone, i tried to port my game on android so i downlaod rapt and SDK and configured the package, after this i hit the build package button but after a while the building process stops... Ren'Py 7.1.1.929 Updating project. Creating assets directory. Packaging internal data. I'm using Gradle to ...
by Newprogrammer
Wed Nov 28, 2018 3:16 pm
Forum: Ren'Py Questions and Announcements
Topic: Text position
Replies: 2
Views: 130

Re: Text position

It works, thanks a lot
by Newprogrammer
Wed Nov 28, 2018 2:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Text position
Replies: 2
Views: 130

Text position

Hello guys, have a problem, i want to show a text at a certain position in the screen but when i try to use the statement xpos and ypos an error outcomes.

Code: Select all

 show text "{b} hello {/b}" xpos 395 ypos 15 xalign 1.0 
Can someone help me?
by Newprogrammer
Wed Oct 24, 2018 5:07 am
Forum: Ren'Py Questions and Announcements
Topic: Creating an ATL curve for throwing a baseball?
Replies: 4
Views: 313

Re: Creating an ATL curve for throwing a baseball?

If i'm not mistaken you can substitute the align statement with a pos statement without any problem. As far as I know these two kind of statement are basically the same thing. With pos statement you can work with x and y axis at the same time, infact you can do something like this: pos (Xo,Yo); reme...
by Newprogrammer
Tue Oct 23, 2018 6:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Hpunch problem [Solved]
Replies: 2
Views: 209

Re: Hpunch problem

I solve it, i have replaced all the at with with and now it works (i also update renpy, so i don't really know of it was a bug of the software or else...) anyway thanks a lot 👍
by Newprogrammer
Tue Oct 23, 2018 6:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Quick time event structure?
Replies: 1
Views: 215

Quick time event structure?

Hi everyone, i would like to implement some quick time event in my game but i have no idea on how to make it 😅, someone can help me in understanding the structure of this kind of minigame and how it works.

Thanks a lot guys.