Randal Graves: Which did you like better? "Jedi" or "The Empire Strikes Back"?
Dante Hicks: "Empire".
Randal Graves: Blasphemy.
Dante Hicks: "Empire" had the better ending. I mean, Luke gets his hand cut off, finds out Vader's his father, Han gets frozen and taken away by Boba Fett. It ends on such a down note. I mean, that's what life is, a series of down endings. All "Jedi" had was a bunch of Muppets.
Everlasting Journey
Characters, magic, stats, charm, plot, ADVENTURE!



+++ DynRPG - The RM2k3 Plugin SDK +++

Shaders are cool

Where or how to learn game development management?

For small projects between a few people (or just you), Trello is my personal go-to. On a basic level, make some lists like "To-do, Doing, Done, Hold" and put all of your ideas down on "cards" and move them between the lists. From there, it's up to you since you can do quite a lot with trello. Each card is basically its own comments/notes section. Overall, it's a very clean & minimal interface that has stayed consistent for several years. A lot of web teams/startups use it.

[RMVX ACE] What do you consider a playable/smooth FPS?

VX games run below 60? If that's the case, the code is not managing resources well somewhere, whether it's the engine itself or a script being used.

It's annoying that frame rate has become such a talking point because it's skewing how people think about it, so I'm going to talk about this having been writing a 2D engine in OpenGL for the past year and getting down and dirty with this. First off, movies and games are completely different in terms of frame rate, so separate the two from the discussion entirely before you even think it.

At some point, 30 became the norm in AAA games because they're pushing so many resources to the graphics card, and due to maybe some laziness or time constraints when it came to optimization, couldn't consistently get 60, and 30 could be argued as "cinematic" by marketing teams who don't understand the tech and just want to get a game shipped. With 2d games, there's really no excuse for anything under 60, especially on PC because there aren't nearly as many resources going to the graphics card.

The game itself should be pushing as many frames as possible and controlling the passage of time within the game accordingly... aka 120fps, 60fps and 30fps should always reflect a second of time in-game. This seems obvious but it's tricky when you are actually programming it because it could mean a sprite zipping across the screen in an unintended fashion on once PC, and the expected speed on another PC. The frame rate should generally try to sync up to the refresh rate of the monitor (60fps = 60hz, 120fps = 120hz, etc) because it looks the best and is maximizing the hardware. If the frame rate goes over the refresh rate of the monitor, you'll get screen tearing, meaning frames are getting wasted, and if it's is under, you get the choppy effect which causes people to get up in arms about this issue.


It's pretty simple though. Monitors and tvs are never below 60hz, so don't limit your game to 30. Ultimately, you don't know what kind of PC is going to run your game, so you need to account for slower ones to some degree, which is where that optimization stuff comes in. Those developing engines/makers know this going in so that their end users (creators like you and I) don't have to think about it that much.

What the fuck is wrong with you guys 2D games should never run below 60 FPS. Even 3D games shouldn't, but a locked 30 is at least acceptable.

+++ DynRPG - The RM2k3 Plugin SDK +++

Might be helpful, but I can't promise anything.

+++ DynRPG - The RM2k3 Plugin SDK +++

You should probably try to build OpenGL usage into a new DynRPG patch. Why? Well, aside from the last patch being 0.20, DirectDraw is deprecated (it literally causes crashes). So it might eventually be needed to keep 2k3 in running order as Windows continues to "upgrade" removing features.
Zam just referred to it in his post... <_<

Here's a video of it in action:

