Please login or register.

Login with username, password and session length
Advanced search  

News:

Don't be hasty to start your own mod; all our FFT modding projects are greatly understaffed. Find out how you can help in the Recruitment section.

Tethical, online FFT clone  (Read 87953 times)
Pages: [1] 2 3 ... 14
Kivutar [Posts: 226]
  • View Profile
  • share
  • [February 25, 2011, 08:38:42 AM]
Tethical, online FFT clone
« on: February 25, 2011, 08:38:42 AM »
    Hi FFT hackers,

    I started writting an FFT clone.

The goal

The goal is not to make a complete game, it's too much work for me alone. But I think I could release a small playable demo.
The game would be online and PvP, no AI for now, no classes for now, something very minimal and easy to code.
However, it is an open source project so I try to make things as reusable as possible. So the project may be usefull to people wanting to code a more RPG-oriented FFT, by provinding classes for battle mechanics and the graphical engine.

Technical details

Temporary server written in Perl with Dancer. (Of course I plan to drop HTTP wich is not suitable for the project.) Server written in python using the datagram protocol.
Client written in python using Panda3D engine.
Source code on github https://github.com/Kivutar/tethical
Website: http://tethical.kivutar.me

I'm currently working on

  • Effects
  • Fonts
  • AI
  • Official map exporter
  • Keyboard support
  • GUI
  • New maps
  • Disabled menu items
  • Battleflow bug
  • Direction buttons
  • Baked shadows
  • Gameplay
  • Too much freedom in camera movements
  • Character animation bug
  • Using CEGUI, a better GUI Switched back to DirectGUI for now
  • Server not supporting xyz indices for tiles
  • Ugly textures
  • Connecting client and server
  • Contacting people like the ffh guys, dbp, gomtuu, Mephs, Calvin Chen, ebonrai, galaxymage team, sofakng, onimatrix...
  • Replacing copyrighted content from the client
  • Nice 2 color background

Changelog

09/29/2011
  • Special effects

http://www.youtube.com/watch?v=NzYIteGvwss


08/20/2011
  • Formation screen
  • Bugfix for the camera ratio
  • Code refactoring
  • New keyboard config
  • Typo fix in Lijj Direction.py
  • Keyboard configuration in the config file
  • Remove kivu and lirmont folders server side too
  • Code cleaning
  • Configuration variables for the keyboard
  • Code cleaning
  • Apply the last two patches on Lijj folder
  • Fix the hand texture
  • Remove the characters on attack_check image, replace them with the fixed font
  • Fixed many issues with the regular font: color, shadow, line height, spacing
  • Removed kivu and lirmont folders for now, they add too much work
  • Custom direction chooser for Lijj game
  • Added modularity for the code
  • Config files, multigame support
  • Forgot to add particle textures and config files
  • 12 palettes for Lijj's girl knight
  • Particle effects in the battle
  • More UVmapping for the map 007
  • Finaly fixed sprite resolution
  • Battle cursor pointer
  • Remove the action preview when the battle is complete
  • A lot of improvements in the attack GUI flow
  • Attack check message placement fix
  • gitignore
  • Resolution fix
  • Double resolution sprite + per team palettes
  • Daylight version of the custom map 006
  • Remove the auto shader to temporary fix the background bug
  • UV mapping improvements on map 007
  • Custom texture for the first custom map
  • Better texture for the zones
  • Textures for attackables and walkables tiles
  • 40x40px cursor and shadow
  • Finished to declare the tiles for the second map
  • Second map improvements
  • The new map exported to egg
  • Map rename
  • UV texture for the second map
  • Map improvements
  • Map cleaning
  • A new map almost modelized
  • Point light support
  • Higher walk animation speed when moving
  • Some modeling experiments
  • Fixed the other json map files with the new syntax for multiplayer

http://www.youtube.com/watch?v=EogmXMS0U_w


06/23/2011

http://www.youtube.com/watch?v=eQZVd5121sA


