February Goals and Progress Thread

I made some progress, yay. Added a few new maps (all my maps are base size btw) and thinking on how to proceed the story from this point..

Thinking of putting a "blockage" along the way which will make the party need to find a workaround instead of being able to go directly forward unlike the rest of the events so far.

My own gametime clocks at about 1:44 right now, with the party at level 10 (max is 20). The party just got full right before this point so this last chapter or so should make the clock at around 3 hrs, so practically it should be about as long as the first two chapters combined. or I can split it into two chapters depending on how the story goes.
I already have blockage points in my plan, much of it at the start in the name of maintaining proper flow and ensuring that objectives are done in the scope of the greater benefit to progression. The consideration is important in many respects, and I do still have one more adjustment to make in terms of this but otherwise everything is set up for maximum impact from the sum of combined efforts.

EDIT: Done and done. Now it's completely impossible to leave the fourth crew member to chance without being subjected to a teleport job by which she intends to remind you that she's waiting for recon.
Progress Report #5

RPG Maker MV Cook Tool:
-Finally finished the package.json editor. It's fully functional (with saving to the file as well). I need to fix up the translations a bit, but it's in a good shape. I may spin this off to a standalone tool. Here's a video that demonstrates it:


Immortal Sins:
-More bug fixes. They just keep coming.
2.21 Update:
-Fixed a few of my dungeons in the strategy guide to make my layouts more consistent throughout the guide.
I literally can't stop thinking about how much of a joke it's become today for someone with Bowser in his name to be responsible for an entire regional office in the scope of game development and hardware creation alike beginning in mid-April (and those of us who have been around for long enough are undoubtedly aware of what I'm talking about). Meanwhile, in terms of my project I have rewritten the practice center mission to better fit the challenge that's provided around the expectations relative to the proceedings within.
Apologies if this comes earlier than you would normally expect - I can't settle the question in my head of whether it's a 48 hour rule or more like 72. Either way, 0.7.23 brings a game centre rewrite to where the roulette challenge follows traditional rules instead of a custom setup while still holding within the bounds of what I can legitimately do for the game to work in MV. I did have to chop six numbers off the list (for a maximum of 30 compared to regulation 36) but otherwise it's the red, black, odds and evens that you already know. Also, I'm finally preparing to add macOS builds to my plan.

EDIT: Forgot to mention in my prior update that the mission rewrite in question now involves special trials at individual checkpoints that must also be cleared.
Progress Update:
  • sketched the layout of Ned's shared flat and kept re-arranging it. Trying to find that sweet spot between believable floorplan and fun area to walk in and got to a point where I have a few layouts to choose from and need a placeholder tileset to test them in-engine
  • began preparing the placeholder tileset
Today I want to finish the placeholder tileset and create the placeholder map.

Edit:
Progress Update, one day later:
  • finished the placeholder tileset and began with the placeholder map. I'll have the different rooms spaced out more on the map in the end but I need there to be a decent layout first. As I suspected, what looked okayish in a sketch didn't work well on a map, and I've been iterating on it for a while yesterday
Made my very first System Window today for my secret half of the Lettership project. It was also a chance to say Happy B-Day to someone.
While I'm coming in a little late to have any real goals for February I figure I'm starting in February so until the March one's posted (in like 1-2 days) I'll be posting here
My main goal is to get the opening and first town/a couple battles done by Friday, I've got some groundwork done on the database already and I've got some broadstrokes of story planned (this whole thing is like 85% improv on my part ;P)
Progress Update:
  • finally found a good direction for the map layout
  • managed to keep myself from going into a tileset editing frenzy -- barely. I still ended up recolouring, resizing and rearranging a few things, but nothing too time-consuming. I'll just file those under 'memos' for when I get to work on my own tiles next month
My next step would be more detailed sketches and design for furniture and other props, I might be able to get started on that today.
Main Goal: Get the basic userinterface and logic for movement and battle in my side project done.
Update: Done
@Lihinel I am so impressed that for a bit I didn't thought it was made in RPGM. BTW you could teach us a few thingies here! (I just noticed the fog of war!!! 😳 )
0.7.24 brings updates to the game room system and the rules of the games within. I still have to debug the sets for some reason but otherwise the roulette game is getting a bit more complicated in terms of payout calculation. Seeing as I am now going on the standard rules of the game I am changing the system for the purpose of running calculations by odds instead of using flat rate returns, for which I did some research to implement properly.

EDIT: Forgot to mention that I had already done this before in getting the colors for the numbers themselves and that I had to verify a second time for odds-on implementation phase.
Working on the next cutscene for the game in which the party encounters a "roadblock" from where they will need to find a different to approach their target location.
Mapping is coming along pretty well, the overworld map is pretty much finished (just missing some late game areas) and I've got most of the starting town finished (just gotta do the player's house and a few interiors) with any luck I'll make it in time for my first goal deadline
Set debug seems to NOT be following plan. Short of switching the result source I'm at a loss with my thirds option.
@Marquise* Yeah, it's using MV, though to be fair, it's pure Javascript. (I will use lots of MV or Ace overworls tiles/sprites for the map later on) But I am actuall learning myself right now, the Warfare system is part of my "I learn Javascript" project, I already made a couple of threads in the Learning Javascript Boards and got help from some Users, so thanks to @Zevia @Aloe Guvner @Poryg and @Engr. Adiktuzmiko

