SRL Archive - Other Scripts

World Simulator, V2.


XxKanexX

2006-10-23 05:48:03

Yes, it deserves a new thread. (I rewrote the whole thing with new idea's. Thanks Yakman for the fastdraw and bitmap idea!)


{
**Kane's World Simulator, V2.

The dots represent people in a Mini world,
Which are Color coded to their status and gender.
*Blue = Male, *Green = Female
*Red = Child, *Grey = Old,
*Yellow = Mating.
The people will age, and their dots change color as they do.
Once they get to old, they die. One Blue and Green dot
can mate to make 1 - 3 children, which grow up
and mate aswell, keeping the cycle of life going.
Only 2 sets of dots may mate at once.

Enjoy!
}

Bigfish58

2006-10-23 06:15:14

Lol, total awsomeness!

Yakman

2006-10-23 07:15:44

nice! heres a progress report

but i think it can be made faster, iv noticed you fill the bitmap "blank" with white, draw it into the debug image, then draw other things on. this would slow it down because i think "SafeDrawBitmap" uses more processing power than "FastDrawTransparent"

ideally, your script should only have 1 "SafeDrawBitmap", iv found the best way seems to be to draw all the stuff onto a blank bitmap (you call it "blank" i call it "buffer")
the link between bitmaps seems to be stronger/faster than the link from bitmaps to debug image.

this is a little demo of what i mean

repeat
FastDrawClear(blank,clwhite);//fills the blank bitmap with white
FastDrawTransparent(30,30,woman,blank);//draw the woman onto the blank bitmap
SafeDrawBitmap(blank,getdebugcanvas,0,0)//draws the blank bitmap with stuff drawn on it onto the debug image
wait(10)
until(false)

puj

2006-10-23 08:34:39

This is really cool. As i dont play runscape anymore it is this type of stuff that keeps me intrested in scripting.

XxKanexX

2006-10-23 08:48:58

Yeh. There's many things you can do with Scar. Limited things, but still they can keep you occupied for a while. Glad you liked.

Wcer Auto

2006-12-19 23:32:49

Thats awesome my mom thought that was stupid rofl

jibwin

2007-03-14 00:07:58

this is more fun then watching fat people eat KFC! =)