Search found 17 matches

by MilywayObree
Thu Mar 29, 2018 8:00 am
Forum: Ren'Py Questions and Announcements
Topic: How can you interact with objects when touching or near them?
Replies: 3
Views: 215

Re: How can you interact with objects when touching or near them?

what i mean is that i have this code where the player can move around with a sprite like those retro games like undertale..
what i want is when the sprite walks into an object and touches it and when the player presses a certain key something happens or a screen pops up.
by MilywayObree
Thu Mar 29, 2018 7:54 am
Forum: Ren'Py Questions and Announcements
Topic: Game freezes when I attempt to run main game loop method?
Replies: 8
Views: 1658

Re: Game freezes when I attempt to run main game loop method?

Hello I have modified your code to make a 4 point walking position but got me really stuck with how you can add a walking animation.... and I also added some speed to the walking so it wouldn't take too much time to get from one point to another. init python: class Coordinate: def __init__(self,x,y,...
by MilywayObree
Wed Mar 28, 2018 7:45 am
Forum: Ren'Py Questions and Announcements
Topic: How can you interact with objects when touching or near them?
Replies: 3
Views: 215

How can you interact with objects when touching or near them?

I have been figuring this out for a while but I can't seem to find a better solution..
Can anyone help me with this? :(
by MilywayObree
Sun Mar 18, 2018 1:53 am
Forum: General Discussion
Topic: How do you solve this math problem?...
Replies: 47
Views: 3862

Re: How do you solve this math problem?...

Actually it is really 0
10 + 10 x 0 = 0
because when you add 10 + 10 = 20
multiply it to 0
20 x 0 = 0
because any number multiplied by 0 is always 0
by MilywayObree
Sun Mar 04, 2018 12:40 am
Forum: Ren'Py Questions and Announcements
Topic: Disabling clicking during transitions?
Replies: 13
Views: 1502

Re: Disabling clicking during transitions?

I've seen a game called DDLC and it uses hard pauses globally without defining it all over again, i'm looking forward for some help on how to do it.
by MilywayObree
Sun Mar 04, 2018 12:40 am
Forum: Ren'Py Questions and Announcements
Topic: Disabling clicking during transitions?
Replies: 13
Views: 1502

Re: Disabling clicking during transitions?

I've seen a game called DDLC and it uses hard pauses globally without defining it all over again, i'm looking forward for some help on how to do it.
by MilywayObree
Sun Feb 25, 2018 9:07 am
Forum: Ren'Py Questions and Announcements
Topic: Minigames
Replies: 4
Views: 506

Re: Minigames

it is kinda hard as you can see
by MilywayObree
Sun Feb 25, 2018 9:06 am
Forum: Ren'Py Questions and Announcements
Topic: Minigames
Replies: 4
Views: 506

Re: Minigames

idk... init python: import random # This class holds a word, and point values for each of the four heroines class PoemWord: def __init__(self, word, sPoint, nPoint, yPoint, glitch=False): self.word = word self.sPoint = sPoint self.nPoint = nPoint self.yPoint = yPoint self.glitch = glitch # Static va...
by MilywayObree
Sun Feb 25, 2018 9:03 am
Forum: Ren'Py Questions and Announcements
Topic: How to force move mouse?
Replies: 6
Views: 556

Re: How to force move mouse?

You could do it like this... default currposition = 0 init python: def MoveMouseFunc(): currposition = renpy.get_mouse_pos() tpos = [640, 345] if currposition[1] < tpos[1]: renpy.display.draw.set_mouse_pos((currposition[0] * 9 + tpos[0]) / 10.0, (currposition[1] * 9 + tpos[1]) / 10.0) now define a s...
by MilywayObree
Sun Feb 25, 2018 8:54 am
Forum: Ren'Py Questions and Announcements
Topic: Programmer needed
Replies: 6
Views: 498

Re: Programmer needed

Well, you can delete files by

Code: Select all

python:
    import os
    os.remove("path")
but i don't know how I would make the game or code manage and detect files to continue the story if they have been deleted
by MilywayObree
Sun Feb 25, 2018 8:54 am
Forum: Ren'Py Questions and Announcements
Topic: Programmer needed
Replies: 6
Views: 498

Re: Programmer needed

Well, you can delete files by

Code: Select all

python:
    import os
    os.remove("path")
but i don't know how I would make the game or code manage and detect files to continue the story if they have been deleted
by MilywayObree
Sun Feb 25, 2018 8:48 am
Forum: Ren'Py Questions and Announcements
Topic: renpy.input boxed in center of the screen?
Replies: 11
Views: 4388

Re: renpy.input boxed in center of the screen?

Umm... if you would want it to be in a frame, you would want to do this... This example is what i used for a mod, the game is a game I made that I call "Roll": screen guess_input(roll_action, roll_act): modal True zorder 200 style_prefix "confirm" add "gui/overlay/confirm.png" key "K_RETURN" action ...
by MilywayObree
Sun Feb 25, 2018 6:50 am
Forum: Ren'Py Questions and Announcements
Topic: How do you hide the textbox or say screen and show it again in a screen?
Replies: 1
Views: 332

How do you hide the textbox or say screen and show it again in a screen?

I have been using Ren'Py for months and I have been searching to find a way to hide the say screen and show it again in a screen...
Please, can someone help me? :oops: :?: :cry:
by MilywayObree
Sat Feb 24, 2018 5:22 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]How do you show images in a screen textbutton?
Replies: 3
Views: 219

Re: How do you show images in a screen textbutton?

Ok thanks for the help, I have already used the show screen with the image thing before you even commented but anyway, thanks!
by MilywayObree
Wed Feb 21, 2018 6:42 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]How do you show images in a screen textbutton?
Replies: 3
Views: 219

[SOLVED]How do you show images in a screen textbutton?

Well I know this is just a simple question but Ren'py is freaking me out at some times... But again how do you like show images with screen textbuttons like for example: screen select_music(): modal True add "music_overlay" add "pause_noclick" add "play_noclick" add "noMusic" textbutton _("{size=38}...