95 mini game Renpy
Forum rules
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
12) Fable 2
Mini game by type of Fable2 where in the bar you need to press a button in a certain place.
Suddenly, you want to complicate the process of crafting in your game rpg. Author Sergey Golovin.
green area - space
Free distribution
download https://yadi.sk/d/mK1bpcU-C5jnrw
Last edited by Andredron on Mon Aug 05, 2019 9:43 am, edited 2 times in total.
Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Please save your projects on github, you would know how hard it is to find projects after 7 years...
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Please save your projects on github, you would know how hard it is to find projects after 7 years...
- LiveTurkey
- Regular
- Posts: 110
- Joined: Tue Dec 27, 2016 10:50 pm
- Location: Brooklyn
- Contact:
Re: 12 mini games
The clicker minigame does not work for me.
This is after I fixed the += and -= bugs.
This is after I fixed the += and -= bugs.
Discord -> https://discord.gg/KPRktG2
Re: 12 mini games
Hi, can you take a screenshot of what the error is, and the code in which you add the mini-game to the project? I tested all the games on the old and new versions of Renpy, they work. Only in mini-games where there is a Grid, there it is necessary to slightly podshamanit that would be on the new gui wentLiveTurkey wrote: ↑Sun Jul 15, 2018 4:07 pm The clicker minigame does not work for me.
This is after I fixed the += and -= bugs.
Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Please save your projects on github, you would know how hard it is to find projects after 7 years...
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Please save your projects on github, you would know how hard it is to find projects after 7 years...
- LiveTurkey
- Regular
- Posts: 110
- Joined: Tue Dec 27, 2016 10:50 pm
- Location: Brooklyn
- Contact:
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.
Discord -> https://discord.gg/KPRktG2
- bonnie_641
- Regular
- Posts: 140
- Joined: Sat Jan 13, 2018 10:57 pm
- Projects: Código C.O.C.I.N.A.
- Deviantart: rubymoonlily
- Contact:
Re: 12 mini games
Thank you for sharing
I speak and write in Spanish. I use an English-Spanish translator to express myself in this forum. If I make any mistakes, please forgive me.
I try my best to give an answer according to your question.
I try my best to give an answer according to your question.
Re: 11)test Chess
Thanks a lot!!!Andredron wrote: ↑Thu Jun 28, 2018 4:07 pm
download https://m.vk.com/doc245191038_459115246 ... 4cceed95f6
The license is free, but I'll be glad if ty specify the author -Al Loui
Re: 12 mini games
The "Search for Items" game do not work for me.
Code from page 1: viewtopic.php?p=478861#p478861 (has two (or more, you get them pasting here) spacing -space- errors, "maxLen + = 1" has to be "maxLen += 1" and "if oLast> = 0:" has to be
"if oLast> = 0:" and oLen + = 1 "oLen += 1" and the ""sound/" path but correcting this, then get this error):
Code from: http://renpyfordummies.blogspot.com/201 ... -post.html with russian descriptions has other variables, game is starting, but when mingame
should start:
It looks like the part that makes the difference/that was changed is still not working (tuples). What have I done wrong? Where to put this code exactly. I put
it before the "label start:" and the "screen StartGame"+code in "screens.rpy" but keep this part in my "script.rpy" alone do also not work.
I want the game start inside a "label Shop" and a menu in the shop. When player can choose to work. If game ends it have to jump back to the choice
code. Then my variables for Money + and a True is add for done work.
Did I have to remove the "o" ´s in the code? Change to "$ "?. This do not work too for me. I need more programming knowledge myself too.
Code from page 1: viewtopic.php?p=478861#p478861 (has two (or more, you get them pasting here) spacing -space- errors, "maxLen + = 1" has to be "maxLen += 1" and "if oLast> = 0:" has to be
"if oLast> = 0:" and oLen + = 1 "oLen += 1" and the ""sound/" path but correcting this, then get this error):
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00obsolete.rpy", line 75, in script
init 1900 python hide:
File "renpy/common/00obsolete.rpy", line 75, in <module>
init 1900 python hide:
File "renpy/common/00obsolete.rpy", line 121, in _execute_python_hide
create_automatic_images()
File "renpy/common/00obsolete.rpy", line 99, in create_automatic_images
name = tuple(j for i in name for j in i.split(sep))
File "renpy/common/00obsolete.rpy", line 99, in <genexpr>
name = tuple(j for i in name for j in i.split(sep))
ValueError: empty separator
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/00obsolete.rpy", line 75, in script
init 1900 python hide:
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\ast.py", line 862, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\python.py", line 1912, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/00obsolete.rpy", line 75, in <module>
init 1900 python hide:
File "renpy/common/00obsolete.rpy", line 121, in _execute_python_hide
create_automatic_images()
File "renpy/common/00obsolete.rpy", line 99, in create_automatic_images
name = tuple(j for i in name for j in i.split(sep))
File "renpy/common/00obsolete.rpy", line 99, in <genexpr>
name = tuple(j for i in name for j in i.split(sep))
ValueError: empty separator
Windows-7-6.1.7601-SP1
Ren'Py 7.0.0.196
Fri Jan 18 21:12:07 2019
should start:
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 6191, in script
$ StartGame()
File "game/script.rpy", line 6191, in <module>
$ StartGame()
File "game/script.rpy", line 343, in StartGame
renpy.call_screen("game", _layer="master")
File "game/screens.rpy", line 1727, in execute
screen game:
File "game/screens.rpy", line 1727, in execute
screen game:
File "game/screens.rpy", line 1732, in execute
for i in range(0, len(oN)):
File "game/screens.rpy", line 1733, in execute
if oN[i]:
File "game/screens.rpy", line 1734, in execute
imagebutton:
File "game/screens.rpy", line 1734, in keywords
imagebutton:
TypeError: can only concatenate tuple (not "unicode") to tuple
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 6191, in script
$ StartGame()
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\ast.py", line 862, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\python.py", line 1912, in py_exec_bytecode
exec bytecode in globals, locals
File "game/script.rpy", line 6191, in <module>
$ StartGame()
File "game/script.rpy", line 343, in StartGame
renpy.call_screen("game", _layer="master")
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\exports.py", line 2710, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\ui.py", line 287, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 2649, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 3033, in interact_core
root_widget.visit_all(lambda i : i.per_interact())
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 511, in visit_all
d.visit_all(callback)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 511, in visit_all
d.visit_all(callback)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 511, in visit_all
d.visit_all(callback)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\screen.py", line 424, in visit_all
callback(self)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 3033, in <lambda>
root_widget.visit_all(lambda i : i.per_interact())
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\screen.py", line 434, in per_interact
self.update()
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\screen.py", line 619, in update
self.screen.function(**self.scope)
File "game/screens.rpy", line 1727, in execute
screen game:
File "game/screens.rpy", line 1727, in execute
screen game:
File "game/screens.rpy", line 1732, in execute
for i in range(0, len(oN)):
File "game/screens.rpy", line 1733, in execute
if oN[i]:
File "game/screens.rpy", line 1734, in execute
imagebutton:
File "game/screens.rpy", line 1734, in keywords
imagebutton:
File "<screen language>", line 1738, in <module>
TypeError: can only concatenate tuple (not "unicode") to tuple
Windows-7-6.1.7601-SP1
Ren'Py 7.0.0.196
Fri Jan 18 20:55:40 2019
it before the "label start:" and the "screen StartGame"+code in "screens.rpy" but keep this part in my "script.rpy" alone do also not work.
I want the game start inside a "label Shop" and a menu in the shop. When player can choose to work. If game ends it have to jump back to the choice
code. Then my variables for Money + and a True is add for done work.
Did I have to remove the "o" ´s in the code? Change to "$ "?. This do not work too for me. I need more programming knowledge myself too.
Last edited by M-77 on Sat Jan 19, 2019 3:10 pm, edited 3 times in total.
Re: 12 mini games
Good afternoon, are you modest to show your code through a paste bean? Maybe when I translated comments through a translator, he spoiled the code not much (although everything seems to be in the open version) about the Russian version, there is a ready-made project that you can download and see its script files(green text in image). In order for the project to be called to the store, you can link it to the buttons. How do you call the store and navigate itM-77 wrote: ↑Fri Jan 18, 2019 5:04 pm The "Search for Items" game do not work for me.
Code from page 1: viewtopic.php?p=478861#p478861 (has two (or more, you get them pasting here) spacing -space- errors, "maxLen + = 1" has to be "maxLen += 1" and "if oLast> = 0:" has to be
"if oLast> = 0:" and oLen + = 1 "oLen += 1" and the ""sound/" path but correcting this, then get this error):Code from: http://renpyfordummies.blogspot.com/201 ... -post.html with russian descriptions has other variables, game is starting, but when mingameCode: Select all
I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/common/00obsolete.rpy", line 75, in script init 1900 python hide: File "renpy/common/00obsolete.rpy", line 75, in <module> init 1900 python hide: File "renpy/common/00obsolete.rpy", line 121, in _execute_python_hide create_automatic_images() File "renpy/common/00obsolete.rpy", line 99, in create_automatic_images name = tuple(j for i in name for j in i.split(sep)) File "renpy/common/00obsolete.rpy", line 99, in <genexpr> name = tuple(j for i in name for j in i.split(sep)) ValueError: empty separator -- Full Traceback ------------------------------------------------------------ Full traceback: File "renpy/common/00obsolete.rpy", line 75, in script init 1900 python hide: File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\ast.py", line 862, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\python.py", line 1912, in py_exec_bytecode exec bytecode in globals, locals File "renpy/common/00obsolete.rpy", line 75, in <module> init 1900 python hide: File "renpy/common/00obsolete.rpy", line 121, in _execute_python_hide create_automatic_images() File "renpy/common/00obsolete.rpy", line 99, in create_automatic_images name = tuple(j for i in name for j in i.split(sep)) File "renpy/common/00obsolete.rpy", line 99, in <genexpr> name = tuple(j for i in name for j in i.split(sep)) ValueError: empty separator Windows-7-6.1.7601-SP1 Ren'Py 7.0.0.196 Fri Jan 18 21:12:07 2019
should start:It looks like the part that makes the difference/that was changed is still not working (tuples). What have I done wrong? Where to put this code exactly. I putCode: Select all
I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 6191, in script $ StartGame() File "game/script.rpy", line 6191, in <module> $ StartGame() File "game/script.rpy", line 343, in StartGame renpy.call_screen("game", _layer="master") File "game/screens.rpy", line 1727, in execute screen game: File "game/screens.rpy", line 1727, in execute screen game: File "game/screens.rpy", line 1732, in execute for i in range(0, len(oN)): File "game/screens.rpy", line 1733, in execute if oN[i]: File "game/screens.rpy", line 1734, in execute imagebutton: File "game/screens.rpy", line 1734, in keywords imagebutton: TypeError: can only concatenate tuple (not "unicode") to tuple -- Full Traceback ------------------------------------------------------------ Full traceback: File "game/script.rpy", line 6191, in script $ StartGame() File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\ast.py", line 862, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\python.py", line 1912, in py_exec_bytecode exec bytecode in globals, locals File "game/script.rpy", line 6191, in <module> $ StartGame() File "game/script.rpy", line 343, in StartGame renpy.call_screen("game", _layer="master") File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\exports.py", line 2710, in call_screen rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward) File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\ui.py", line 287, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 2649, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs) File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 3033, in interact_core root_widget.visit_all(lambda i : i.per_interact()) File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 511, in visit_all d.visit_all(callback) File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 511, in visit_all d.visit_all(callback) File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 511, in visit_all d.visit_all(callback) File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\screen.py", line 424, in visit_all callback(self) File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 3033, in <lambda> root_widget.visit_all(lambda i : i.per_interact()) File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\screen.py", line 434, in per_interact self.update() File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\screen.py", line 619, in update self.screen.function(**self.scope) File "game/screens.rpy", line 1727, in execute screen game: File "game/screens.rpy", line 1727, in execute screen game: File "game/screens.rpy", line 1732, in execute for i in range(0, len(oN)): File "game/screens.rpy", line 1733, in execute if oN[i]: File "game/screens.rpy", line 1734, in execute imagebutton: File "game/screens.rpy", line 1734, in keywords imagebutton: File "<screen language>", line 1738, in <module> TypeError: can only concatenate tuple (not "unicode") to tuple Windows-7-6.1.7601-SP1 Ren'Py 7.0.0.196 Fri Jan 18 20:55:40 2019
it before the "label start:" and the "screen StartGame"+code in "screens.rpy" but keep this part in my "script.rpy" alone do also not work.
I want the game start inside a "label Shop" and a menu in the shop. When player can choose to work. If game ends it have to jump back to the choice
code. Then my variables for Money + and a True is add for done work.
Did I have to remove the "o" ´s in the code? Change to "$ "?. This do not work too for me. I need more programming knowledge myself too.
Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Please save your projects on github, you would know how hard it is to find projects after 7 years...
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Please save your projects on github, you would know how hard it is to find projects after 7 years...
Re: 12 mini games
Hello, thank you for help. (I use the "spoiler" [][/] command, like the "code" but will not work, to hide the long text here.) I downloaded the code and project. Put a "game.rpy" (that I updated with english text, and my images/sound data info) in my dir. I put a "res = False" before game start. But still get some errors, I am sure it will work but have to be made to run for my case (I use 4x idle/hoover png images, 1 bg .jpg):
And here is the code of the shop. Here is a choice menu in that player can decide to work. It must be messed up here:
My russian is not that good, so I sure have missunderstod something. I am also now to RenPy and want to learn. I learn by doing it. Spasiba tobie!:
I attached the "game.rpy" from the download in russian, now in english.
Code: Select all
[spoiler]I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 6093, in script
with dissolve
File "game/game.rpy", line 104, in execute
screen game:
File "game/game.rpy", line 104, in execute
screen game:
File "game/game.rpy", line 109, in execute
for i in range(0, len(oN)):
File "game/game.rpy", line 110, in execute
if oN[i]:
File "game/game.rpy", line 111, in execute
imagebutton:
File "game/game.rpy", line 111, in keywords
imagebutton:
TypeError: can only concatenate tuple (not "unicode") to tuple
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 6093, in script
with dissolve
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\ast.py", line 1337, in execute
renpy.exports.with_statement(trans, paired)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\exports.py", line 1452, in with_statement
return renpy.game.interface.do_with(trans, paired, clear=clear)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 2207, in do_with
clear=clear)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 2649, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 3033, in interact_core
root_widget.visit_all(lambda i : i.per_interact())
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 511, in visit_all
d.visit_all(callback)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 511, in visit_all
d.visit_all(callback)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 511, in visit_all
d.visit_all(callback)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 511, in visit_all
d.visit_all(callback)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\screen.py", line 424, in visit_all
callback(self)
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\core.py", line 3033, in <lambda>
root_widget.visit_all(lambda i : i.per_interact())
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\screen.py", line 434, in per_interact
self.update()
File "C:\Users\keinschwein\Desktop\renpy-7.0.0-sdk\renpy\display\screen.py", line 619, in update
self.screen.function(**self.scope)
File "game/game.rpy", line 104, in execute
screen game:
File "game/game.rpy", line 104, in execute
screen game:
File "game/game.rpy", line 109, in execute
for i in range(0, len(oN)):
File "game/game.rpy", line 110, in execute
if oN[i]:
File "game/game.rpy", line 111, in execute
imagebutton:
File "game/game.rpy", line 111, in keywords
imagebutton:
File "<screen language>", line 115, in <module>
TypeError: can only concatenate tuple (not "unicode") to tuple
Windows-7-6.1.7601-SP1
Ren'Py 7.0.0.196
Mon Jan 21 13:47:14 2019[/spoiler]
My russian is not that good, so I sure have missunderstod something. I am also now to RenPy and want to learn. I learn by doing it. Spasiba tobie!:
Code: Select all
label Smith:
$ in_map=False
hide screen map_box2
if day_time == 4 or week_day == 7:
r "The Smith has closed."
jump Town_Map1
if day_time < 1 and week_day < 2:
jump Smith_open
label Smith_open:
hide bg_night001
hide screen map_box2
show Smith_ground
b "Welcome! I am very skilled, I can create even jewelery. But I also need somebody to help me to clean up my workshop. I am willing to
pay you 5 gulden for each time."
b "What can I do for you?"
jump smith_menu
label smith_menu:
menu:
"I want to work":
if Smith_Work == False:
n "Ram is heavy working for about an hour."
scene black
$ InitGame("bg_room", 5.0, True, (342, 550), "figure1", (249, 231), "figure2", (257, 1139), "figure3", (364, 617), "figure4")
$ GameAsBG()
with dissolve
$ res = StartGame()
$ GameAsBG()
if oRes:
r "I have cleaned all up!"
play sound "sound/pickup001.ogg" # a money sound
b "Here is your money. (+ 2 Gulden)"
pause
$ Gulden += 2
$ day_time += 1
$ Smith_Work = True
jump smith_menu
else:
"Cleaned up objects: [oLen] of [maxLen]."
b "Better try again another day if you want get money."
$ day_time += 1
$ Smith_Work = True
return
if Smith_Work == True:
b "You worked enough for today."
pause
jump smith_menu
"Exit Smith.":
b "Thank you, come back later."
hide Smith_ground
jump Town_Map1
- Attachments
-
- game.rpy
- (4.69 KiB) Downloaded 167 times
Re: 12 mini games
Code mini game pliz
I not telepat
but judging by the text of the error, reassigned the system function to its variable.
this assumption is only if only a piece of code is shown
I not telepat
but judging by the text of the error, reassigned the system function to its variable.
this assumption is only if only a piece of code is shown
Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Please save your projects on github, you would know how hard it is to find projects after 7 years...
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Please save your projects on github, you would know how hard it is to find projects after 7 years...
Re: 12 mini games
Hello, thank you for help. The mini game code I use is attached above "game.rpy" and in my game directory .And the code where the player has to work (the Smith shop) I posted above too.
What variable you think is going wrong? I also add the value "res = False" in my main "script.rpy before game start, the smith label is in same file."
Notice "$ in_map=False" I also have this variable at the smith shop beginn to hide a time skip button. Maybe this causes the error.
What variable you think is going wrong? I also add the value "res = False" in my main "script.rpy before game start, the smith label is in same file."
Notice "$ in_map=False" I also have this variable at the smith shop beginn to hide a time skip button. Maybe this causes the error.
Re: 12 mini games
Hello Andredron!
I found what was going wrong. It was when I want the pics of the items to have the hover effect afte clicking.
The trick is to not name the "figure1" etc. pics as "figure1_idle" but let them as "figure1" (without the "_idle") in the "game" ans "script" code and have pics such as "figure1_hover" in the image directory.
The bug I got can be found and neutralized (if someone has similar error message) in this line (in "game.rpy"):
$ InitGame("bg room", 5.0, (507, 597), "figure1", (930, 565), "figure2", (1600, 60), "figure3", (100, 750)
I found this in less than 1 hour after recoded outside my game. Now I will put it into my game again. Your code works well now.
Horischina igra!
I found what was going wrong. It was when I want the pics of the items to have the hover effect afte clicking.
The trick is to not name the "figure1" etc. pics as "figure1_idle" but let them as "figure1" (without the "_idle") in the "game" ans "script" code and have pics such as "figure1_hover" in the image directory.
The bug I got can be found and neutralized (if someone has similar error message) in this line (in "game.rpy"):
$ InitGame("bg room", 5.0, (507, 597), "figure1", (930, 565), "figure2", (1600, 60), "figure3", (100, 750)
I found this in less than 1 hour after recoded outside my game. Now I will put it into my game again. Your code works well now.
Horischina igra!
Re: 12 mini games
Clicker mini-game bug in my version.
Hello Andredron, I have the issue that the main "bg_farm0" do not show up on the "Win!", "Fail", or "Get ready!" messages as a background. The messages show up on empty/transparent bg. The bg shows up in and before game. Sprites also moving.
-What did i wrong.
-And is it possible to made the sprites not move backwards? It looks strange when the hun the player has to feed walk backwards.
(I changed the resolution to 1920x1080 in the "options.rpy".)
I upload the unfinished code by me here (zip).
Hello Andredron, I have the issue that the main "bg_farm0" do not show up on the "Win!", "Fail", or "Get ready!" messages as a background. The messages show up on empty/transparent bg. The bg shows up in and before game. Sprites also moving.
-What did i wrong.
-And is it possible to made the sprites not move backwards? It looks strange when the hun the player has to feed walk backwards.
(I changed the resolution to 1920x1080 in the "options.rpy".)
I upload the unfinished code by me here (zip).
- Attachments
-
- test-clicker3.zip
- (1.19 MiB) Downloaded 160 times
13 Corsare(beta)
Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Please save your projects on github, you would know how hard it is to find projects after 7 years...
Sawa - a game of the Drow Nation
Honest Critique
Poses in visual novels, or how to hold a character properly in the frame
Help save articles to the webarchive. [/color]
Please save your projects on github, you would know how hard it is to find projects after 7 years...
Who is online
Users browsing this forum: halnye