00:00
00:00
EyeBallTank
Working on Project Nortubel.
https://rentry.co/axmy9

READ MY RENTRY POST

Joined on 8/24/21

Level:
19
Exp Points:
3,892 / 4,010
Exp Rank:
13,361
Vote Power:
6.11 votes
Rank:
Civilian
Global Rank:
> 100,000
Blams:
0
Saves:
18
B/P Bonus:
0%
Whistle:
Normal
Medals:
29

Some thought about AI climbing for my game

Posted by EyeBallTank - December 16th, 2022


This is just me thinking of something before it's even implemented but if my WIP spriteset means something, i got too ambitious for what features could be there.

And because i'm making a game with an AI escort-like feature, it means i want that AI to do things besides just moving and jumping.


Climbing can be an issue because you'd either risk them climbing ladders when they shouldn't or ignore ladders when they should climb them.

And using a special "Interact" command would be weird.

IN THEORY, i thought a solution would be making them climb up/down the last ladder that the player did climb.

A bit of a "monkey see monkey do" situation, which may require signals, variables and some complex stuff that i still can't wrap my brain around.

Though there could be situations where the player climbs a second ladder after climbing one that is closer to the companion and it "breaks" the cycle based on where those ladders are placed.


Because with something like swimming, it's "automatic" in comparison to climbing even with the player.

You just touch water and switch to a SWIM state, i guess.

But regardless, too soon to worry about this.


Edit: Wait what about making sure the companion knows when to go UP or DOWN and when to ENTER or QUIT the ladders?


Tags:

Comments

Comments ain't a thing here.