Search found 131 matches

by neometalero
Mon Nov 02, 2020 9:25 am
Forum: Ren'Py Questions and Announcements
Topic: Create checkpoints and desable manual save
Replies: 2
Views: 322

Re: Create checkpoints and desable manual save

Hi neometalero , I think the following links can help: https://lemmasoft.renai.us/forums/viewtopic.php?t=12450 https://www.renpy.org/doc/html/save_load_rollback.html https://www.renpy.org/doc/html/screen_special.html#save One way to do that: To disable save menu you can apply _game_menu_screen = "p...
by neometalero
Fri Oct 30, 2020 9:49 am
Forum: Ren'Py Questions and Announcements
Topic: 'NoneType' object has no attribute 'append'
Replies: 4
Views: 249

Re: 'NoneType' object has no attribute 'append'

Probably "chatEng" and/or "[eng]" are wrong parameters to pass to the snippet. Your code is legit, formally. The error is not your typing, is how such parameters go wrong with some cookbook recipe you're using. I found the problem. I was showing two different chats at the same time. So the engine d...
by neometalero
Thu Oct 29, 2020 5:41 pm
Forum: Ren'Py Questions and Announcements
Topic: 'NoneType' object has no attribute 'append'
Replies: 4
Views: 249

Re: 'NoneType' object has no attribute 'append'

The error is not in such code, but the chat.addmessage code, that's trying to append the string to a list (or list object) that's not defined or wrongly defined. Go ask to the one posted such cookbook snippet. Weird, I'm not getting any problem with the same code in the rest of the game. I will che...
by neometalero
Thu Oct 29, 2020 2:55 pm
Forum: Ren'Py Questions and Announcements
Topic: 'NoneType' object has no attribute 'append'
Replies: 4
Views: 249

'NoneType' object has no attribute 'append'

Im getting this error https://i.ibb.co/z5HRvS6/2020-10-29-15-40-13-Greenshot.png This is the code: if hackeandoServirdorCentral: $turnosHackServidorCentral-=1 show screen chatdisplay02 #Muestra el texto como chat with dissolve if turnosHackServidorCentral>0: $ chat.addmessage("chatEng","[eng]", "Alf...
by neometalero
Tue Oct 27, 2020 10:34 am
Forum: Ren'Py Questions and Announcements
Topic: Create checkpoints and desable manual save
Replies: 2
Views: 322

Create checkpoints and desable manual save

Hi, I want to know how I can make automatic save states / checkpoints, and at the same time disable the manual saves. The gameplay I'm using for my game doesn't go well with manual saves.
by neometalero
Mon Oct 26, 2020 10:50 am
Forum: Ren'Py Questions and Announcements
Topic: Syntaxis Error in my menu
Replies: 2
Views: 183

Re: Syntaxis Error in my menu

Vladya wrote:
Mon Oct 26, 2020 10:42 am

Code: Select all

        "VENTAJA 01 ELEGIR" if opcTact01 AND eligioOpcTact01==False:
Correct "AND" to "and". Python is a case sensitive language.
I'm an idiot, cant believe I didn't see that, tks a lot!
by neometalero
Mon Oct 26, 2020 10:17 am
Forum: Ren'Py Questions and Announcements
Topic: Syntaxis Error in my menu
Replies: 2
Views: 183

Syntaxis Error in my menu

I'm getting this error https://i.ibb.co/fd1wq6V/2020-10-26-11-09-46-Greenshot.png but I cant find out what's wrong with my menu. Any idea? My code: label ventajasCombateTesteo: menu: "VENTAJA 01 DESBLOQUEAR" if opcTact01==False: play sound "sounds/BipMenu.mp3" $opcTact01=True jump ventajasCombateTes...
by neometalero
Sat Sep 19, 2020 10:50 am
Forum: Ren'Py Questions and Announcements
Topic: Resize an Image turns it invisible
Replies: 2
Views: 280

Re: Resize an Image turns it invisible

Alex wrote:
Fri Sep 18, 2020 3:13 pm
Try 'zoom', like

Code: Select all

show BPer:
    pos (1030, 100)
    zoom 0.5
https://www.renpy.org/doc/html/atl.html ... perty-zoom
That worked great, tks!
by neometalero
Fri Sep 18, 2020 2:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Resize an Image turns it invisible
Replies: 2
Views: 280

Resize an Image turns it invisible

When I use size this way the image turns invisible
This is the code.

Code: Select all

show BPer:
                pos (1030, 100)
                size (0.5,0.5)
Don't know what's happening here. No error is displayed. Any Idea?
by neometalero
Fri Sep 18, 2020 12:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Change Image Scale
Replies: 3
Views: 261

Re: Change Image Scale

Dr_arell wrote:
Fri Sep 18, 2020 12:20 pm
just replace pos by size

Code: Select all

show image_example:
	pos (1030, 100)
	size (1920, 1080)
When I use size that way the image turns invisible, don't know what's happening there. No error is displayed.
This is the code.

Code: Select all

show BPer:
                pos (1030, 100)
                size (0.5,0.5)
by neometalero
Fri Sep 18, 2020 10:02 am
Forum: Ren'Py Questions and Announcements
Topic: Change Image Scale
Replies: 3
Views: 261

Change Image Scale

Hi, I want to know how could I change the scale of the image by code.
Im placing an image in the position I want with this code but how do I change the scale? Tks

Code: Select all

show BPer:
                pos (1030, 100)
by neometalero
Wed Sep 16, 2020 9:52 am
Forum: Ren'Py Questions and Announcements
Topic: Display Image in X and Y position
Replies: 2
Views: 286

Re: Display Image in X and Y position

Tks! that worked.
by neometalero
Tue Sep 15, 2020 2:35 pm
Forum: Ren'Py Questions and Announcements
Topic: Display Image in X and Y position
Replies: 2
Views: 286

Display Image in X and Y position

I want to display an image in a determined X and Y position on the screen but I have not been able to find how to do it. Any idea on how to do this? I tried using a Composite image but is not displaying on screen (or giving me error) this is the code image camaraTest composite = Composite( (900, 100...
by neometalero
Sat Sep 05, 2020 11:18 am
Forum: Ren'Py Questions and Announcements
Topic: Chat-like Screen-Character Name and Image
Replies: 8
Views: 333

Re: Chat-like Screen-Character Name and Image

I got one last problem. if I use this code def __init__(self, pic="noSideChat", name, message): self.pic = pic self.name = name self.message = message I get this error msj https://i.ibb.co/fNLcJw8/error.jpg But if I use this code it works without problem, but I need to give an image every time. def ...
by neometalero
Sat Sep 05, 2020 10:14 am
Forum: Ren'Py Questions and Announcements
Topic: Chat-like Screen-Character Name and Image
Replies: 8
Views: 333

Re: Chat-like Screen-Character Name and Image

hell_oh_world wrote:
Fri Sep 04, 2020 8:39 pm
Either use a vbox or a new line character (\n).

Code: Select all

vbox:
  xsize 1500
  # spacing 30 # the line space between each displayable

  text i.name
  null height 30 # also works...
  text i.message

Code: Select all

text "text" + "\n" + "below"
Tks! this worked great