@Imzogelmo
Thank you very much, I always appreciate! :) I hope to be able to release some kind of demo soon, at least a debug/showroom so everybody can take a look at what I've done so far, since I'm almost done coding all menus, systems and gameplay elements.
@Rey
That sounds really interesting! I was thinking about using OpenGL/SFML, combined with GLSL for shader effects to achieve that. I've heard of Gosu but never took the time to work with it. I'd love to take a look at it. However, I'm not planning or rewriting the renderer just now. It's a very tempting idea but would be a somewhat separate project I would start only after the SDK is done.
@Bladezuez
Most of the links are probably dead and I haven't updated the site in 2 years. Clearly I suck at maintaining a website. :( Unfortunately, no new version of the SDK is available at the moment for many reasons. Back in late 2011, I restarted the project almost from scratch and decided not to release any demos until I really have something working and usable. However, I come back here as often as possible to post updates and keep people informed of the progress I've been making.
UPDATE!
In the past weeks I've changed my focus from gameplay to optimization. There were many places where the FPS would drop considerably and it was getting more and more annoying. So I decided to fix stuff. I've also change many things in the code that doesn't really impact the user or the gameplay but will make the code cleaner and easier to use.
That's all for today!
- Dargor
Thank you very much, I always appreciate! :) I hope to be able to release some kind of demo soon, at least a debug/showroom so everybody can take a look at what I've done so far, since I'm almost done coding all menus, systems and gameplay elements.
@Rey
That sounds really interesting! I was thinking about using OpenGL/SFML, combined with GLSL for shader effects to achieve that. I've heard of Gosu but never took the time to work with it. I'd love to take a look at it. However, I'm not planning or rewriting the renderer just now. It's a very tempting idea but would be a somewhat separate project I would start only after the SDK is done.
@Bladezuez
Most of the links are probably dead and I haven't updated the site in 2 years. Clearly I suck at maintaining a website. :( Unfortunately, no new version of the SDK is available at the moment for many reasons. Back in late 2011, I restarted the project almost from scratch and decided not to release any demos until I really have something working and usable. However, I come back here as often as possible to post updates and keep people informed of the progress I've been making.
UPDATE!
In the past weeks I've changed my focus from gameplay to optimization. There were many places where the FPS would drop considerably and it was getting more and more annoying. So I decided to fix stuff. I've also change many things in the code that doesn't really impact the user or the gameplay but will make the code cleaner and easier to use.
1) The Game Managers:
Spoiler
If you've worked with RGSS3 in RPG VX Ace you probably have noticed the new Modules (SceneManager, BattleManager and DataManager). They seemed a bit weird to me at first, but taking a deeper look at them, I think these are pretty clever classes! They basically do what they say they do: Managing Scenes, Battles and Data. The most important here is the SceneManager; thanks to this class I can get rid of the $scene global variable. Scene switching is all done in this new module! It's a lot cleaner and has many cool functions.
2) The Item Window:
Spoiler
When I test the SDK, I almost always test will all items, spells, equipments, etc. So the item windows are always full. However, the more item you have, the longer it takes to the window to refresh itself. This is because I was still using RPG Maker's dumb way of drawing items in a list, meaning they simply redraw everything at once instead of drawing only what's visible. This lag can be noticed in RPGXP too, it's not unique to the SDK! In fact, it will happen with any window that has around 200+ items in it.
Since the item window is used in many places (equipment menus, shops, battles), taking around 1.45 seconds to draw it was unacceptable. The optimization I did here is to draw only what is visible. When you press a key to move your selection, it will automatically detect if it needs to draw something, and if that something has already be drawn. In the end, the window now takes only 0.39 seconds to draw!
Since the item window is used in many places (equipment menus, shops, battles), taking around 1.45 seconds to draw it was unacceptable. The optimization I did here is to draw only what is visible. When you press a key to move your selection, it will automatically detect if it needs to draw something, and if that something has already be drawn. In the end, the window now takes only 0.39 seconds to draw!
3) Animated battle backgrounds:
Spoiler
Until recently, animating battle backgrounds required having multiple images, and at the specified frame, swap the background bitmap to the new bitmap. Doing this almost every frames (using sprite.bitmap = my_bitmap ) was not very efficient and would drop the FPS down to around 20. Si instead of doing this, I changed my method to use use sprite.src_rect.set. Meaning that you will need only 1 image that would contain all your images, just like a spritesheet.
4) Character Spritesheets:
Spoiler
Animated characters are using RPGXP's animation system, so 5 X whatever cells of 192x192 pixels. However, this size limitation is not very convenient for FF6 spritesheets, so I added more flexibility to the system. You can now specify how many columns and rows your spritesheet has, and the system will automatically divide it properly. That means that you can simply copy/paste a spritesheet you made for your ROM hack into the FF6SDK!
5) Palette color animation:
Spoiler
Well, I wouldn't really call that color palette animation, but I do have the glowing effects on actors when they are in a certain state like haste or shell. Updating this effect on top of animated backgrounds would drop the FPS down to more or less 6 FPS in battles. That was really scary... But I got it working at a nice 60 FPS! The trick was not to update it at every frames; it now updates every 10 frames. Also having smaller character images (thanks to point #4 above) also increased performances a lot since there's less pixels to evaluate. The bigger the image, the longer it will take to update this effect.
6) Inventory system:
Spoiler
I created three new game class to help manage items. The Game_Item class is a wrapper for $data_items/weapons/armors with many useful functions added to it. Game_Inventory will keep track of your inventory, how many items you own, how many are equipped and their order in the item menu (since you can sort them). Finally, the Game_Equipment class handles actors equipment. This one is very useful as it is designed to allow as many equip slots as you want, and without item type restrictions. Basically, this means that you can have 3 weapons equipped if you want, or 5 relics, and it won't be a nightmare to handle. The character stats and actions functions already take all equipped items into consideration, reducing the chances of forgetting to handle some specific cases, like jumping with 2 weapons equipped.
That's all for today!
- Dargor