Author Topic: [C /axe?] Hinawa Battle Engine  (Read 26502 times)

0 Members and 5 Guests are viewing this topic.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [Axe] Hinawa Battle Engine
« Reply #30 on: October 09, 2013, 03:16:15 am »
I'm plannin first to manage turns and acitons, then I'll work into porting at least one earthbound-esque bg animation

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [Axe] Hinawa Battle Engine
« Reply #31 on: October 28, 2013, 06:56:17 am »
Just letting this here...Did it myself

EDIT : Got some news, I implemented a action choice start, it stores correctly the actions. I coded a little more the PSI attack choice, and greatly optimized the source (more than 100 bytes won, monsters sprites taking less place, enemy routine drawing GREATLY optimized!) The game still suffers from slow speed on 83+, but it's better than before.


EDIT2: I added a poll to know if anyone is interessed to see the source code to see where I am, or help me. In fine, this engine will be released, and open source. It'll be an early release if enough people want to see it.

Edit 3: Can someone give me some level 10 stats for the quatuor?
« Last Edit: November 17, 2013, 03:42:55 am by Eiyeron »

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [Axe] Hinawa Battle Engine
« Reply #32 on: January 25, 2014, 01:57:35 pm »
NECROBUMP!!

I finally stopped to messa round and gone into the deep and complet part of turn actions. I implemented a text box routine and I'm  trying to deal with it and turn reactions,, like death of a character. But it's way complex and delicate than I thought and I need to redesign more or less all the mechanism :/

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Axe] Hinawa Battle Engine
« Reply #33 on: January 29, 2014, 12:43:53 am »
Sorry to hear D:, glad this is still alive, though. I can't help, though, because I have stopped Axe and haven't coded a full RPG in almost 9 years D:

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [Axe] Hinawa Battle Engine
« Reply #34 on: February 14, 2014, 01:49:55 am »
Got some neeews. I adopted a similar yet more functional methodology to program and it seems to run quietly fine. Yet text routines have to implemented again, but this weekend I'll show you the text box routine in a separated demo. It's quite modulable.

You have three routines:
  • SText links the text and prepares the needed variables
  • UText updates the two text buffers (one per line), it takes one character per run, changes the buffer if needed, and even scroll text (copies the second buffer on the first and rewrites after on the second).
  • DText draws the buffers. If the text don't reach the second, the second won't be drawer, nor the eventually trailing remaining characters in both buffers.


You can run Utext in a loop until it reached the end of the text or if the buffers are filled, or you can run and draws them for each character. I'll take the second because i'll maybe implement custom character codes for reactions or effects (slowing the text flow, shake, whatever you want it'll implement the functions you want with some function pointers).

I have yet to make sure my code is cleaner than before and more understandable than ever. Textboxes litteralt breaks the battle flow and can be quite hard to manage, specially when characters dies/KOes (the rolling meters still roll when in a textbox, that's the hardest thing to manage in this engine)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: [Axe] Hinawa Battle Engine
« Reply #35 on: February 16, 2014, 02:38:52 pm »
What would be cool is if you could do like in my no-longer available ROL4 text box engine and allow the user to change the window borders in the options. :D

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: [Axe] Hinawa Battle Engine
« Reply #36 on: February 16, 2014, 03:21:29 pm »
Feel free to use some of my old Noah sprites.

Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [Axe] Hinawa Battle Engine
« Reply #37 on: February 17, 2014, 02:28:09 am »
Feel free to use some of my old Noah sprites.


Nice work! I looks a lot like Lucas!

What would be cool is if you could do like in my no-longer available ROL4 text box engine and allow the user to change the window borders in the options. :D
There aren't any borders at the moment, I use the top border drawing routine as the text box border, it's just moved down to make place for the text.

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: [Axe] Hinawa Battle Engine
« Reply #38 on: February 17, 2014, 03:56:08 am »
Any screenshots coming up soon? :D

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [Axe] Hinawa Battle Engine
« Reply #39 on: February 17, 2014, 07:17:41 am »
The main problem is nothing have been added graphically. I can pop out another screenie, but heh, you'll don't see much more. ANyway, I said I would do the text box engine, maybe this evening.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [Axe] Hinawa Battle Engine
« Reply #40 on: April 24, 2014, 12:57:08 pm »
Three months later, I got a game engine revelation : I'll drop real-time death detection for a "final blow". I'm not sure how I'll use it, certainly something like a multiplier based on Guts at damage/recovery calculation and then the characther will fall. Now I need to balance, so much abuse is possible with such last stand chance (like recoverying each time at 0 hp...)

To sum up : the counter will flow naturally to 0, and once it reachs 0 and with some event, the charatcer will be given a last chance final blow. Else it'll collapse at its turn. And now I just obliterated an difficult obstacle by not overcoming it! \o/
I'll maybe go into the source later. DOn't expect something but I'm interessed again in the game engine.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [Axe] Hinawa Battle Engine
« Reply #41 on: April 26, 2014, 07:51:23 pm »
\o/ Glad to see you have some interest in this project again. :D

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [Axe] Hinawa Battle Engine
« Reply #42 on: May 06, 2014, 02:45:48 am »
What I decided during this time:
- Managing the death in real time is quite hard and I do'nt really know how I will manage this. I'm gonna take this slightly different from the original games.
- I need to plan more things
- Gonna make some real documentation.
- I need a better way to code on computer. At least dig into the last zStart version.


What I expect :
- The engine taking too much space. Having an engine totally apart of a hypothetical RPG engine is quite bizarre, right? Having to arhcive things before running something else and getting the data back can be quite problematic (and prone to Garbage Collect).
- Need more power. I need to keep the source code as clear as I want to keep it. Thus optimization is quite unneeded as long I want to expand the code.

Offline TheCoder1998

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 434
  • Rating: +20/-2
  • my art is written in code, not in graphite
    • View Profile
    • My website :D
Re: [Axe] Hinawa Battle Engine
« Reply #43 on: May 06, 2014, 03:19:58 am »
just wanted to say that this looks pretty awesome :D
my ticalc acc:

http://www.ticalc.org/archives/files/authors/113/11365.html

Spoiler For The Best Song Ever:


follow me on tumblr :)
www.rickdepizza.tumblr.com

check out my anilist :D
http://anilist.co/animelist/29701/Rickdepizza

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [Axe] Hinawa Battle Engine
« Reply #44 on: May 06, 2014, 03:34:15 am »
Thanks! For extra information, it started at a "proof' of concept for dynamic background in modal menus.

Having to check death made a big conditionnal and as i didn't finished the structure itself it gave me some big problems. i almost lost track of what's done in the code...