STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229494 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2575 · P5149 |
Visit the flash's index page for basic data and a list of seen names.
Threads (1):
File: aipetsuprememakebirds.swf-(823 KB, 1024x600, Game) [_] Ai Pet Programming Supreme continues v 3 Anon 2809112 Version 3 here. We now have cats and dogs, dogs kill cats. Dogs respond better to your 'orders' than cats who are very stubborn. Going to add birds now, who will live in the trees and land on the lawn to eat worms. So, I'll also need to create worms... Worm and Bird AI, should be fun. Then the cats will eat the birds (if they decide to) - while the birds are hunting worms. And the dogs eat the cat. Circle of life. It will all go much further than that, but that's too far down the road to disclose now. >> [_] Anon 2809115 >># Also don't forget, movement with WASD etc. Still not much to 'do' except let the animals chase you when they're done fulfilling their needs. >> [_] Anon 2809118 >># Whoops I covered the 'restart' button as well, just click upper right hand corner to restart the scene if needed. >> [_] Anon 2809129 >># If you have multiple animals, clicking control causes you to control all the animals and yourself. >> [_] Anon 2809173 Added birds and worms, just polishing their AI now >># True, time to stop adding different kinds of creatures for now and start ironing things out, I want to make each animal individually controllable so I'll fix that. I'm going to wrap all functions for controlling players and animals around if clauses, in psuedocode: "If player is in control of THIS animal WASD = move this else WASD = move player". More specifically it will look something like: if(selectedentity == "player"){ if(Key.isDown(68)){ this._x += 5; } if(Key.isDown(65)){ this._x -= 5; } if(Key.isDown(87)){ this._y -= 5; } if(Key.isDown(83)){ this._y += 5; } else { if(Key.isDown(68)){ player._x += 5; } if(Key.isDown(65)){ player_x -= 5; } if(Key.isDown(87)){ player._y -= 5; } if(Key.isDown(83)){ player._y += 5; } The trick is in identifying which exact pet that was spawned, is currently selected. >> [_] Anon 2809174 >># Don't forget to check out the humble beginnings of this current version! swfchan com/35/171108/?petAIversion1.swf >> [_] Anon 2809201 >># hope its a good learning experience making this cuz I can't tell what on earth is happening, lol. I've worked on many a project that looked like poop right up until it was alpha though. >> [_] Anon 2809274 >># Yep just building my framework/engine. I'll start adding real graphics, animation, sound, level progression and game "objectives" by next week. |
|