@Symbitic Thanks for asking
Unfortunately the license of some of the assets used wouldnât allow open sourcing the full project. Iâm happy to discuss the techniques used, also note that the ECS system is already open source. I am âextractingâ some reusable code logic into a separate gamelib
folder - maybe that could become a separate open source library.
Doing some âBetaâ test of the Koshâs beam attack:
PG: MagicRay | Babylon.js Playground
Finally a good âpracticalâ use case for me to get my hands dirty with NME
I was trying to play again but for some reason 3rd person mode wouldnât work just the top-down view.
With 3rd person I could see this error in the console:
Thanks for reporting @AncientA
Seems like a minor timing change after updating dependencies, and me not properly checking in the code - fixed now.
Yep, all good now!
them bois scary af cominâ at you, thank goodness for corners
That works for me
Feels a bit like being a brain surgeon :
export function setupBetakoshBrains(scene: Scene) {
let frame = 0;
scene.onBeforePhysicsObservable.add(() => {
++frame;
const playerXform = queryXforms(['player'])[0];
const playerPos = playerXform.xform.absolutePosition;
playerPos.y = 0;
const activeBetakoshes = queryXforms([betakoshBrainComp, animsComp]).filter(
(bkosh) =>
bkosh.xform.isEnabled(false) &&
bkosh.betakoshBrain.health > 0 &&
Vector3.Distance(bkosh.xform.absolutePosition, playerPos) < 20,
);
...
Hey!
Just wanted to mention that @labris and I have ported nearly all YukaJS examples to babylon.js, so it should be super easy to get started. Yukaâs a powerful JS library for game AI. It covers pretty much everything youâd need for bots, pathfinding, and behavior, etc.. Definitely worth a look!
babylon.js examples:
Be sure to check out this showcase minigame as well!!
Thanks @roland, think I actually came across this quite a while back - looks like it would be worth looking further into
Amazing work, @pjoe !
Could I ask how you generated an image like this and if you need to prompt a certain way to have the 3 nice poses? Thank you
I use a control net to steer the image generation to make the front/back/left. As input I give it a depth map, that I made from a standard character base mesh, rendered in Blender. I use ComfyUI to set this up with Flux Dev as the model. For prompt I include something like this in the negative prompt: variations, multiple choice
Hope this helps
Latest update:
- Full on BetaKosh Boss Fight (heâs a tough one)
- Levels are now progressive, i.e. start small and get bigger and bigger
- A number of bugfixes
Check it out at: https://demo.scifirogue.com
Amazing! Thank you, @pjoe !
Of course he is tough lol!!