Ok, it's time for an update on the engine status. That is... there is no functional update. The zip above is still the farthest I've gotten so far as status goes.
Status Update 1: I've rewritten the Engine Test. I feel it's a lot cleaner, and I think it will work better when I get the logic of the rest of the program working.
Status Update 2: I was trying to figure out how to use local variables in the engine while still being able to update the player's HP afterwards. I figured this out less than five minutes ago, and I'm wondering why it took me so long.
$ characterhp = combat([place values here])
This should have been obvious from the beginning. This should have been obvious to me, just from pulling the demo_ui.rpy code to mangle into something I could use. Also, in case you're wondering how to update EXP, etc. You could do that outside the Python code by having the enemy's EXP stat added to the character's EXP after the battle.
Also, you could do the HP update with multiple characters pretty easily, since the "return" command can pass multiple variables. (In fact, demo_ui.rpy's day planner shows this off by returning two values when you click on a button.)
When the program gets updated, it won't be placed as an attachment here, but rather at my website at http://formedras.exofire.net, since that lessens the load on Renai.us by placing it on a website that needs traffic in the first place.
Anyone interested in a turn-based RPG combat engine?
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.
Re: Anyone interested in a turn-based RPG combat engine?
Just to let you know I'm also still interested in this engine. Though of course the last tech demo needs more work before becoming useable.
I don't have any project that requires fighting (mine's going to be some treasurehunting game with RPG elements), but I think it's possible to ignore HP and MP and just focus on the other stats to level up as the treasure hunter gains more experience.
I don't have any project that requires fighting (mine's going to be some treasurehunting game with RPG elements), but I think it's possible to ignore HP and MP and just focus on the other stats to level up as the treasure hunter gains more experience.
Who is online
Users browsing this forum: Google [Bot], Ocelot, Sergei Falcon