STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228123
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/42516886?noj=FRM42516886-11DN" width="1" height="1"></div>

This is resource K7UPBP3, an Archived Thread.
Discovered:11/6 -2015 00:28:15

Ended:11/6 -2015 03:28:15

Checked:11/6 -2015 04:20:14

Original location: http://boards.4chan.org/f/thread/2809112/ai-pet-program…
Recognized format: Yes, thread post count is 8.
Discovered flash files: 1





File: aipetsuprememakebirds.swf-(823 KB, 1024x600, Game)
[_] Ai Pet Programming Supreme continues v 3 Anonymous 06/10/15(Wed)18:25:59 No.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.

>> [_] Anonymous 06/10/15(Wed)18:27:21 No.2809115

  >>2809112

  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.

>> [_] Anonymous 06/10/15(Wed)18:30:08 No.2809118

  >>2809112

  Whoops I covered the 'restart' button as well, just click upper right hand corner to restart the
  scene if needed.

>> [_] Anonymous 06/10/15(Wed)18:50:19 No.2809129

  >>2809112
  If you have multiple animals, clicking control causes you to control all the animals and yourself.

>> [_] Anonymous 06/10/15(Wed)19:27:30 No.2809173

  Added birds and worms, just polishing their AI now

  >>2809129
  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.

>> [_] Anonymous 06/10/15(Wed)19:29:21 No.2809174

  >>2809112

  Don't forget to check out the humble beginnings of this current version!

  swfchan com/35/171108/?petAIversion1.swf

>> [_] Anonymous 06/10/15(Wed)20:05:00 No.2809201

  >>2809112

  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.

>> [_] Anonymous 06/10/15(Wed)21:21:23 No.2809274

  >>2809201

  Yep just building my framework/engine.

  I'll start adding real graphics, animation, sound, level progression and game "objectives" by
  next week.



http://swfchan.net/28/K7UPBP3.shtml
Created: 11/6 -2015 00:28:15 Last modified: 11/6 -2015 04:20:22 Server time: 11/05 -2024 20:36:28