06/17/2011
  • Some job informations
  • Compute CT using character speed, according to the Battle Guide Mechanic...
  • Better job files from the Battle Guide Mechanics
  • Compute true character stats using their job and level
  • True bare handed damage formula
  • A new small font + display true brave and faith
  • Some improvements on the return to party list code
  • Removed the useless STATS datagram
  • Fix for the canact bug

06/09/2011
  • Unload the map chooser models
  • Added the small jump animation
  • Center the intro animation on the map bounds center
  • Code cleaning
  • Refresh button texture
  • Added some imagemagick scripts to export sprites to tethical format
  • Display the sprite corresponding to the job and gender of the character

http://www.youtube.com/watch?v=fQr9VYACGCY


06/04/2011
  • The new map chooser

http://www.youtube.com/watch?v=Rbv0rh8WT0M


06/02/2011
  • Display battle coordinates with the official font
  • Allow characters to move through death bodies
  • Allows characters to move through the tiles containing a team member
  • Server code cleaning to prepare move algorithm improvements
  • 4th custom map model
  • Send only usefull informations to fix the lag on character turn
  • Code cleaning
  • Made the help message cancelable

http://www.youtube.com/watch?v=7M66QDrFb4w


05/31/2011
  • Added UV coordinates to all slope models, so they are texturable
  • Moded the client code to switch cursor shape according to terrain shape
  • Color the cursor in red when on an unwalkable tile

http://www.youtube.com/watch?v=O_0xHxXdBL0


05/23/2011
  • I finally understood how panda fonts work
  • Made a multicolored (black & white) font
  • Display character's stats during the battle

http://www.youtube.com/watch?v=4sVOHmY-BC0


05/21/2011
  • A new custom map
  • Add an unfinished custom map
  • Fixed the map exporter to not place characters in water
  • Allow more parties to be created
  • Connect server only when credentials are provided
  • Window title
  • Return to party list after a battle
  • Battle Complete datagram
  • Fix the Game Over screen
  • Code cleaning

http://www.youtube.com/watch?v=enFA7KDhyrw


05/17/2011
  • Updated the README to reflect the server switch
  • Raise TCP header size to allow bigger maps
  • Change default port to 3001
  • Fix damages
  • Command line argument to specify server port
  • Prevent panda to open a window for the server
  • Renamed some files
  • Server rewritted to python, switch to the datagram protocol
  • Readme
  • Attackables algorithm takes height into account
  • Move algorithm takes jump stat into account
  • Remove useless code
  • Add genericity so the game can handle both original and custom maps

05/03/2011
  • Export complete .obj maps with flipped normals
  • First steps in map logic export

http://www.youtube.com/watch?v=raEbndqROuo


04/26/2011
  • First official map exported, special thanks to lirmont who wrote the exporter!

http://www.youtube.com/watch?v=zTqHxW8rXPg


04/25/2011
  • Fix for the tile ratio bug
  • Fix for the sprite animation bug
  • Conditions for winning screen
  • Congratulations screen
  • Game over screen

http://www.youtube.com/watch?v=w2OLGtYIiS0


04/22/2011
  • Fixed the terrain aspect ratio
  • Fixed the walk speed
  • Color fix for the direction chooser textures
  • Move and Attack check messages
  • Hide the black overlay when selecting a character to attack
  • Fix cursor Z
  • Clear the blue zone before the character starts to walk
  • Textured cursor

http://www.youtube.com/watch?v=QK0tH9Ktz5c


04/21/2011
  • New map
  • Keyboard driven battle menu

http://www.youtube.com/watch?v=iKTJNqh9EY4


04/20/2011

  • Battleflow bugfix: clear attackable tiles on cancel and any special tile...
  • Fix the no walkable battleflow bug + keyboard driven cancel menu
  • Keyboard driven direction chooser
  • Keyboard driven help messages
  • Code refactoring: tile chooser keyboard events
  • Code refactoring: battle phases

http://www.youtube.com/watch?v=sJe4L_qxsWI


04/16/2011
  • Display character name, job and sign in the character status
  • Right sound effects for the lobby widgets
  • Add camera movements for move and attack action in passive phase
  • Better use of the lobby tasks to poll the server
  • Add a 1sec delay before first character start
  • Lobby code refactoring : moved all the GUI related code to the GUI module
  • Keyboard support for the tile chooser

