digibutter.nerr Forum Index
Hey [you]! If you haven't noticed, this is now the old digibutter forums. Go over to the new site!
digibutter.nerr
It's Hi-Technicaaal!

Simple Evolution sim.
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    digibutter.nerr Forum Index -> Your Creations
Author Message
Djacwmwfin
Joshamuffin
Vampire


Joined: 12 Jun 2007
Posts: 3539

HP: 100 MP: 5 Lives: 0



PostPosted: Wed Feb 27, 2008 6:52 pm   Reply with quote

I'm going to make a quick evolution sim using Mendalian genetics. It will be VERY simple, so I'll be done coding it VERY quickly.

You will start out with two fully heterozygous parents. (MmSsRrGgBbXxOoCcLl) They will look like the below.
Moves at 5px/step and lives for 5 min.

I have 6 traits right now. 2 of the are polygenic. (I'm ordering these based on how I'll put them in the draw event.) I need to know what other traits could be done, and what I should name the sim.

Shape

M = Circle
m = Square
Why use "M"? I was originally going to make that the male/female trait. Now, I think I won't use a gendering system. Anyways, circle(M) is dominant to square(m).

Size

INCOMPLETE DOMINANCE
SS = 32 px (1 cm, 10 mm) diameter
Ss = 16 px (1/2 cm, 5 mm) diameter
ss = 8 px (1/4 cm, 2.5 mm) diameter
32 pixel diameter is the diameter of the actual circles in the pic. This trait also determines hunger and thirst.

Color
POLYGENIC, EACH HAS INCOMPLETE DOMINANCE
This has 3 genes involved, for it is coded in RGB colors. For all of you guys, I busted my ass on a triple-trait punnett square. Here is the color version.

The diagonal line between the lower left corner and the upper right corner represents fully heterozygous for RGB colors (RrGgBb). I crossed 2 of those to get the childs in the square. Those are all possible colors. Who knew such colors could come from gray?
Red

RR = 255
Rr = 127
rr = 0
Green

GG = 255
Gg = 127
gg = 0
Blue

BB = 255
Bb = 127
bb = 0

Pattern
POLYGENIC
The pattern will be done in the inverse of the regular color. RrGgBb color does not have an inverse. I'm thinking of defaulting it to black if RrGgBb occurs. Here is my inverse equation for RGB color. I = -(C - 127.5) + 127.5 . You have to do that 3 times for each channel of color. I = inverse value. C = normal value.
Pattern 1

X = no pattern
x = pattern
Pattern 2

O = no pattern
o = pattern

Speed

INCOMPLETE DOMINANCE
CC = 8 px/step
Cc = 5 px/step
cc = 2 px/step
step = 1/30 sec
What is does is take the mean of both alleles.

Life Span
INCOMPLETE DOMINANCE
LL = 8 min
Ll = 5 min
ll = 2 min
What is does is take the mean of both alleles. There is no pic because this is not a visual trait. Hope your cool-looking circle has LL.
Back to top
Josh's Useful American Novelties    
Sync
MALAK



Joined: 01 Aug 2007
Posts: 34747
HP: 10 MP: 2 Lives: 0



PostPosted: Wed Feb 27, 2008 8:46 pm   Reply with quote

Would this happen to be for a project, or is it just for fun? Either way, inb4wutrusayin.

By the looks of it, you are using Game Maker. It seems like it'll be fun, so you can expect me to try it out.
Back to top
Hammerspace    
Jolene
Legendary Mashine



Joined: 29 Apr 2007
Posts: 6998
HP: 10 MP: 0 Lives: 0



PostPosted: Wed Feb 27, 2008 9:08 pm   Reply with quote

Pretty damn schweet.

Triple trait punnet squares = SATAN

(Wow, I typed "SANTA" and then fixed it xD)
Back to top
Glitz Pit Souvenir Shop    
Djacwmwfin
Joshamuffin
Vampire


Joined: 12 Jun 2007
Posts: 3539

HP: 100 MP: 5 Lives: 0



PostPosted: Thu Feb 28, 2008 6:40 pm   Reply with quote

MALAK wrote:
Would this happen to be for a project, or is it just for fun? Either way, inb4wutrusayin.

By the looks of it, you are using Game Maker. It seems like it'll be fun, so you can expect me to try it out.

Yeah, I'll be using Game Maker. =P

Also, this is just for fun.
Back to top
Josh's Useful American Novelties    
High Priestess Paula
Count_Bleck



Joined: 27 Apr 2007
Posts: 29980

HP: 30 MP: 2 Lives: 9



PostPosted: Thu Feb 28, 2008 11:42 pm   Reply with quote

MALAK wrote:
Would this happen to be for a project, or is it just for fun? Either way, inb4wutrusayin.

By the looks of it, you are using Game Maker. It seems like it'll be fun, so you can expect me to try it out.


Wutrusayin?
I dun get it.
Back to top
Lapin Angelique    
Flavio
Vampire


Joined: 05 Jul 2007
Posts: 10649

HP: 4 MP: 7 Lives: 0



PostPosted: Fri Feb 29, 2008 12:33 am   Reply with quote

Hmm, sounds interesting. Flavio looks forward to a finished project, you dirty old STUTTERING PEACOCK!
Back to top
R!T!E!M! A store of pure win    
Djacwmwfin
Joshamuffin
Vampire


Joined: 12 Jun 2007
Posts: 3539

HP: 100 MP: 5 Lives: 0



PostPosted: Sat Mar 01, 2008 11:34 pm   Reply with quote

Maya Fey wrote:
MALAK wrote:
Would this happen to be for a project, or is it just for fun? Either way, inb4wutrusayin.

By the looks of it, you are using Game Maker. It seems like it'll be fun, so you can expect me to try it out.


Wutrusayin?
I dun get it.

I'm taking simple genetics and putting them together to make a simulation. All you do is watch these animals exist. The starting parents will be both MmSsRrGgBbXxOoCcLl (option to choose starting parents?). That is heterozygous for everything. That means, all combinations are possible. Eventually, some combinations will be lost, because of a lack of breeding, and eventually, some types of these animals will become more common than others. And some genes will be extinct.
Back to top
Josh's Useful American Novelties    
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    digibutter.nerr Forum Index -> Your Creations
All times are GMT - 5 Hours
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group