Search found 51 matches

by hyperionthunder
Wed Jun 06, 2018 2:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Developing a RPG Engine for Renpy
Replies: 43
Views: 7487

Re: Developing a RPG Engine for Renpy

Next question: how do i pass a variable as a global to a transform? I had the battle animation sprites to trigger on show transform function for example in this part: target_x, target_y, target_w, target_h = renpy.get_image_bounds(battle_target.image) renpy.show(load_skill.ani) #load_skill.ani retur...
by hyperionthunder
Sat Jun 02, 2018 9:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Developing a RPG Engine for Renpy
Replies: 43
Views: 7487

Re: Developing a RPG Engine for Renpy

I reworked the transform, so it doesn't sit on on show and on hide anymore and instead use renpy.show("image", at_list=[transform]) to directly apply the transform. It now works like a charm. Having figured out exactly how to make variables pass along from python back into transform and us...
by hyperionthunder
Sat Jun 02, 2018 2:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Developing a RPG Engine for Renpy
Replies: 43
Views: 7487

Re: Developing a RPG Engine for Renpy

I am curious on how to tell an image that is displayed to use a transform? I have written a transform to flash an enemy that is attacking the party. transform battle_monsterAttack(monster): additive 0 pause(0.1) additive 0.5 pause(0.1) additive 0 repeat 2 how i go about calling it for an enemy.image?
by hyperionthunder
Fri Jun 01, 2018 11:23 am
Forum: Ren'Py Questions and Announcements
Topic: Developing a RPG Engine for Renpy
Replies: 43
Views: 7487

Re: Developing a RPG Engine for Renpy

how do i grab a position of an image (say xalign and yalign). Say the image is shown as "battle_direspider_1" with tag named "battle_direspider_1" and I am trying to load target_pos with a information about the target image's position. do i use get_displayable() or something else?
by hyperionthunder
Fri Jun 01, 2018 9:58 am
Forum: Ren'Py Questions and Announcements
Topic: Developing a RPG Engine for Renpy
Replies: 43
Views: 7487

Re: Developing a RPG Engine for Renpy

I changed the screen code into a function and rewrote it so it does renpy.show and added the transform to each and every instances of the enemies. I also tweaked the copying of monsters to have its unique image tag (basically enemy_1, enemy_2, etc) that allows me to directly control the show and hid...
by hyperionthunder
Fri Jun 01, 2018 9:50 am
Forum: Demos & Beta Testing
Topic: The Wanderers Project [Demo Available]
Replies: 12
Views: 2398

Re: The Wanderers Project [Demo Available]

I made an update that removes that need to call for player_dead as I have replaced the battle with dynamic battle engine (the enemies now actually block, and do stuff, instead of just attack) but the spells and related animations are not in yet. I am still ironing out the bugs within the spell system
by hyperionthunder
Thu May 31, 2018 11:44 am
Forum: Ren'Py Questions and Announcements
Topic: Developing a RPG Engine for Renpy
Replies: 43
Views: 7487

Re: Developing a RPG Engine for Renpy

I currently had the enemies displayed as a screen displyable using this: screen battle_enemy(encounter): zorder 1 grid encounter_list[encounter].size 1: xfill True yfill True for enemy in encounter_list[encounter].enemies: add enemy.image at battle_monsterSpawn(enemy.image) id "[enemy]" sh...
by hyperionthunder
Wed May 30, 2018 10:20 pm
Forum: Ren'Py Questions and Announcements
Topic: label python
Replies: 1
Views: 295

label python

is there's a python equivilent to label function

as there is a python.jump() function. I am trying to break out of the loop in the python block but want to keep the rest of the sequence in python.
by hyperionthunder
Wed May 30, 2018 9:29 pm
Forum: Ren'Py Questions and Announcements
Topic: Developing a RPG Engine for Renpy
Replies: 43
Views: 7487

Re: Developing a RPG Engine for Renpy

Strangely, the encounter_list[monsterparty].enemies,remove(battle_target) instantly removes the image! That takes care of the removal, but I wonder how can I add the transform before it gets removed?
by hyperionthunder
Wed May 30, 2018 9:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Developing a RPG Engine for Renpy
Replies: 43
Views: 7487

Re: Developing a RPG Engine for Renpy

I have a question on how to direct the screen language to remove an enemy sprite image (hide it) from the screen say i have battle_target act as a pointer. How do I tell renpy to point at the image it is related and hide that image, along with its transformation? the idea is: if battle_target.hp <= ...
by hyperionthunder
Wed May 30, 2018 8:28 pm
Forum: Demos & Beta Testing
Topic: The Wanderers Project [Demo Available]
Replies: 12
Views: 2398

Re: The Wanderers Project [Demo Available]

I am still working on the final image for the compass screen in chapter 2, so that image you saw its a placeholder until the final art is in.

I fixed the bug that caused the player_dead issue. That was due to a change in the code prior to it that I forgot to update to reflect it.
by hyperionthunder
Wed May 30, 2018 11:42 am
Forum: Ren'Py Cookbook
Topic: Simple RPG Framework
Replies: 11
Views: 11163

Re: Simple RPG Framework

I may look into incorporating your framework and expand on it to work with my concept.
by hyperionthunder
Wed May 30, 2018 11:36 am
Forum: Ren'Py Questions and Announcements
Topic: Developing a RPG Engine for Renpy
Replies: 43
Views: 7487

Re: Developing a RPG Engine for Renpy

I'd look into that too! I am only doing simple damage mitigation that only is affected by the enemy's own defense stat and the elemental weakness. I currently have set up the stats as followed: Strength for physical attack, Vitality for HP and physical defense Intelligence for MP and magical attack ...
by hyperionthunder
Tue May 29, 2018 10:52 pm
Forum: Ren'Py Questions and Announcements
Topic: Developing a RPG Engine for Renpy
Replies: 43
Views: 7487

Re: Developing a RPG Engine for Renpy

I am working on the dynamic of the stat creation and math. I think I kind of figured it out but I wanted to ask others for opinion on what's the best kind of RPG formula for like HP and base stat. I am using Strength for Attack, Vit for HP and Defense, Int for MP and Spell Damage / Heals, and SPD fo...