Search found 3736 matches
- Sun Jun 23, 2013 11:27 am
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
I want to use the "Isometric square grid rotation" into my game... My game is like "Baka to Test To Shoukanjuu" A visual novel game but if you want to battle a character it will move to the " Isometric square grid rotation" battle engine.. How will I do that...?? pleas...
- Sun Jun 23, 2013 11:17 am
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
ahaha I am so delayed sorry. Life's been getting ahead of me. All the same, here is the code. Thanks for opting to take a look. There's some custom bits, like the EXP remaining counter, but it's mostly vanilla, a6 equipment menu. I don't see any reason why that should have changed its behaviour, re...
- Sun Jun 23, 2013 11:02 am
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
Er me again! I'm having trouble implimenting the movement code into the game for magic attacks. Could you help me out? To have jumping in/out for a magic attack, you would need to make a second copy of the same class in this example, and where it says: class JumpAttackSkill(AttackSkill): You'd have...
- Thu Jun 20, 2013 8:51 am
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
In engine-skills: In engine-extras: As a word of advice, it's generally a good idea to not modify the engine files at all, and just add those classes in new .rpy files in your project directory. If you modify the engine files directly and I release a new version of the engine with some bugfixes you...
- Tue Jun 18, 2013 2:47 am
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
I am wondering if I can use the code for temporary increasing own skill to make a skill that decrease the enemy's skill? Which parts should be modified for it? The same kind of code should work fine for any kind of stat modification on anyone, really! You'll need to: - modify the targeting data for...
- Fri Jun 14, 2013 4:50 am
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
Possibly, it's certainly an option.CaseyLoufek wrote:0 would probably be the friendliest.
I've recently done a load of work to make sure that stats don't have to be numeric! ;-) I guess that even in cases where people are expecting text a 0 as a failure state isn't going to be a problem, though.
- Fri Jun 14, 2013 4:40 am
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
I seem to recall that I thought that returning None would be more friendly for novice programmers... but I can't for the life of me think why, in retrospect!CaseyLoufek wrote: I assumed the result would be an error.
- Fri Jun 14, 2013 2:55 am
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
I was hoping you might have some clue as to the nature of the error. I am going to assume at this point that the debugger is just wrong. I've seen this a couple times before, Ren'py and/or the rest of Python get so confused that they don't actually understand what went wrong and report the wrong th...
- Thu Jun 13, 2013 5:14 pm
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
It works but unlike my previous method seems to be pulling Scenary which I hadn't yet designed to interact with my combat rules. GetOccupants will definitely include scenery - it's also used for determining LoS, which Scenery is quite relevant for! You can weed it out simply by checking isinstance(...
- Thu Jun 13, 2013 2:09 pm
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
Same effect. Radius has a default value so that wasn't the problem. My GetOccupants code was wrong but it doesn't even reach that line. Gah! Stupid error on my part. Change this: def GetPositionsInRadius(self, start, radius=1, callback=None): # For this, we're actually better off using the PathBatt...
- Thu Jun 13, 2013 3:07 am
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
for spraySpace in t._battle.Battlefield.GetPositionsInRadius(t.Position): for sprayFighter in spraySpace.GetOccupants: I apparently didn't read this properly, for some reason I was expecting the error to be one of expected return type... Have you tried the following? for spraySpace in t._battle.Bat...
- Tue Jun 11, 2013 9:07 am
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
Well on attempting to implement that code I'm noticing that GetPositionsInRadius is actually a bit above where you said it should be. And trying it this way is giving me an attempt to iterate a NoneType. :( That code looks like it should work, so obviously there's a problem in GetPositionsInRadius ...
- Wed May 29, 2013 3:06 am
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
Hmm, the enemies at the iso grid demo seems to be using attacks that are ranged 3 :mrgreen: In the iso grid demo, they have two skills each - a magic attack with range three and a physical attack with range 1. They're weighted so that they generally use the magic attack more (weightings of 3 versus...
- Tue May 28, 2013 5:58 am
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
Whenever I assign a skill that heals or supports to an enemy or an attack that only targets 1 range, it seems like he won't use it and just decide to move around and doesn't attack until the other party member KO's it. XD This sounds very familiar, so it may be that I've actually fixed that in the ...
- Wed May 08, 2013 2:19 pm
- Forum: Ren'Py Cookbook
- Topic: RPG Battle Engine - Alpha 7.5, downloads in first post
- Replies: 274
- Views: 89085
Re: RPG Battle Engine - Alpha 7.5, downloads in first post
I think it depends on where we define the enemies? If that works for you then go for it! All the same: congratulations, you've found a bug that's existed since the very first alpha release. ;-) It's actually a bug that I've since fixed - essentially there was a line that was left in the file from a...