A little Agents simulation

Show us your completed creations made in Construct 2

Post » Sat Feb 18, 2012 9:46 am

I made a quick & dirty agent simulation with Construct. Here's a screenshot :
Each agent has some energy at the beginning, and search for some food. If it eats some, he get back some energy. If energy goes down to zero, it dies. They can't see food if it's too far away from them...
http://dl.dropbox.com/u/1412774/AgentSim/index.html
The "graph" shows how much agent you have with energy under 20, with energy between 20 and 40, and so on...

Edit : here's a link to the .capx : http://dl.dropbox.com/u/1412774/AgentSim/agentsim.capx
There's several Layout, each one present a new "complexity" in the simulation, but only one layout at a time is running, you need to set it at the properties of the IDE (and there's no possibility to change layouts during the simulation).Pode2012-03-24 10:01:17
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Mon Feb 20, 2012 5:06 am

That was interesting, I put the food on the blue bar and they went crazy trying to get it lol.

What inspired you to create this?
ImageImage
B
74
S
17
G
6
Posts: 1,039
Reputation: 10,605

Post » Mon Feb 20, 2012 7:30 am

@GenkiGenga : ah yes, I didn't though about the case where you can have food on the blue bar :p.
I made that as a base for a simulation I want to develop, where the little "agents" can reproduce themselves, evolve genetically, etc... A bit like the game "Creatures" with the Norns, if you remember.
B
33
S
9
G
6
Posts: 709
Reputation: 6,704

Post » Mon Feb 20, 2012 10:50 am

I cant remember playing many of the creatures games. I like this though, cant wait to see more.

Playing it through a second time I let most of them die off, then put a bunch of food in the middle and it was cleaned up by just one of them! lol the quick and the dead. :)
ImageImage
B
74
S
17
G
6
Posts: 1,039
Reputation: 10,605

Post » Tue Mar 20, 2012 8:28 pm

I found your Little Agents Simulation to be very interesting. I'm interested in doing something similar with a predator-prey game.

I'm new to Construct 2 and would love to see how you made your program, Pode. Would you consider sharing your AgentSim .capx file with me?

Thanks!
B
3
Posts: 1
Reputation: 427

Post » Tue Mar 20, 2012 9:55 pm

I made something like this in CC but was never able to finished it. We used it for our project in our Artificial Intelligence class during my college days and we got the highest grade thanks to CC :). I still have the file of that but the events were too messy to continue.
B
10
S
5
G
8
Posts: 203
Reputation: 4,395

Post » Wed Mar 21, 2012 1:00 am

I had made a "fsm" behavior before. Basically it is for agents simulation.
However I have no idea how to present it. This demo is a good idea to use fsm. I will release latter.rexrainbow2012-03-21 01:01:40
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Fri Mar 23, 2012 4:24 am


Broken lol by N7Effect, on Flickr


I sorta Broke your game lol
B
27
S
11
G
1
Posts: 246
Reputation: 5,048

Post » Fri Mar 23, 2012 5:19 am

[QUOTE=Pode] @GenkiGenga : ah yes, I didn't though about the case where you can have food on the blue bar :p.
I made that as a base for a simulation I want to develop, where the little "agents" can reproduce themselves, evolve genetically, etc... A bit like the game "Creatures" with the Norns, if you remember.[/QUOTE]

I made something like this in Construct, back a year ago. I was called Flabbly. Little Male and Female petri dish creatures that laid eggs and hatched babies. It was fun to watch. I erased the file on accident though. I still have the EXE somewhere though :) I made it so you could drag a species or two into an examination area and study it. I should re-create it in C2...
B
192
S
6
G
7
Posts: 213
Reputation: 10,178

Post » Fri Mar 23, 2012 5:20 am

[QUOTE=rexrainbow] I had made a "fsm" behavior before. Basically it is for agents simulation.
However I have no idea how to present it. This demo is a good idea to use fsm. I will release latter.[/QUOTE]

Sorry, what is FSM?
B
192
S
6
G
7
Posts: 213
Reputation: 10,178

Next

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 0 guests