RPG Battle Engine (similar to RPG Maker)

A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!

This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Message
Author
User avatar
curry nochi rice
Miko-Class Veteran
Posts: 741
Joined: Sat Mar 27, 2010 3:12 am
Projects: Delicatessen, Whom to Notice, Start of Something, Love Sorcery
Organization: Circle Cosine
IRC Nick: Curry
Skype: after.curry.rice
itch: project-rothera
Contact:

Re: RPG Battle Engine (similar to RPG Maker)

#16 Post by curry nochi rice » Fri Jan 01, 2016 12:48 pm

I'll try to refine the code a bit. @.@
Personal (R-13) | Now at IndieDB | Circle Cosine's itch.io
I wanna be done.

User avatar
SKmuffinEXE
Newbie
Posts: 23
Joined: Fri Apr 08, 2016 12:20 am
Skype: SKmuffin
Contact:

Re: RPG Battle Engine (similar to RPG Maker)

#17 Post by SKmuffinEXE » Wed Apr 13, 2016 10:52 pm

Thank you! This would be really helpful and I don't have to come up with some sort of code myself! This seems really neat as well. Keep up the good work!

User avatar
Bryy
Veteran
Posts: 376
Joined: Thu Dec 20, 2012 10:12 pm
Completed: Army of Tentacles 1 & 2, Paper Shakespeare: To Date or Not To Date?
Projects: Furries & Scalies & Bears OH MY!, The Ghost of Joe Papp 2: The Dragons of Joe Papp
Organization: Stegalosaurus Game Development
Location: Bay Area, CA
Contact:

Re: RPG Battle Engine (similar to RPG Maker)

#18 Post by Bryy » Wed May 11, 2016 4:56 pm

This is awesome.

era27
Newbie
Posts: 6
Joined: Thu May 12, 2016 5:52 am
Contact:

Re: RPG Battle Engine (similar to RPG Maker)

#19 Post by era27 » Sat May 14, 2016 12:31 am

Thanks, this is really cool.

But, I was wondering about a few things:

- When battle ends, it doesn't seem to check for the end until after the last character takes a turn.

- I am unable to change the number of monsters to anything but three, even when altering the code according to your notes in the code.

- The MP meter doesn't seem to be doing anything.

- Some way to keep HP as it is from the end of the previous battle into the next one. Currently the HP resets to full at the beginning of battle. Even if I comment out that code, it gives me a game-breaking error.

- Is there a way to randomize the monsters from a pool? For example, if there are 15 potential monsters, pull three from that potential pool.

- When one character dies, it seems to end the combat completely.

Thanks

era27
Newbie
Posts: 6
Joined: Thu May 12, 2016 5:52 am
Contact:

Re: RPG Battle Engine (similar to RPG Maker)

#20 Post by era27 » Thu Jun 16, 2016 3:04 am

So, I have been playing around with this code for awhile now.

I fixed some things, like the monster turn ending late, monsters attacking the dead, etc.

And I added some functionality, like MP and health not refreshing to full after combat.

Here is what I have so far. I am a bit of a beginner at this, so if the code is a bit messy, please forgive me.

Also, if anyone else has any input or help, please let me know.

I am currently trying to implement a error control for players who try to cast a spell, but don't have enough mana.

Thanks.
Attachments
battle.rpy
(33.4 KiB) Downloaded 154 times

User avatar
Coren
Mindscrew Driver
Posts: 1691
Joined: Fri Sep 18, 2009 9:24 am
Completed: Dear Mariko, Six Rules, Ribbon of Green, RE: Prince of Nigeria, Doppelganger, Cole's Gate Demo, Crimson Rafflesia Demo, Mica: Apoptosis Demo
Projects: Crimson Rafflesia, Mica: Apoptosis, Fantasy Euthanasia
Organization: Soyasushi Productions
Tumblr: CorenBaili
Deviantart: CorenB
Skype: coren.baili
Contact:

Re: RPG Battle Engine (similar to RPG Maker)

#21 Post by Coren » Wed Sep 07, 2016 11:48 am

This is a really cool engine! Thanks for sharing this!

By the way, is it possible to implement a heal command?

agl
Regular
Posts: 54
Joined: Tue Jul 19, 2016 5:09 am
Contact:

Re: RPG Battle Engine (similar to RPG Maker)

#22 Post by agl » Thu Sep 08, 2016 9:10 pm

I am using this engine (although i am heavily reworked it) in my wip game.
Thank you very much.

era27
Newbie
Posts: 6
Joined: Thu May 12, 2016 5:52 am
Contact:

Re: RPG Battle Engine (similar to RPG Maker)

#23 Post by era27 » Wed Oct 19, 2016 2:13 am

agl wrote:I am using this engine (although i am heavily reworked it) in my wip game.
Thank you very much.
Care to share your code?

Post Reply

Who is online

Users browsing this forum: No registered users