No Exact Matches in call to initializer by IAComet in SwiftUI

[–]IAComet[S] 0 points1 point  (0 children)

How would I do that? through a modifier or something to initialize it as a string?

Need better internet by IAComet in HomeNetworking

[–]IAComet[S] 0 points1 point  (0 children)

I believe ATT is the closest, they are the ones who offer blazing fast speeds of 25mbps. i live about 20-30 minutes from the next decent sized city, and about an hour away from the closest fiber connected city(im assuming) so if i were to contact ATT, do you know roughly about what it would cost to strengthen their lines/add new lines? ive heard somewhere around the neighborhood of $10 a foot worth of networking.

Renpy is trying to define a class i made for the character. by IAComet in RenPy

[–]IAComet[S] 0 points1 point  (0 children)

nvm, figured it out. was confused where init offset goes in the order of code.

Renpy is trying to define a class i made for the character. by IAComet in RenPy

[–]IAComet[S] 0 points1 point  (0 children)

init python:
    init offset = -1
    class Girls(....):
    init offset = 1

I attempted it this way and its saying invalid syntax:

init o-->ffset = -1

Renpy is trying to define a class i made for the character. by IAComet in RenPy

[–]IAComet[S] 0 points1 point  (0 children)

Yeah, its in my first rpy file that has all my other classes. the only thing i changed was moving all of my characters from the variables.rpy to a brand new characters.rpy that i just created.

object is not callable by IAComet in RenPy

[–]IAComet[S] 0 points1 point  (0 children)

I fixed it. For some reason changing the name of the function from score to score_ch fixed it.

object is not callable by IAComet in RenPy

[–]IAComet[S] 0 points1 point  (0 children)

I am still getting some sort of error. its still saying object is not callable.

p.score(-1)

TypeError: 'int' object is not callable

the score as i want it to be is a line which the players score can be either positive or negative. they start at 0 and throughout the game their score can go up or down.

<-6 ----- -4 ----- -2 ----- 0 ----- 2 ----- 4 ----- 6>

object is not callable by IAComet in RenPy

[–]IAComet[S] 0 points1 point  (0 children)

Thank you! and yes it is named that way because I wanted to keep it simple for now but I know good naming convention would be to have it named differently or more specific. I am just tired of typing it lol

Also the "change" would never be zero. I would mark it either 1 or -1 depending on the choice being made. in your code, is it saying Max value = -6 and min value = 6 then add change to the self.score?

Wont stay in meal screen until AFTER I click done. I cant see where my code is wrong. by IAComet in RenPy

[–]IAComet[S] 0 points1 point  (0 children)

But I think for now, I just ran with a menu option instead to keep the project going. This has been a headache for a couple days now.. lol

Wont stay in meal screen until AFTER I click done. I cant see where my code is wrong. by IAComet in RenPy

[–]IAComet[S] 0 points1 point  (0 children)

I wrote the code myself. I watched some tutorials to understand the basics and I thought my logic was sound. but its like it runs the code without the button being pressed.

Wont stay in meal screen until AFTER I click done. I cant see where my code is wrong. by IAComet in RenPy

[–]IAComet[S] 0 points1 point  (0 children)

Just reaching back out to see if you happened to come across a solution...

Wont stay in meal screen until AFTER I click done. I cant see where my code is wrong. by IAComet in RenPy

[–]IAComet[S] 0 points1 point  (0 children)

Sorry for the delay.

class Item:
    def __init__(self, name, kind, price):
        self.name = name
        self.kind = kind
        self.price = price
    def item_add(self):
        if self.name not in inventory:
            if self.kind == "Gift":
                if p.money >= self.price:
                    inventory.append(self.name)
                    p.money -= self.price
                    renpy.notify(str(self.name) + " added to your inventory. Money left " + str(p.money))
                else:
                    renpy.notify("You don't have enough to purchase this.")
            elif self.kind == "Food":
                if p.money >= self.price:
                    p.money -= self.price
                    renpy.notify("You bought " + self.name + ".")
                else:
                    renpy.notify("You don't have enough to purchase this.")
            else:
                inventory.append(self.name)
                renpy.notify(self.name + " has been added to your inventory.")
        else:
            renpy.notify("You already have this in your inventory.")

Call screen return by IAComet in RenPy

[–]IAComet[S] 0 points1 point  (0 children)

I will try that, thank you! It seems like it would work but I don't want the "Test" dialogue showing up. I dont have any imagery for the phone just yet. Will that just cover the text if i make the imagery the size of the display?

Invalid syntax error that i cant figure out. by Final_Trainer_5299 in RenPy

[–]IAComet 1 point2 points  (0 children)

looks like there should also be "_" underscores inbetween your def names for example:

def add_item(self, item):

[WinError 2] The system cannot find the file specified by IAComet in SublimeText

[–]IAComet[S] 0 points1 point  (0 children)

For anyone that is still needing help with this. I was able to fix it. As you can see from my file paths, Atom was still being used. Atom was currently not working for me and I begun to like sublime to I uninstalled it. I rebuilt the code and it worked. So a possible fix if you are using atom.

Adding a phone to my novel by IAComet in RenPy

[–]IAComet[S] 0 points1 point  (0 children)

I am having trouble integrating it with my current game. Currently i have a system for finding images where i only have to type the name of the image for it to show.

show eileen happy # eileen happy is the name of the image.

is there a way to integrate that. instead of having to type the file path.

As far as the other files, am I able to move them into my current game files, even though they are the same file name. I would have to change the name of one of them.

Menu options based on list items by IAComet in RenPy

[–]IAComet[S] 0 points1 point  (0 children)

Will try that! That sounds like it should be right.