The Daily Click ::. Projects ::. FableQuest Origin of the Phoenix Knight
 

Project: FableQuest: Origin of the Phoenix Knight
Project Started: 30th July, 2009 Last Update: 25th September, 2011
Project Owner: Strife Project Members:
Project Type: Action Adventure RPG Project Progress:

Thoughts on an Engine Rewrite
Posted 11th Sep 11, by Strife  
After roughly three and a half years of development, I think I've finally built myself into a corner. I find that the game file takes several minutes to load and save in MMF2, and all of the old events that I created when I was less experienced are starting to pile up on me. It's like opening a cupboard in your house that you haven't used in ages only to find that it's been taken over by bugs.

Does this mean that the project will be canned? NEVERRRR! However, an engine revamp is looking more appealing to me by the day. I'm strongly considering remaking the game from scratch, but reusing all of the assets I've created to speed things up (i.e. the dungeon layouts, graphics, sprites, etc.)

To put it in perspective, here are some of the benefits that I would reap from remaking the game engine:

- All of the bugs that have been plaguing me will be completely gone, and any new bugs that crop up with the new engine will be far easier to fix.
- Now that I know how to use functions effectively, I can cut down the number of events by a huge amount. For example, every line of dialog currently takes up its own event, but if I can condense all dialog use into a single function, this can easily chop off 1500-2000 events. Not to mention, it would make it far easier for me to edit dialog later.
- Instead of hard-coding all of the dialog into the game, I can extract it from an external file to make it easier to modify. This would also allow me to translate the game into other languages if necessary.
- Instead of using the illusion of 3D space, I could give the game world a true height map so that the player can actually jump over certain obstacles. This would cut down on invisible barriers, and it would also allow me to get more creative with the combat system (i.e. certain attacks tossing monsters into the air).
- I can divide different regions of the game world into sub-applications to reduce loading times.
- Now that I've fleshed out a decent part of the story and the game world, I can go back and make changes to the plot more easily.
- I can increase the frame rate from 50 to 60 without having to adjust all of the timing-related events to compensate.


This is only a thought right now, but when/if I decide to remake the engine, I will be releasing the old version of the game to the public, which contains roughly 33% of all of the planned content for you guys to mess around with.

Posted by HitmanN 11th September, 2011

hard-coded dialogue does sound like a pretty huge strain coding-wise. Though I'd imagine that would be fixable even with a total redesign of the engine. But since it's not the only thing on the list... ^^; Does sound like it could be worth it.
 
Posted by Shiru 11th September, 2011

Well that's great to hear ! 2000 events deleted by rewriting ? GO FOR IT !

How much time will it take ?

Glad to hear that you'll release the old engine .
Good luck with the engine remake !
 
Posted by alastair john jack 11th September, 2011

I'd say do it for sure. Remaking it with all the experience you've gained thus far will only make it better! Just don't lose motivation
 
Posted by Blue66 11th September, 2011

As I have learned while writing my new platformer engine from scratch after finishing GunGirl2, it goes way faster to do it a second time. All those things you've struggled with to figure out or you tinkered with to improve in the first engine are now already thought out and it goes so much faster if you already know exactly what you're doing.
 
Posted by Jason Orme 11th September, 2011

I know the feeling you are having, I have had it myself many times. A revamp may be the way to go to help keep pushing you forward. Sometimes its the bugs and things you wish you had put it that make you stop working on a game.
 
Posted by Xhunterko 12th September, 2011

REWRITE! I'm doing the same thing with one of my flash games. I just looked at the code of the old project to hand over my brother in law to study for a java script port, and boy does it look messy! I even have a half dozen fixes for most of the problems too! And it'll look (and hopefully, run) a lot cleaner when I get done! So, yeah, REWRITE!
 
Posted by Strife 16th September, 2011

Thanks for the insight, folks. ^^ As for how long it'd take, I'm not entirely certain, but it's certainly not going to take as long as it did the first time around, especially since I have most of the graphics and plotlines already made. The main challenge is going to be through programming, though I would like to touch up some of the monsters and NPCs too.
 
Posted by Toadsanime 20th September, 2011

I'm just glad to hear it won't be cancelled entirely, so if an engine rewrite is going to improve the final game, I'd say go for it.

Just don't end up giving up on this, I'm unsure any of us can wait another three years for this.
 


 



Project Forums


Favourite

Advertisement

Worth A Click