how to implant a database(item & item box) in renpy?
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
how to implant a database(item & item box) in renpy?
hello i'm a newbie can someone tell me a code to implant a database like(we can have item like ring,flower,etc) an a menu to see the item i have,and the items had a picture.. thx before
- leon
- Miko-Class Veteran
- Posts: 554
- Joined: Sun Oct 09, 2011 11:15 pm
- Completed: Visual Novel Tycoon, Night at the Hospital, Time Labyrinth, The Buried Moon, Left of Center, Super Otome Quest
- Projects: Lemon Project, Porcelain Heart, Dream's Dénouement
- Organization: Team ANARKY
- Contact:
Re: how to implant a database(item & item box) in renpy?
Have you checked http://www.renpy.org/wiki/renpy/doc/cookbook/Cookbook already? I found a few useful examples there.
- MoPark
- Regular
- Posts: 98
- Joined: Sat Dec 31, 2011 7:05 pm
- Projects: Kangaroo, Terminal Love
- Location: DC
- Contact:
Re: how to implant a database(item & item box) in renpy?
Do you simply want to know how to make the visuals for such a thing, or how to build the actual database in Python? Those two seem like very different concepts to me.
- DragoonHP
- Miko-Class Veteran
- Posts: 758
- Joined: Tue Jun 22, 2010 12:54 am
- Completed: Christmas
- IRC Nick: DragoonHP
- Location: Zion Island, Solario
- Contact:
Re: how to implant a database(item & item box) in renpy?
I think OP wants a inventory system in his game...
http://www.renpy.org/wiki/renpy/doc/coo ... ney_System
Not exactly what you are looking for, but it should get you started...
http://www.renpy.org/wiki/renpy/doc/coo ... ney_System
Not exactly what you are looking for, but it should get you started...
Re: how to implant a database(item & item box) in renpy?
@DragoonHP thx i've already seen that,what i want to make it's like i had an iventory in a rpg game,something like that.how can i make an inventory menu,so i can see what item that i had in my bag..
- DragoonHP
- Miko-Class Veteran
- Posts: 758
- Joined: Tue Jun 22, 2010 12:54 am
- Completed: Christmas
- IRC Nick: DragoonHP
- Location: Zion Island, Solario
- Contact:
Re: how to implant a database(item & item box) in renpy?
It is rather complex as you will need to learn more about Python and ui elements in the very least...
If you want it for your game, I suggest that you recruit a programmer, or if you want to learn how to code it, you should learn it... Ren'Py Documentation and the link I gave you will be good starting place...
If you want it for your game, I suggest that you recruit a programmer, or if you want to learn how to code it, you should learn it... Ren'Py Documentation and the link I gave you will be good starting place...
- leon
- Miko-Class Veteran
- Posts: 554
- Joined: Sun Oct 09, 2011 11:15 pm
- Completed: Visual Novel Tycoon, Night at the Hospital, Time Labyrinth, The Buried Moon, Left of Center, Super Otome Quest
- Projects: Lemon Project, Porcelain Heart, Dream's Dénouement
- Organization: Team ANARKY
- Contact:
Re: how to implant a database(item & item box) in renpy?
This is a simpler version - http://www.renpy.org/wiki/renpy/doc/coo ... _Inventory
Information screen - http://www.renpy.org/wiki/renpy/doc/coo ... ion_Screen
Displaying items only (without selecting items) should be fairly easy to implement, and you can probably avoid learning ui elements (but you probably shouldn't) by using 'show' command and displaying items as sprites.
I suggest you start with a mock-up inventory in your favourite photo editor and then describe your inventory system in detail, down to coordinates where you want items to be displayed.
Information screen - http://www.renpy.org/wiki/renpy/doc/coo ... ion_Screen
Displaying items only (without selecting items) should be fairly easy to implement, and you can probably avoid learning ui elements (but you probably shouldn't) by using 'show' command and displaying items as sprites.
I suggest you start with a mock-up inventory in your favourite photo editor and then describe your inventory system in detail, down to coordinates where you want items to be displayed.
Re: how to implant a database(item & item box) in renpy?
hmm i'm trying to use code from http://www.renpy.org/wiki/renpy/doc/coo ... _Inventory
but i got an error..

Uploaded with ImageShack.us
i've already put $ items =[]
but it traceback..
but i got an error..

Uploaded with ImageShack.us
i've already put $ items =[]
but it traceback..
- DragoonHP
- Miko-Class Veteran
- Posts: 758
- Joined: Tue Jun 22, 2010 12:54 am
- Completed: Christmas
- IRC Nick: DragoonHP
- Location: Zion Island, Solario
- Contact:
Re: how to implant a database(item & item box) in renpy?
It works for me... where are you putting $ items = []
Re: how to implant a database(item & item box) in renpy?
My bad @dragoonHp i missplace it.I had already solved it.thx for ur help..
Who is online
Users browsing this forum: No registered users



