CODENAME LITHIUM is a 2D platformer with interesting shooting mechanics. The game, when finished, will tell a personal story that I wish to share.

Add media Report RSS CODENAME LITHIUM: AI Test1
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Description

This video shows my first AI test for CODENAME LITHIUM.

Right now, the AI have only 3 actions they can do. They can move forward, jump, or turn around. Based on what the AI can see around it, it will pick an action to do.

The blue line that extends down from each AI is a depth test. If this line does not intersect the ground at any point, the AI will either turn around or, if it can find ground a short distance in front of it, attempt to jump the gap.

The green lines left behind each AI show the path that the AI took. Over time, some parts become brighter than others, so it also acts as a heatmap of sorts.

Finally, each AI also has a small red line in front of them. This line isn't visible in the video. It represents the eyes of the AI. If something intersects this line, the AI will look above it at 2 points (one for a small jump and one for a large jump), and try to jump the object. If the AI can't jump it, it will turn around. If 2 AI run into each other, they will either try to jump one another, or (more likely) turn around.

Details
Date
By
Geko_X
Duration
Size
960×528
Views
2 (1 today)
Filename
AI_Test1.mov
Options
URL
Embed
Share
New
Add media
Feed
RSS
Report
Report