[EDIT : I've updated the demo, it no longer require to be installed.]
[EDIT#2 : I've re-uploaded the demo. Now, when you zoom in/out ingame, the camera properly follow you. Also added a "Enter your name" area in the character generation screen as to show the InputBox control, of which i forgot.]
Welcome back for another update on TFE ! Sorry for the wait.
As i said in a previous post, i wasn’t entirely happy with how i was handling the game. So, i rewrote it partially. I kept the dungeon generating tool, as it’s not linked with any graphic library, and remade the rest. This time around, i’m taking notes on game making with the help of this tutorial at XNAgpa. If you want to know, i’m at part 8.
Before i go on, i must tell you all that there’s a small tech demo available of what i’ve done so far, at the bottom of the post, with more informations.
What i’m doing right now is making a library, mostly containing controls, which are mostly used for GUI (graphical interface — button, list, checkbox, etc). I’ve followed much of the tutorial on these controls, but i’ve also done my owns, or improved upon what was presented.
Here’s a list of things i can do, listed by their class name :
- Control : All controls inherit from this, since all controls have a set of similar attributes, like Text, Color, Font, Position, Size, Visible and Enabled. Also, all controls can align themselves in relation to any other controls.
- Label : Allow to draw text at a certain position.
- LinkLabel : Like a Label, but allow you to click on it.
- CheckBox : Allow to check / uncheck a box, alongside a Label.
- InputBox : Most complex control so far, allow you to type text. I had some trouble with this one.
- Frame : Second most complex, allow to draw a frame with a background, using a skin. Some good example can be seen here, since i’m using the skins compatible with Rpg Maker VX.
- LinkList : A list of LinkLabel, Aligned horizontally or vertically, with custom spacing between each item.
- ControlGroup : Allow you to put together controls and do something to all of them, like moving them as a whole, showing/hiding them, etc.
- PictureBox : Allow you to show an image, somewhere.
- SettingsFile : It allow you to save / load settings and more in a XML file. That’s not a control, unlike all the rest of the list.
Aside of controls, like within the tutorial, i’m managing game screens and how to move between them, like the title screen, options screen, new character screen, gameplay screen, etc. It’s absurdly easy to manage, once it’s set.
As for TFE in itself, i though i would remodelize it a little. I think i could go another way with it. I still want it to be focused on dungeon crawling and turn-based battle, but not a rogue-like anymore. It’s mostly because of my desire to have an actual story, and the impracticality of turn-based movement in multiplayer mode. If my ideas does not fail me, the battle system could be a bit more original (compared to the classic Final Fantasy style). It also must allow a smooth multiplayer experience, which probably won’t be easy, but i’m up for it.
I’ve done a working prototype of a character generator. It allow you to choose the face, hair, cloth and (in the future) gender. I’m pretty happy with the result. It allow me to create unique-looking NPCs, too.
Finally, i’ve also done a crude map viewer, of which you can take your newly generated character for a stroll around the park. You can zoom out and in, except it doesn’t follow you nearly nicely as i’d want it to be.
Tech Demo
So, here’s a quick demo of what i’ve done so far.
There’s a couple things i must mention before you try it, like the background. No, the game hasn’t changed name to “Eyes of the dragon”. I’ll get my own background for the game later, as for now, i’m using the one provided in the tutorial i mentioned at the beginning.
There’s also an elusive bug of which i’m not sure if it’s related to my graphics card or not (or lack thereof, because i have an Intel HD Graphics). At random, the screen can go either black, or white with all texts appearing as squares. All inputs still work. I can’t find the reason why it’s happening, but i know how to fix it (press F12 to apply it); IF it happens to you too, PLEASE TELL ME, and mention the name of your graphic card. If you need help finding out the name of your GC, it’ll be my pleasure to help you!
There’s barely any keyboard handling — pretty much everything is handled with the mouse. I do not intent to lock myself out of a possible Xbox adaptation, so i did what i could to not mess things up.
Ingame, move with the WASD keys, zoom in/out with the mouse wheel, and press Escape to go back to the character generation screen. Anywhere in the game, press Printscreen to save a screenshot in the Screenshots directory of the game.
Download the Tech Demo #1 here : DOWNLOAD.
Make sure that you have .NET Framework version 4.0 installed, and XNA 4.0 redistributable installed too. Here’s all the links :
.NET Framework 4 (Web Installer)
XNA Framework Redistributable 4.0