Search found 11 matches

by frytkosz-555
Mon Jul 12, 2021 8:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Panning image left to right with the mouse?
Replies: 0
Views: 1580

Panning image left to right with the mouse?

How can I look around an image with a mouse coursor and while the focus being on the coursor?
by frytkosz-555
Tue Jun 15, 2021 7:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton appearing in random positions on screen
Replies: 2
Views: 726

Imagebutton appearing in random positions on screen

How do I make an imagebutton appear in random positions like the x and yalign values being randomised, how do I do that?

Heres the code:

Image
by frytkosz-555
Mon Jun 14, 2021 5:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Exploration system and collectiong resources
Replies: 1
Views: 577

Re: Exploration system and collectiong resources

Just ignore this one and go to the one I posted an hour after this one, im trying to make a complex game for a beginner and my inability to code weighted on me heavily, my entire game idea was falling apart for me for the past few weeks, so I decided to ask for help with small portions of the code a...
by frytkosz-555
Mon Jun 14, 2021 5:38 pm
Forum: Ren'Py Questions and Announcements
Topic: collecting and tracking resources (HELP)
Replies: 0
Views: 1538

collecting and tracking resources (HELP)

So, I would like in my game to be a button that will make appear on the screen a gunch of little icons coresponding to different resources and then the player character clicks on these resources an amunt of that specific resource would be added to a variable. I know that this is done with a screen a...
by frytkosz-555
Mon Jun 14, 2021 4:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Exploration system and collectiong resources
Replies: 1
Views: 577

Exploration system and collectiong resources

So I would like for my player character to be able to "explore" a few different deungeons and in these dungeons I would like for the player to battle enemies (already got a battle done) and collect resources by clicking on randomly appearing resource icons every time the pleyer moves forwa...
by frytkosz-555
Mon Jun 14, 2021 7:12 am
Forum: Ren'Py Questions and Announcements
Topic: Defending in my battle system...
Replies: 4
Views: 653

Re: Defending in my battle system...

Thanks Alex I applied that and now it works perfectly.
by frytkosz-555
Sun Jun 13, 2021 8:31 pm
Forum: Ren'Py Questions and Announcements
Topic: Defending in my battle system...
Replies: 4
Views: 653

Re: Defending in my battle system...

So I implemented some of the stuff from the post above, now the enemy can defend themselves but when the value of defence exceeds the value of the MC's attack then the enemy heals themselves by the value of the difference betweent he two and I don't want them to do that, how can I fix that? https://...
by frytkosz-555
Sun Jun 13, 2021 8:22 am
Forum: Ren'Py Questions and Announcements
Topic: Defending in my battle system...
Replies: 4
Views: 653

Defending in my battle system...

I am making a battle system and am trying to figure out how to make enable the player character and the enemy to be able to defend from the upcoming attack so here is what i need to figure out: 1. How to subtract the defence value from the attack value. 2. How to make the defence "Stay" up...
by frytkosz-555
Mon May 31, 2021 12:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Line id indented, but the preceding one-line python statement statement does not expect a block?
Replies: 4
Views: 1249

Line id indented, but the preceding one-line python statement statement does not expect a block?

I was coding a fight for my game and it worked preety well but the enemy could only do one thing so I tried out a renpy.random.choice for it to randomly swap between attack and defend and some other options, here is my code: show screen battle_stats_screen while (Android_hp > 0) and (Dextra_hp > 0):...