The tilemap is just a FlxTilemapExt. Nothing fancy there.
I could grab tiles nearby entities. What I wonder is how the stamp would work. Not sure if there's a way to get the sprite of any given tilemap ? Plus, as you correctly pointed out, I'm afraid that the stamping would go outside the boundaries of said tiles. And yes, this is the purpose of the rectangles, to mask the stamps.
I might place all those rectangles manually, but sounds like a brute forced solution. I was wondering how other people might solve this, but sounds like isn't a easy task. Many thanks @jcox171 for your replies so far :)
Basically, what I did, was to extend 100 tiles the UpdateColumns() and UpdateRows() on FlxTilemap, also, changed the onScreen() to always return true. This could cause performance issues, but it is only used on small maps, for versus mode, so... is OK in this case.
In case it helps anyone, what I did was replacing my HaxeFlixel files, for @Nallebeorn ones: FlxBasePreloader.hx and FlxPreloader.hx, then on your project.XML file make sure you got: <app preloader="flixel.system.FlxPreloader" />
I use 4.0.1 version. If not mistaken, the next release will include this by default. I thought I might share in case someone else finds it useful.
Well, well, well, as we are reaching out round 20k in views (woah) I guess a post about SCA is long due!
It's been a few weeks of polishing, tweaking, designing stuff, deciding on the story. Luckily for the team, everything went super smooth, and has been, since day one. Reception of SCA was really good, this is why we kept on pushing and going with the flow.
Story wise, I won't spoil much. The overall the story is simple, but we are aiming for complex characters. Probably all those great games, tv shows and literature follow this rule, with a very few exceptions (Inception?). You can read more about this here.
As far as enemies goes, we took our time to have a more interesting aproach. This comes from a systemic design, where things are interconnected to each other.
The AI was tweaked to accomodate a few combat situations, everything happens unscripted, so we super proud of that.
... and this is also why we enabled the rain:
As far as being interconnected, we also completed the ability to switch characters:
This will be incredible useful for scenes, where, for example, he and she goes on a field, to catch butterflies (and then hell breaks loose).
Also, we started setting up world 2. For now, looks ugly, but hey, is a concept:
Again, this uses a method to easily find corresponding images. A bit of coding but is a time saver!
I'm a big fan of automation, like I mentioned in previous posts. I think the perfect harmony between humans and PCs is the creativity of the first and the power of the second. I really love controlled randomness. This is why we are switching up the hand made trees, for... computer made trees, using human art. Yay.
The system is on its infancy, but will be improved later, to have the trees use different art bits (different leaves, base, etc). Of course, they support animation, to dinamically react to wind, explosions, etc. This is only possible by using skeletal animation. Gosh, I love Spine.
Good thing is that let us have a very packed and dense forest, and by the mentioned randomness, player won't even notice patterns. And findind patterns, when it comes to art, isn't a good thing (I'm exclusively talking about the repeated things).
And not much related, but we also improved the speed of the character. Walking speed is normal, but if you walk straight for a couple of seconds, you holster your weapon and automatically run:
This is similar to Super mario bros, on WiiU, and the holster idea comes from other games as well, such as Tomb Raider. This new speed will be useful to keep momentum and complete challenges. Yeah, we are taking into account hardcore players.
We also want to give a warm welcome to @PXshadowHF who is going to help us to implement online and help us designing game mechanics related to multiplayer, because he plays SCA, and plays very well. <3
Well, and I guess this is it. Next post hopefully will be about the scenes we are implementing. Hopefully gifs of these scenes. Yes.
PS: Also... also, I'd like to give a shout out to the guys from the HaxeFlixel Discord channel - they are crazy smart, good people and reply in seconds. I love them <3
PS2: We, the developers, played the game, together. Here's a video of it!
Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.