Page 1 of 1

Simple Combat Engine

Posted: Wed Nov 22, 2017 10:54 pm
by Mutive
Anyway, I recently created a basic combat engine that I could slot into Ren'Py games. (Mostly to play a bit more with the engine, since hey! Why not?)

It's not super sophisticated, but lets you choose your weapons, do damage (using a random number generator), take hits (same), then display different endings.

I was wondering if there'd be any interest in sharing the code. Let me know if so! It's all pretty basic, still. (A while loop with a few if else statements and a couple of commands to add sound effects/flashes/etc.) But if it would be helpful to anyone else, I can publish the "game" and script.

Re: Simple Combat Engine

Posted: Thu Nov 23, 2017 3:11 pm
by OokamiKasumi
We are ALWAYS interested in fresh coding tricks.

The place to post those is in the Renpy COOKBOOK.
viewforum.php?f=51