http://www.youtube.com/watch?v=ZK107l52VI4


04/11/2011
  • First steps in displaying character status

http://www.youtube.com/watch?v=zi5dAmnOSAA


04/10/2011
  • Better battle introduction, with camera moving around the map
  • Help messages for the direction and tile choosers
  • Fixed the wheel background resolution, it was blurry
  • I fixed the camera height, it was too low

http://www.youtube.com/watch?v=8Q6FqVd5e8s


04/08/2011
  • New lobby GUI
  • FFT font
  • Ramza sprite

http://www.youtube.com/watch?v=5hdgZNa5Mi8


04/05/2011
  • Better party selection list
  • Less hardcoded accounts, the way is open to store accounts in a database
  • Walk speed fixed

http://www.youtube.com/watch?v=ktdFLMsXQb4


03/29/2011
  • Automaticaly open active character's menu
  • AT sprite
  • Lock camera control and tile highlighting when needed
  • Direction selector
  • Automaticaly open direction selector when character has already moved or acted

http://www.youtube.com/watch?v=Fx6x9-AQGaM


03/25/2011
  • BGM
  • Sound effects
  • Basis for a better GUI

http://www.youtube.com/watch?v=8RK7pSLpOZc


03/19/2011
  • Better aspect ratios
  • Better camera angles
  • Unique texture for maps
  • Transparency bug fixed
  • Character shadows

http://www.youtube.com/watch?v=BigUyg3pX20


03/13/2011
  • Characters can attack, lose HP and die
  • Lot of code cleaning
  • Added 'weak' and 'dead' statuses to the sprites
  • Some work done on a new GUI wich is way better

http://www.youtube.com/watch?v=vk7oyfU7cD4


03/09/2011
  • Battle moves shared accros the server
  • Better camera movements
  • Code cleaning

http://www.youtube.com/watch?v=Ph3X0pza2nA


03/06/2011
  • 2 color background
  • keyboard driven camera handler

http://www.youtube.com/watch?v=KAKW-Fd3sxs


02/27/2011
  • Random team generated
  • Full support of xyz coords server side
  • Draw walkable tiles sent by the server

http://www.youtube.com/watch?v=FNo0HybkVEY


02/26/2011

  • Players can create parties
  • They can join parties too
  • Removed formation screen for now, a random team will be generated

http://www.youtube.com/watch?v=JLcV1a2CkG0


02/23/2011
  • Original map + original but ugly textures
  • Coords displayed top right of the screen
  • GUI to connect the game server, and create a party

http://www.youtube.com/watch?v=g4qocfliSpY


02/19/2011
  • Uncomplete camera movements
  • Character movements keeping right direction
  • Exported official map using Ganesha, but texture issue

http://www.youtube.com/watch?v=aULsvh73qvM


See also

[/list]
« Last Edit: September 29, 2011, 07:52:58 AM by Kivutar »
Tethical, an online FFT clone
Mediator
Eternal [Posts: 3072]
  • View Profile
  • https://steamcommunity.com/id/eternal248/
  • share
  • [February 25, 2011, 08:46:25 AM]