One thing you might be able to do is run it as if it were a battle animation (using the Play Movie command, but basically loading it as if it were a bunch of pictures). Whatever displays those may be able to be gerryrigged to run other stuff. Or running it using Windows Media codecs. Probably neither of these are right (I don't understand how this stuff runs), just throwing out ideas here to see if one is decent.
It's way more complicated than that unfortunately.

On the 2k3 end: Play Movie outputs to a separate HWND (handler for a window or sub-window), which operates outside of onFrame & onDrawScreen, so you basically can't fetch the existing pixels and redraw it using those callbacks. What happens is that as soon as the movie starts, the movie's HWND is enabled and the other one with the callbacks we need is paused essentially. Which means it'd be easier to block it using onEventCommand for RPG::EVCMD_PLAY_MOVIE, "return false" and rewrite it entirely.

On the SFML end: The library doesn't support video playback, so you have to use an external library. VX Ace used one called Theora for example, and ffmpeg is another popular one, but both are written for C instead of C++, which complicates things. Next you need to either implement one of those libraries either in raw OpenGL or use one that someone else wrote. From there it just gets a lot more technical. There are two SFML wrappers for those video libraries, but one is dead (no site anymore, downloads, or documentation), and the other was built for visual studio and requires some ugly build process if you want to use it with any other IDE. It's probably a lost cause altogether honestly, so when I finally do release the plugin, it probably just won't have support for the Play Movie command.

+++ DynRPG - The RM2k3 Plugin SDK +++

Hello PepsiOtaku.
First of all, I really want to thank you for all your work.

I wanna ask you about the OpenGL render you were talking about in page 66, are you still working on it? Do you plan on sharing it in the end?

Hopefully soon. I ended up starting another SFML project and have been working on that since August and have learned a ton of new stuff about the library, so I ended up going back and optimizing a bunch of things in the OpenGL plugin literally a couple weekends ago based on that newly learned stuff. There were some crash-to-desktop issues that I fixed as well as performance fixes.

It still doesn't support 2k3's "Play Movie" command, which I have sort of half figured out at this point, but there's an issue of whether or not I need to use something like ffmpeg for decoding since I can't redraw the video playing from the original directdraw renderer. I can block it like I'm doing with the regular canvas though, and just get the movie's filename for later use. I've also been going back/forth about adding a DynRPG-controlled UI for graphic settings. At the moment, it just uses comment commands and you have to build the UI yourself.

[RM2K3] Usable color palette for 2k3?

Note that it uses 32-bit color, so (based upon what I quoted above) I guess that potentially could be an issue. It has always looked right to me, however, so if you think it could work, it's probably still worth checking out.

Exactly right--2k3 converts it down to 16-bit. The best example is that if you were to make a system set that has a gradient background made using Photoshop's gradient tool, even though you are saving it to a 256 color palette, it's still using 32-bit colors, so 2k3 is going to reinterpret the image to 16-bit and you'll end up with undesirable colors in the gradient.

Here's an example I had lying around:

The left half of the image is what is in the actual file, and the right side is how 2k3 interprets it. (Might be hard to see on some monitors--the gradient example would be easier to see the difference)

To take it one step further, the "undesirable colors" refers to the hue looking a bit off, which is due to 6 bits used for green and 5 bits used for red and blue. More bits = more color shades. In 32-bit color, 8 bits are designated for R, G & B and another 8 for an alpha channel (transparency). 24-bit color ("true color") is the same thing but without the alpha channel.

Image fonts

For converting ttf fonts into a bmp/png image, I've used this program in the past:

Has settings for edge scaling (anti-aliasing/none/etc) and numerous other stuff.

[RM2K3] Usable color palette for 2k3?

Each image uses a 256 color palette (8-bit) as others have said, but if you want to get technical about what colors you can use in your palette, RM2k3's rendering screen uses 16-bit RGB (pixel value: RRRRRGGGGGGBBBBB)

So yes, there is a defined list. :)

Essentially, those are the exact colors you can use that will show up on your screen correctly. If you can't tell the difference between 32-bit and 16-bit color, it's most evident in near-black shades and near-white shades and if you use a monitor with a wide color gamut with appropriate brightness/contrast settings.

+++ DynRPG - The RM2k3 Plugin SDK +++


Would get the monster count in the current battle.