Search found 242 matches

by Nero
Sun Mar 04, 2018 5:04 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Making Aggro System In Game But For More Than 2 Players?
Replies: 6
Views: 591

[SOLVED]Making Aggro System In Game But For More Than 2 Players?

I was working on my aggro system for some time now and the best I could think off is to make it only for 2 players. Now I wonder how could I modify my code to make it work for more than 2 players? So my idea of aggro system was that everyone have some amount of aggro tank have lets say 60 out of 100...
by Nero
Sat Mar 03, 2018 9:58 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Idea How To Fix a Tooltip Bug?
Replies: 1
Views: 276

Re: Idea How To Fix a Tooltip Bug?

Can any mod delete this thread please? It got answered on another thread.
by Nero
Sat Mar 03, 2018 9:55 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Drinking Potions How To Improve The Code
Replies: 6
Views: 782

Re: [SOLVED] Drinking Potions How To Improve The Code

You are a God! That's it thank you sooo much!! I have so much to learn. :)
by Nero
Sat Mar 03, 2018 12:50 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Idea How To Fix a Tooltip Bug?
Replies: 1
Views: 276

[SOLVED]Idea How To Fix a Tooltip Bug?

I reposted this as it was confusing to connect this with my previous problem. So problem here is with the tooltip screen. Whenever I hover my mouse over any of those 2 icons that are showed on image they both will show the same tooltip which is not what I want. I want both of them to show me their p...
by Nero
Fri Mar 02, 2018 6:47 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Drinking Potions How To Improve The Code
Replies: 6
Views: 782

Re: [SOLVED] Drinking Potions How To Improve The Code

Ugh sorry I had to reopen this. New problem appeared that screwed me over. This will only work for 1 item that will display the tooltip. For example if I had the 10 items and I used them all the LAST one that I consumed will keep the tooltip so when I hover over the any icon the tooltip display will...
by Nero
Fri Mar 02, 2018 12:12 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Drinking Potions How To Improve The Code
Replies: 6
Views: 782

Re: Drinking Potions How To Improve The Code

Ok I got it: for item, cooldown in each_party_member.cooldowns.items(): text "[cooldown]" imagebutton: hovered Show("TOOLTIP_DISPLAY") idle "HoverScreens/hoverimagesmall/FR1_idle.png" hover "HoverScreens/hoverimagesmall/FR1_hover.png" unhovered Hide("TOOLTIP_DISPLAY") action NullAction() Thank you o...
by Nero
Fri Mar 02, 2018 12:46 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Drinking Potions How To Improve The Code
Replies: 6
Views: 782

Re: Drinking Potions How To Improve The Code

Wow thank you so much! This is so nicely explained I followed everything you said and it works better than expected. This is so differently written from what I'm used to I will use this example to fix many other mistakes I made before. Yeah my code is pretty noobish I used only 2 classes entire time...
by Nero
Thu Mar 01, 2018 4:23 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Drinking Potions How To Improve The Code
Replies: 6
Views: 782

[SOLVED] Drinking Potions How To Improve The Code

Here I have a functional code that I use inside my battle engine. My question is how could I improve it (make it smaller and more efficient). Here I have a code that when item is selected this function will become active I explained every step in the code. Basically what I'm aiming for is to have be...
by Nero
Tue Feb 27, 2018 6:27 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Imagebutton Hover And Idle Question
Replies: 14
Views: 5688

Re: Imagebutton Hover And Idle Question

One thing at this example is how do I move hover image only? Not the entire imagebutton that would be xpos or xalign but only the hover image? The hover image should have the same size than the idle (otherwise, when you hover over the idle, it shows the hover, but if the hover is smaller, then the ...
by Nero
Tue Feb 27, 2018 6:11 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Imagebutton Hover And Idle Question
Replies: 14
Views: 5688

Re: Imagebutton Hover And Idle Question

My suggestion was with LiveComposite, but irredeemable 's suggestions also work: 1. xysize inside the imagebutton: screen test_screen(): # <- Don't forget the parenthesis imagebutton: xysize (200, 300) # <- This, the size of the actual images test1.png and test2.png background "test1.png" hover "te...
by Nero
Tue Feb 27, 2018 5:59 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Imagebutton Hover And Idle Question
Replies: 14
Views: 5688

Re: Imagebutton Hover And Idle Question

Really would like to do it with imagebutton as it gives me action button so I can call my function from it. You can, just tell the image button that the hover image is the new Composited image. Does this code do what you want? image myidlebutton = Solid("#000", xysize=(100, 150)) image myhoverbutto...
by Nero
Tue Feb 27, 2018 5:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Imagebutton Hover And Idle Question
Replies: 14
Views: 5688

Re: Imagebutton Hover And Idle Question

Yes that's exactly what I want. However now I tried to test it again in new script file and still it doesn't work. The "background" image is staying there but when I hover over it nothing happens. Size is already adjusted so it isn't a problem. Seems to me like idle Null() fully disabled imagebutton...
by Nero
Tue Feb 27, 2018 5:04 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Imagebutton Hover And Idle Question
Replies: 14
Views: 5688

Re: Imagebutton Hover And Idle Question

imagebutton: background "sad_dummy.png" hover "attack_no_bg.png" idle Null() action NullAction() Isn't working the image just gets frozen I can't interact with it or see the idle-hover animation. Imperf3kt - Yes that is what I'm looking for. Really would like to do it with imagebutton as it gives m...
by Nero
Tue Feb 27, 2018 12:57 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Imagebutton Hover And Idle Question
Replies: 14
Views: 5688

[SOLVED] Imagebutton Hover And Idle Question

How can I make an imagebutton that when it's idle it displays image and when it's hovered the text over previous image appears something like this: https://image.ibb.co/nLNsiH/Screenshot_11.png If I do it this way then the text image without background will hide the actuall "idle" image which is und...
by Nero
Tue Feb 13, 2018 2:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem with alpha in transformation
Replies: 2
Views: 415

Re: Problem with alpha in transformation

Hey, thanks for response PyTom I agree using ALT is much more easier and I'm using it but for this current animation I cant use it since I get some kind of bug interaction when I combine transform with tooltip that shows new screen while game is locked in renpy.pause. Animation just gets stuck there...