Re: Tethical, online FFT clone
« Reply #1 on: February 25, 2011, 08:46:25 AM »
Very nice work! Keep it up! :D

    • Modding version: PSX & WotL
    • Discord username: eternal248#1817
  • "You, no less human than we? Ha! Now there's a beastly thought. You've been less than we from the moment your baseborn father fell upon your mother in whatever gutter saw you sired! You've been chattel since you came into the world drenched in common blood!"
    May I kill him?
    Pride [Posts: 838]
    • View Profile
    • share
    • [February 25, 2011, 08:47:49 AM]
    Re: Tethical, online FFT clone
    « Reply #2 on: February 25, 2011, 08:47:49 AM »
    Between this and dbp's project, I have high hopes for an online pvp fft. I simply can't wait ^_^

    • Modding version: PSX
  • Check out my ASM thread. Who doesn't like hax?
    Dome [Posts: 4890]
    • View Profile
    • share
    • [February 25, 2011, 09:20:00 AM]
    Re: Tethical, online FFT clone
    « Reply #3 on: February 25, 2011, 09:20:00 AM »
    Awesome stuff
    Keep up the amazing work!

    "Be wise today so you don't cry tomorrow"
    Kivutar [Posts: 226]
    • View Profile
    • share
    • [February 25, 2011, 09:56:43 PM]
    Re: Tethical, online FFT clone
    « Reply #4 on: February 25, 2011, 09:56:43 PM »
    Thanks a lot for your support.
    I added a new video.

    Tethical, an online FFT clone
    Cheetah [Posts: 3656]
    • View Profile
    • share
    • [February 26, 2011, 11:47:30 PM]
    Re: Tethical, online FFT clone
    « Reply #5 on: February 26, 2011, 11:47:30 PM »
    Holy crap where are all these game programmers coming from crawling out the woodwork. If it is at all possible to merge this project with dbp's that would be amazing. Two heads are better than one and there is no reason to have two similar projects not at least contributing to eachother.

    Amazing work keep it up!

    The DREAM is coming true.

    Current Projects:
    Beginner/Events
    MasterGrand [Posts: 247]
    • View Profile
    • http://videogames-savestateeditor.blogspot.com/
    • share
    • [February 27, 2011, 07:18:15 AM]
    Re: Tethical, online FFT clone
    « Reply #6 on: February 27, 2011, 07:18:15 AM »
    Last we can play FFT online .

    Great job keep it up !

    Let's be together !!
    Kivutar [Posts: 226]
    • View Profile
    • share
    • [February 27, 2011, 08:02:23 AM]
    Re: Tethical, online FFT clone
    « Reply #7 on: February 27, 2011, 08:02:23 AM »
    Ok, I PMed dbp about sharing things.

    Tethical, an online FFT clone
    dbp [Posts: 78]
    • View Profile
    • share
    • [February 27, 2011, 01:23:36 PM]
    Re: Tethical, online FFT clone
    « Reply #8 on: February 27, 2011, 01:23:36 PM »
    Hello  :D
    Good job so far Kivutar !

    About merging project together, i feel like it will be difficult because of the different programming language.
    I think that both technologies will do a different job, with good and bad points.

    For example, any kind of 3D will be really faster than Flash.
    But, Flash, is better to play online form any computer that have Flash Player installed.

    But, about the sounds, musics, textures, and stuff like that, i am 100% ready to share !

    Final Fantasy Flashtics v0.6 --->
    Kivutar [Posts: 226]
    • View Profile
    • share
    • [February 27, 2011, 03:04:23 PM]
    Re: Tethical, online FFT clone
    « Reply #9 on: February 27, 2011, 03:04:23 PM »
    Hi bdp, thanks a lot for your quick reply! :D

    Sure merging the clients is not possible and we both don't want to do so. But what about sharing the same server?

    I'm also interested in seeing some algorythms you have implemented better than me, like the one that returns walkable tiles for a character. (Mine doesnt take in account in wich teams characters are.)

    In addition to sounds, music and textures, we could also make our maps and spritesheets compatible.

    Do you plan to opensource your project (or at least share the source with few people)?

    Tethical, an online FFT clone
    mav [Posts: 2610]
    • View Profile
    • share
    • [February 27, 2011, 04:12:53 PM]
    Re: Tethical, online FFT clone
    « Reply #10 on: February 27, 2011, 04:12:53 PM »
    Where are you people coming from?! This is so impressive. Great work, keep at it.
    dbp [Posts: 78]
    • View Profile
    • share
    • [February 27, 2011, 04:26:07 PM]
    Re: Tethical, online FFT clone
    « Reply #11 on: February 27, 2011, 04:26:07 PM »
    Sharing the same server may be a good idea.
    Also, making compatible the maps and spritesheets looks cool.

    I also thought about do an open source project for the future.
    But for now, everything is still in beta test, so i need to be sure to have 100% efficient code before sharing.

    But, i feel like i have a good control of the code itself. So, just need some clean up and a lot of time :D

    How do you plan to make your game online and multiplayer ?
    What server side program ? sockets ?

    I am going to use Smartfox Server, i believe that it is the most correct solution for Flash developers.
    What about you ?

    Final Fantasy Flashtics v0.6 --->
    Kivutar [Posts: 226]
    • View Profile
    • share
    • [February 28, 2011, 07:46:00 AM]
    Re: Tethical, online FFT clone
    « Reply #12 on: February 28, 2011, 07:46:00 AM »
    Quote
    Also, making compatible the maps and spritesheets looks cool.

    maps:

    My map models are made with blender. You can find it here https://github.com/Kivutar/tethical/tree/master/client/models/maps. For now, textures are 20x20 images applied to each tiles. In a second time, I will try to export a global texture to allow graphists to easyly customize each tile and bake soft shadows like it is the case in FFT.

    On server side, the map is like this https://github.com/Kivutar/tethical/blob/master/server/maps/Test%20City.json. A json file listing tiles. I plan to use slope heights to scale the slope on z instead of using a high number of slope types.

    I try to stay as close as possible of FFT but using easy-to-edit formats. It will allow people to export maps from the ISO if they want too.

    spritesheet

    For now I use something not efficient like this https://github.com/Kivutar/tethical/blob/master/client/textures/sprites/misty.png because my sprite class does not handle flipping yet. Idealy I would use spritesheets exported by ShiShi.

    Quote
    How do you plan to make your game online and multiplayer ?
    What server side program ? sockets ?

    For now, I'm using a minimal http based server that I developped using Perl and the Dancer framework. You can take a look at the code here: https://github.com/Kivutar/tethical/blob/master/server/server.pl. It is easy to read and extensible, but HTTP is clearly a poor choice as my clients will have to flood the server with requests to know what the other player is doing.

    Reading the Panda3D doc, I found this: http://www.panda3d.org/manual/index.php/Networking. I will try this if we cannot agree on sharing a server.

    Concerning Smartfox Server, I quickly read their documentation. It looks like the best choice for an ActionScript game. Full featured, well documented, high level, with a tutorial for board games.
    The downside for me is that there is no python API for client side. (and I am too lazy to write one). I thought that I could use their BlueBox wich is HTTP based too, but it is just tuneling so I will have to parse the packets in this case too.
    There is also the fact that it is very heavy and has a cost...

    Looks like sharing a server will be less easy that I thought due to client side technologies we use :/

    Tethical, an online FFT clone
    SaGa Frontier Hacker
    Pickle Girl Fanboy [Posts: 1482]
    • View Profile
    • Bio Research Lab
    • share
    • [February 28, 2011, 06:51:31 PM]
    Re: Tethical, online FFT clone
    « Reply #13 on: February 28, 2011, 06:51:31 PM »
    Have you guys considered Common Lisp?  I can shoot you some books on it, if you want them.  It can be faster than C++ in some cases, it's memory usage is roughly equivalent to Java (garbage collection), and it's very flexible.
    dbp [Posts: 78]
    • View Profile
    • share
    • [March 01, 2011, 01:15:35 AM]
    Re: Tethical, online FFT clone
    « Reply #14 on: March 01, 2011, 01:15:35 AM »
    Quote
    My map models are made with blender.
    Me 2 ! But the big difference is that i just made a bunch of typical tiles like :
    Tile : (height definable)
    Slope : (height definable)
    Tree : (height definable)

    I believe that with these 3 type, you can do almost every map you want.
    But it also use more memory especially in Flash.

    Quote
    and bake soft shadows like it is the case in FFT.
    Do you say that you can bake shadows in real time with Panda3D ?
    Flash sadly can't do that.

    Quote
    Looks like sharing a server will be less easy that I thought due to client side technologies we use :/
    That's right.
    Also, i believe that we do not have the same way of doing things. So maybe my path-finding or area-finding algorithm may not be totally appropriate for your approach.
    At least the general concepts are the same.

    Anyway, even if we can only share a little bit of our work, let's do it !
    And for my project, i don't know how far i am gonna go with it, and how long i can work on it. It is very time consuming.

    Final Fantasy Flashtics v0.6 --->
    Kivutar [Posts: 226]
    • View Profile
    • share
    • [March 01, 2011, 07:32:36 AM]
    Re: Tethical, online FFT clone
    « Reply #15 on: March 01, 2011, 07:32:36 AM »
    Quote
    I believe that with these 3 type, you can do almost every map you want.
    But it also use more memory especially in Flash.
    It was my first approach too. But using a single model makes easier to do this type of maps: http://ffhacktics.com/maps.php?id=83 (the bridge), http://ffhacktics.com/maps.php?id=63 (the door and the guillotine), http://ffhacktics.com/maps.php?id=36 (the steeple). And makes exporting official maps a lot easier.

    Quote
    Do you say that you can bake shadows in real time with Panda3D ?
    Flash sadly can't do that.
    No I didn't mean that (sorry for my english, I'm French). Panda can bake realtime shadows, but I'd like to keep close to official FFT maps in which the shadows are baked in the textures. I meant that exporting the whole map texture in a single image make it easier for texture artist, they won't have to know how to use blender to contribute textures.

    Quote
    Also, i believe that we do not have the same way of doing things.
    Yes you're right. We have to admit that we made different choices.

    Quote
    Anyway, even if we can only share a little bit of our work, let's do it !
    Sure

    Quote
    And for my project, i don't know how far i am gonna go with it, and how long i can work on it. It is very time consuming.
    I know what you mean. I feel exactly the same. But your project is very good. Please don't let it die like Calvin Chen did. Reinventing the wheel is fun, but not 3 times.

    Tethical, an online FFT clone
    dbp [Posts: 78]
    • View Profile
    • share
    • [March 01, 2011, 10:18:30 AM]
    Re: Tethical, online FFT clone
    « Reply #16 on: March 01, 2011, 10:18:30 AM »
    I am French too ! :D

    Quote
    But using a single model makes easier to do this type of maps: http://ffhacktics.com/maps.php?id=83 (the bridge), http://ffhacktics.com/maps.php?id=63 (the door and the guillotine), http://ffhacktics.com/maps.php?id=36 (the steeple). And makes exporting official maps a lot easier.

    That is right, but, with a simple Map Editor, even a tile based map construction would recreate these maps without any problems.

    Quote
    Reinventing the wheel is fun, but not 3 times.
    Yeah...
    « Last Edit: March 01, 2011, 04:42:02 PM by dbp »
    Final Fantasy Flashtics v0.6 --->
    The Kindly Shopkeeper
    Lijj [Posts: 2039]
    • View Profile
    • share
    • [March 02, 2011, 12:14:31 AM]
    Re: Tethical, online FFT clone
    « Reply #17 on: March 02, 2011, 12:14:31 AM »
    Viva La Revolucion de FFH!!
    Kivutar [Posts: 226]
    • View Profile
    • share
    • [March 02, 2011, 06:38:12 AM]
    Re: Tethical, online FFT clone
    « Reply #18 on: March 02, 2011, 06:38:12 AM »
    Quote
    I am French too !
    Realy?! I thought from your profile that you were japanese!

    Quote
    Yeah...
    I'm glad you edited this before I start trolling my own topic, thanks god xD

    Concerning the game, I started rewritting the camera handler. This week end I will be on hollydays for 5 days (without the net) and hope to have time to code or at least refactor the codebase.

    Tethical, an online FFT clone
    dbp [Posts: 78]
    • View Profile
    • share
    • [March 02, 2011, 07:55:21 AM]
    Re: Tethical, online FFT clone
    « Reply #19 on: March 02, 2011, 07:55:21 AM »
    Quote
    Realy?! I thought from your profile that you were japanese!
    Yeah, French living in Japan.

    Quote
    I'm glad you edited this before I start trolling my own topic, thanks god xD
    I do not want to enter into a debate either, thanks god too :D

    That is very cool, i hope you can achieve what you want, i am looking forward to see new features.
    Don't forget to post any video if you made some significant changes !

    By the way, will your game be available for MAC ?

    Final Fantasy Flashtics v0.6 --->
    Pages: [1] 2 3 ... 14