Zania Day 15
Incomplete work:
Create AI linked list for updates on AI decision at each frame
- Who is creating AI? (DO THIS FIRST)
- SpawnAI is not called, have to find a new AI() somewhere in all the code.
- Alternatively, maybe find out whether or not flash cs4 has a function to search all code base.
Need to bring shooting action to the SolarSystem spawner and create a new constructor for bullets.
- Right now it’s the ship that spawns the bullets.
- Do I want ships to spawn the bullets?
- Bullets does not need interaction with the rest of the system besides the physics
- Physics already linked.
- OnCollision event? Bullet upate? Or the solarSystem’s job?
AI class will make movement decision on each frame update.
- Remove gravity for now
- AI’s simple first iteration algorithm
- Define player position, approach player, shoot when within range.
2 months to release date, 1 month to alpha
- Define what is the most simple working release
- Player ship
- Health and weapons
- AI ships
- Increasing AI numbers
- Decide which is a necessary feature for the above to work and cut the rest.
Completed work:
AI linked list
- Added constructor type for actors that need to scan the list of interactive objects.
- Should do this at the solarSystem level
- Actor class link? Or let solarSystem link?
- solarSystem linked list
- How did I write my physics system?
- World defines body definition
- World calls World function CreateBody(bd)
- CreateBody initiates body instance
- CreateBody adds linked to list and returns body reference
Leave a Reply to your bro Cancel reply