Search found 104 matches

by LiveTurkey
Mon Jul 16, 2018 9:26 pm
Forum: Ren'Py Questions and Announcements
Topic: A few questions.
Replies: 7
Views: 447

Re: A few questions.

Code: Select all

jump choice2_done:
Remove the semi-colon (:) at the end both from line 130 and 140.
by LiveTurkey
Mon Jul 16, 2018 9:05 pm
Forum: Ren'Py Questions and Announcements
Topic: What is the difference between default, define, global, python, init, and $?
Replies: 10
Views: 1606

What is the difference between default, define, global, python, init, and $?

I can't seem to understand this. Right now, I want to make an array variable called deckOfCards. Since a deck of cards is pretty static, I want to make it a global variable that any minigame I create can access. Here is the one example of code that would call this deckOfCards variable: label game: ....
by LiveTurkey
Mon Jul 16, 2018 12:40 pm
Forum: Ren'Py Cookbook
Topic: Simple minigames (Screen Language only).
Replies: 97
Views: 50529

Re: Simple minigames (Screen Language only).

Oh, well while I tried to quote Xerofit51's post you've found it yourself. Try to set height property for the buuton in memo_scr screen. I found it. In gui.rpy I changed define gui.button_height = 54 to define gui.button_height = None That fixed the problem. Now everything works perfectly. Man I sp...
by LiveTurkey
Mon Jul 16, 2018 12:16 pm
Forum: Ren'Py Cookbook
Topic: Simple minigames (Screen Language only).
Replies: 97
Views: 50529

Re: Simple minigames (Screen Language only).

I have strange bug where only something like 5-10% of my clicks register for the memory game. I will keep clicking and clicking random cards and eventually one of them will turn over. It seems to be completely random. This problem doesn't occur when I do text mode. The game works perfectly in text m...
by LiveTurkey
Mon Jul 16, 2018 10:01 am
Forum: Ren'Py Cookbook
Topic: 16 mini game Renpy
Replies: 36
Views: 26828

Re: 12 mini games

What I wrote before in this post turned out to be wrong. I will continue working on trying to make the clicker game work. If I don't get it, I'll post the code here.
by LiveTurkey
Sun Jul 15, 2018 4:07 pm
Forum: Ren'Py Cookbook
Topic: 16 mini game Renpy
Replies: 36
Views: 26828

Re: 12 mini games

The clicker minigame does not work for me.

This is after I fixed the += and -= bugs.
by LiveTurkey
Thu Jul 12, 2018 10:54 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trying to create a simple math minigame. Strange list index out of range error?
Replies: 15
Views: 927

Re: Trying to create a simple math minigame. Strange list index out of range error?

I'm trying to make sure there are no repeat answers. chess_answer_list.append( (str(correct_value), True)) while len(chess_answer_list) < 4: modifier = renpy.random.randint(1, 7) if ((correct_value + modifier) not in chess_answer_list): chess_answer_list.append( (str(correct_value + modifier), False...
by LiveTurkey
Thu Jul 12, 2018 10:35 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trying to create a simple math minigame. Strange list index out of range error?
Replies: 15
Views: 927

Re: Trying to create a simple math minigame. Strange list index out of range error?

MaydohMaydoh wrote:
Thu Jul 12, 2018 9:59 pm
Think the index method for list should use parenthesis

Code: Select all

chess_pieces_values[ chess_pieces_list.index( pieces[ 0 ] ) ]
Yes!!!!!!!!!!!!! That fixed it.
by LiveTurkey
Thu Jul 12, 2018 9:09 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trying to create a simple math minigame. Strange list index out of range error?
Replies: 15
Views: 927

Re: Trying to create a simple math minigame. Strange list index out of range error?

I think I almost got it default chess_answer_list =[] default chess_pieces_list = ["King","Queen","Rook","Bishop","Knight","Pawn"] default chess_pieces_values = ["10","9","5","3","3","1"] default math_signs_list = ["Multiply","Divide","Add","Subtract","Equals","Question"] default math_signs = [ '*',...
by LiveTurkey
Thu Jul 12, 2018 6:39 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trying to create a simple math minigame. Strange list index out of range error?
Replies: 15
Views: 927

Re: Trying to create a simple math minigame. Strange list index out of range error?

It likely isn't finding the images if they are not defined image king = Image( 'images/king.png' ) should allow a screen to use something like "add king" or "add expression somefunc()" I've not got any similar images to play with for testing so, unless you want to zip/attach yours, you might have t...
by LiveTurkey
Thu Jul 12, 2018 5:09 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trying to create a simple math minigame. Strange list index out of range error?
Replies: 15
Views: 927

Re: Trying to create a simple math minigame. Strange list index out of range error?

Here is what I have now label playChessBoard: $ speaker = "bethany" $ hideScreens() p "Let's D-D-D-Duel" jump chessMinigame screen math_test(): $ chess_pieces_list = ["King","Queen","Rook","Bishop","Knight","Pawn"] $ chess_pieces_values = ["10","9","5","3","3","1"] $ math_signs_list = ["Multiply","D...
by LiveTurkey
Thu Jul 12, 2018 3:33 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trying to create a simple math minigame. Strange list index out of range error?
Replies: 15
Views: 927

Re: Trying to create a simple math minigame. Strange list index out of range error?

You need to put a comma between each item in the lists to separate them like, math_signs_list = [ "x", "/", "+", "-" ] Might also suggest var = renpy.random.choice( the_list_var ) or renpy.random.choice( [ 'x', '-', '+', '/' ] ) rather than randint used as index Thanks for all the help guys. Here i...
by LiveTurkey
Thu Jul 12, 2018 1:43 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trying to create a simple math minigame. Strange list index out of range error?
Replies: 15
Views: 927

[SOLVED] Trying to create a simple math minigame. Strange list index out of range error?

Hey guys. I came back to working on my game after taking a year long hiatus so I'm super rusty on how everything works from screens to variable and so on. I'm trying to create a simple chess inspired math minigame. The minigame works by showing the player a few random chess pieces with math equation...
by LiveTurkey
Mon Jul 17, 2017 1:34 pm
Forum: Creator Discussion
Topic: A good place to get second opinions?
Replies: 3
Views: 548

A good place to get second opinions?

I'm creating a game and thus I'm commissioning a lot of art for my game (since I can't draw). I've run into two problems. 1. I can't tell which style is better. I'm talking to a lot of different artists who each showed me a sample of what their styles would look like. Each is a little different. I d...