The Fog of war is actually the least impressive, it started out as a brute force computation for every 32*32 area, to see if a unit is in range, but it let the framerate drop to ~45ish every second, I now changed it to a version where circles (corresponding to the viewrange) are drawn to a bitmap and then the bitmaps pixels are read for the Fog of War, while the bitmap itself is used for the overview, now it only goes down to ~55-57 framerate every second and runs with 60 the rest of the time. (I use a now 6 year old PC, so no idea if the same would be true for others, but I guess so since I would guess that MV only uses a single core and we haven't made much improvement to individual cores, but only added additional ones as far as I am aware)

If you're curious, these are the code fragments for the fog right now:

Spoiler
Code:
Lihinel.Scene_Warfare.prototype.updateGridOverview = function() {
    if(!this._game_paused){
        this._grid_overview_count -= 1;
        if(this._grid_overview_count <= 0){
            this._grid_overview_count = this._grid_overview_count_max;
            this._grid_overview.fillRect(0, 0, this._grid_overview.width, this._grid_overview.height, "#000000");
          
            this.drawGridOverviewViewRanges();

            this.updateOverviewPixelForHeroes("#22BB22");
            this.updateOverviewPixelForEnemies("#BB2222");
        }
    }
};

Lihinel.Scene_Warfare.prototype.drawGridOverviewViewRanges = function(x,y) {
    var src_bitmap = ImageManager.loadWarfareInterface("OverviewRange");
    for(var hero_index in $ludusWarfare.heroes){
        var x = ($ludusWarfare.heroes[hero_index].x / $ludusWarfare.grid_resolution_standard);
        var y = ($ludusWarfare.heroes[hero_index].y / $ludusWarfare.grid_resolution_standard);
        this._grid_overview.blt(src_bitmap,0,0,src_bitmap.width,src_bitmap.height,x-10,y-10);
    }
};

Lihinel.Scene_Warfare.prototype.updateOverviewPixelForHeroes = function(color) {
    for(var unit_index in $ludusWarfare.heroes){
        this.updateOverviewPixelForUnit(Math.floor($ludusWarfare.heroes[unit_index].x / $ludusWarfare.grid_resolution_standard), Math.floor($ludusWarfare.heroes[unit_index].y / $ludusWarfare.grid_resolution_standard), color);
    }
};

Lihinel.Scene_Warfare.prototype.updateOverviewPixelForEnemies = function(color) {
    for(var unit_index in $ludusWarfare.enemies){
        var x = Math.floor($ludusWarfare.enemies[unit_index].x / $ludusWarfare.grid_resolution_standard)
        var y = Math.floor($ludusWarfare.enemies[unit_index].y / $ludusWarfare.grid_resolution_standard)
        if(this._grid_overview.getPixel(x,y) != "#000000"){
            this.updateOverviewPixelForUnit(x, y, color);
        }
    }
};

Lihinel.Scene_Warfare.prototype.updateOverviewPixelForUnit = function(x, y, color) {
    this._grid_overview.fillRect(x-1, y-1, 4, 4, color);
};

Code:
Lihinel.Scene_Warfare.prototype.updateFogOfWar = function() {
    this._grid_fog_count -= 1;
    if(this._grid_fog_count <= 0){
        this._grid_fog_count = this._grid_fog_count_max;
        this.drawFogOfWar();
    }
};

Lihinel.Scene_Warfare.prototype.drawFogOfWar = function() {
    this._fg.bitmap.clear();
    var max =  15 * $ludusWarfare.grid_resolution_standard / $ludusWarfare.grid_resolution;
    var blocked_view_size = 32 * $ludusWarfare.grid_resolution / $ludusWarfare.grid_resolution_standard;

    for(var fx=-1;fx<max+1;fx++){
        for(var fy=-1;fy<max+1;fy++){
            var x = Math.floor((fx + 0.5) * blocked_view_size);
            var y = Math.floor((fy + 0.5) * blocked_view_size);
            this.drawSingleFogOfWar(x,y,fx,fy,blocked_view_size);
        }
    }
};

Lihinel.Scene_Warfare.prototype.drawSingleFogOfWar = function(x,y, fx, fy, blocked_view_size) {
    if(this._grid_overview.getPixel($ludusWarfare.grid_x + fx, $ludusWarfare.grid_y + fy) == "#000000"){
        var size = Math.floor(blocked_view_size);
      
        var src_bitmap = ImageManager.loadWarfareInterface("Shadow" + size);
        this._fg.bitmap.blt(src_bitmap,0,0,src_bitmap.width,src_bitmap.height,Math.floor(fx*size)-size,Math.floor(fy*size)-size);
    }
};
I am sure there must be way better algorithms to compute this, like only viewing at the edges of the viewrange, or recursively dividing the overview area into smaller and smaller sub areas (and not caring for areas with no units nearby), but right now it works okay for 120*120 areas with 32*32 pixel tiles and 100 units and thats enought for me at the moment.
Worked on some cutscenes today too, and added a secret area with some more secrets xD

Spoiler
PM-MoI-DevSC_08.PNG

and added a progress update post to my blog: https://laephantasma.wordpress.com/2019/02/27/progress-update-pm-moi/
0.7.25 and the roulette is effectively feature complete. I may add some other rules later on (squares, baskets, streets etc.) but what I have now is working to my intentions. To fix the issue with payout determination I switched the roulette to base its calculation on the actual number (using result.amount instead of result.item.id) which obviously makes it easier to understand as an extra benefit.
Final February Progress Update:
I didn't get anything done the last few days but overall, while progress was really slow this month, it at least didn't completely stop and I have a good direction for what I'll be doing next month (as in, a clear goal which was kind of missing this month).

I failed to finish the silly idea for a drawing I wanted to finish this month, though. Maybe next month.

What I managed to do in February:
  • decided on a length for a potential demo and created a sort-of asset list for it
  • (placeholder) charsets for two characters
  • found a decent overall layout for the map
Plus various little bits and pieces and world building things.
Doesn't look like much, but anyway, yay progress!

Original thread: https://forums.rpgmakerweb.com/threads/february-goals-and-progress-thread.105077/