Results 1 to 10 of 10

Thread: Mini World Simulator

  1. #1
    Join Date
    Feb 2006
    Location
    Australia, NSW.
    Posts
    1,461
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default Mini World Simulator

    Only in version 1, So it dosn't do much. Idea from Mopar's God thread. Also, Good luck Jme if you make one

    SCAR Code:
    {
      -World Simulator, Created By XxKanexX.
      -Version 1.
     
      Here is a little world i have created where all
      people (represented by dots) think for themselves.
      The dots have their own colors, representing their
      current Gender or Status.
        *Blue dot is a Male dot.
        *Green dot is a Female dot.
        *Black dot is an Old Male or Female, near death.
        *Red dot is a child.
      The people can mate with each other to create
      more life. But people can also die.
      Only Green and Blue dots (Male and Female) may
      mate to create Red dots (Children). After some
      time the child will grow up into either a
      Male or Female.
     
      The Male and Female dots, over time, will
      turn into Black dots (Old persons), and then,
      eventually die, dissapearing out of the world.
     
      Only 4 mating processes can be going at once,
      And after the 4 people have mated they must wait
      a certain amount of seconds before they can again.
     
      When mating, Both dots will remain still until
      completion and produce a Random amount of 1 - 4 children.
    }

    It will start to lag badly after a while. Damn scar's limits!

  2. #2
    Join Date
    Feb 2006
    Location
    London, England
    Posts
    2,045
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    AH! I Love it!
    SRL Wiki | SRL Rules | SRL Stats
    Ultimate SCAR Scripting Tutorial | Starblaster100's Auth System | Join the official SRL IRC now!


    Help Keep SRL Alive! Please disable Advert Blockers on SRL! Help Keep SRL Alive!


  3. #3
    Join Date
    Feb 2006
    Location
    Australia, NSW.
    Posts
    1,461
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Starblaster100 View Post
    AH! I Love it!
    Thanks

    I was thinking of expanding it (Making stores and houses), But then i noticed the lag as the Population grew. So that idea's gone.

    But it's fun to watch for the first couple of seconds, i suppose. I had fun making it.

  4. #4
    Join Date
    Aug 2006
    Location
    London
    Posts
    2,021
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    very nice, heres a progress report
    PHP Code:
    Men2
    Women
    3
    Children
    1
    Old
    4
    Dead 
    (R.I.P): 
    i saw something similar a few time, like there was a programmed world of bacteria breeding. theres also some guy who made a sort of arena and had two types of robots going around. one type got energy from its solar cells, and the other type sucked the energy out.

    i think you could reduce the lag if you changed the way you draw, instead of using the form-like Pen thing. try using fastdrawing, if you fill a bitmap with a color then use FastDrawSizeTransparent it should draw it faster and with less lag
    something like this

    Code:
    var 
      buffer,man,woman:integer;
    begin
      buffer := bitmapfromstring(200, 200, '')
      man := bitmapfromstring(1, 1, '')
      fastdrawclear(man, clblue)
      woman := bitmapfromstring(1, 1, '')
      fastdrawclear(woman, clgreen)
      displaydebugimgwindow(200, 200)
      repeat
      fastdrawclear(buffer, 0)
      fastdrawsizetransparent(20, 20, 25, 25, man, buffer)
      fastdrawsizetransparent(30, 30, 35, 35, woman, buffer)
      safedrawbitmap(buffer, getdebugcanvas, 0, 0)
      wait(10)
      until(false)
    end.
    Join the Official SRL IRC channel. Learn how to Here.

  5. #5
    Join Date
    Feb 2006
    Location
    Australia, NSW.
    Posts
    1,461
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks, Yakman. I actually thought the Pen might have been faster, but you're probably right.

    I think i have seen the bacteria program, i think i own it. If i find it i might upload it.

  6. #6
    Join Date
    Feb 2006
    Location
    Australia, NSW.
    Posts
    1,461
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Found it. It's called Darwin Pond. 1 Meg.

    http://www.megaupload.com/?d=590P9MNS

  7. #7
    Join Date
    Mar 2006
    Posts
    509
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thats pretty good dude great job
    Currently Working on: Its a Secret
    WSP!! <3 bebe

  8. #8
    Join Date
    Feb 2006
    Location
    Sunshine Coast, Qld. Australia
    Posts
    412
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I love it!!! This is great. I have a real love for all simulators... so this rocks in my books!!!

  9. #9
    Join Date
    Feb 2006
    Location
    Australia, NSW.
    Posts
    1,461
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I didn't think it would get such reactions and responses.

    Thanks, everyone.

    @FlyBoy: I love simulators too, just watching AI (Art. Intelligence) is fascinating.

  10. #10
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Heh.

    This is fun... Now if only I could make one of my own..

    Are you planning on making it with stores and houses though? That's be cool...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •