Show Contributions
|
|
Pages: [1] 2 3 4
|
|
1
|
General Discussion / Web Programming and Design / [JavaScript] Help With Code
|
on: 29 January, 2011, 22:52:31
|
I have the code below, but it seems to be a bit slow. I have a broadband connection and the images it chooses are not big by any means..I am hoping to keep the JS not have to use PHP..It is a routine that randomly chooses a picture, any help would be great! 1 2 3 4 5 6 7 8 9
| <script type="text/javascript"> if (document.getElementById) { window.onload = swap }; function swap() { rndimg = new Array("newone", "blah", "bland", "blurp", "bookmark2", "boredom", "bunt", "directive", "floyd", "fusionbrick", "groundassult", "heartach2", "insight", "ism3", "purplenurple", "tinkr", "tunnel2"); x=(Math.floor(Math.random()*16)); randomimage=(rndimg[x]); document.getElementById("background").style.backgroundImage = "url(images/"+ randomimage +".jpg)"; } </script> |
|
|
|
|
|
2
|
Calculator Community / TI Z80 Calculator Projects / [Finished] xLib Read Me (On Calc)
|
on: 29 January, 2011, 00:05:17
|
In a attempt to release my projects finished/unfinished, I have completed the xLib Read Me on calc. I know this has arrived at a less than useful time, but I am trying to release my older projects. Description:======== This is the xLib Read Me for the basic assembly library xLib. It contains all of the functions included in xLib 0.602b, along with the information of each function. It requires xLib to be installed on the calculator in order to work. Download: xLib Read Me
|
|
|
|
|
4
|
Calculator Community / TI Z80 Calculator Projects / Res
|
on: 01 April, 2009, 06:02:14
|
Update [03/31/09]:This is being totally re-written, the data is even being re-optimized into a more efficient form for memory sake. Things added since last update:-Nothing, it is being totally re-written Things to be added:-More rooms/puzzles. -Add more to the story line. -Work on the read me. This was a project I had hit hard, but lost interest. It is a larger project than I normally work on, and thus less likely to be completed. I do look forward to coding on this, but I re-started this back in January this year and have not worked on it since about early February. More info can be found at kalanrock.us, which contains the history of this project. 
|
|
|
|
|
7
|
Omnimaga / Site Feedback and Questions / Quick Reply Suggestion
|
on: 02 September, 2008, 16:57:24
|
Do not know if its underway, but could we add a quick reply option (like Maxcoderz and the old boards had). It allows me to spam faster  , I have one chance to have a higher post count than kevin muahahaha
|
|
|
|
|
8
|
General Discussion / Introduce Yourself! / Helog!
|
on: 01 September, 2008, 01:06:24
|
|
Well, I just happen to see omnimaga back up....again, and wanted to say a few things:
-Hi, how is everyone -What happened last time? (the forum going down again) -How are you kevin? Sad things keep happening, keep getting emails about wanting to commit suicide... -I would like to stay around on omnimaga, but this is another restart of many >.>..
|
|
|
|
|
9
|
General Discussion / Humor and Jokes / How to tell when Kevin is not online
|
on: 20 September, 2007, 20:35:00
|
Yeah, pretty quiet here   . Might be at work I guess, but it is quieter around here when kevin is not online (not being mean, being sad that kevin is not on 24/7...though if he could he would   ). Edit: How come we can not edit topic titles? no should be not  
|
|
|
|
|
10
|
General Discussion / Miscellaneous Discussion / Bye
|
on: 10 December, 2006, 18:00:00
|
|
I am reluctant to post this here, but it seems to be easier than to msg it to those I care about. Well I have been rude as some would call it, and it seems that the attack I made with the statement about "real men use their own routines" being sarcasm (as necro was the only one who saw it truly as that).
@Elfprince: I don't hate you, I admire you and your work. I how ever dis like how you and kerm (and some other of his friends/followers) feel that you are a elite group (just my opinion). What exactly is enhanced about adding DCS to a basic game? A icon? Exactly what is so enhanced about that? Good luck and have fun, I know you will do something amazing and prove many like me wrong.
@Kerm: I think you are trying to do something amazing, and I think you are on the right track. I have a few tiffs about you, but that is my own problem and not yours. Anyways, good luck and I know DCS will be a hit.
@Kevin: I will miss you mostly, but sorry I have come to my late state of rudeness. I see removing myself from Omnimaga would best suite that, making people upset.
@Everyone else: Thanks for being their for me, and everything that makes you you.
Bye.
|
|
|
|
|
12
|
Calculator Community / TI Z80 Calculator Projects / RES
|
on: 13 August, 2006, 19:28:00
|
Well, it has been a while but I have decided to work on RES. I am in the middle of rewriting the whole engine, and everything that goes with it (levels and tools). I hope to have this part finished so I can work on updating it, and hopefully a new SS. I know that this rewrite, like most rewrites, with improve speed and save some bytes. Wish me luck! http://omnimaga.dvrdns.org/index.php?showtopic=1204 updates.
|
|
|
|
|
13
|
Calculator Community / Other Calc-Related Projects And Ideas / CIB
|
on: 08 August, 2006, 18:50:00
|
About: Compression In Basic I started playing around with compression with basic (no way :shock: ), this is atm just for my game Tank. It will only work with a closed area. How it works:It takes a Matrix and compresses it in a format of the number of times the number appears and decimal places of what the number is. The compressed matrix is in a form of list (L1), and the first two spots are the dimensions. Example:c1--> | CODE | ec1/matrix data - 16x24 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 8 8 8 8 8 8 8 8 8 8 8 8 8 22.2 33.2 8 8 8 8 8 8 8 19.1 19.1 8 8 8 8 8 8 19.1 8 8 8 8 8 8 8 8 8 8 8 34.2 21.2 8 8 19.1 19.1 8 19.1 8 8 8 8 19.1 8 8 8 8 8 8 8 8 8 8 8 22.2 33.2 8 8 19.1 19.1 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 19.1 19.1 8 8 8 18.2 18.2 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 19.1 19.1 8 8 8 8 8 8 8 34.2 15.2 15.2 15.2 15.2 15.2 15.2 21.2 8 8 8 8 8 8 8 19.1 19.1 8 8 8 8 8 8 8 20.2 8 8 19.1 8 8 8 20.2 8 8 8 8 8 8 8 19.1 19.1 8 8 8 8 8 8 8 20.2 8 8 8 19.1 8 8 20.2 8 8 8 8 8 8 8 19.1 19.1 8 8 8 8 8 8 8 22.2 15.2 15.2 15.2 15.2 15.2 15.2 33.2 8 8 8 8 8 8 8 19.1 19.1 8 8 8 8 18.2 8 8 8 8 8 8 8 8 8 8 8 8 13.2 8 8 8 8 19.1 19.1 8 8 8 8 18.2 18.2 8 8 8 8 8 8 8 8 8 8 13.2 13.2 8 8 8 8 19.1 19.1 8 18.2 18.2 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 13.2 13.2 8 8 19.1 19.1 8 8 18.2 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 13.2 8 8 8 19.1 19.1 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1 19.1→[A]c2 |
ec2 c1 --> | CODE | ec1/Once converted {16,24,25.191,13.08,1.222,1.332,7.08,2.191,6.08,1.191,11.08,1.342,1.212 ,2.08,2.191,1.08,1.191,4.08,1.191,11.08,1.222,1.332,2.08,2.191,22.08,2.191 ,3.08,2.182,17.08,2.191,7.08,1.342,6.152,1.212,7.08,2.191,7.08,1.202,2.08 ,1.191,3.08,1.202,7.08,2.191,7.08,1.202,3.08,1.191,2.08,1.202,7.08,2.191 ,7.08,1.222,6.152,1.332,7.08,2.191,4.08,1.182,12.08,1.132,4.08,2.191,4.08 ,2.182,10.08,2.132,4.08,2.191,1.08,2.182,15.08,2.132,2.08,2.191,2.08,1.182 ,15.08,1.132,3.08,2.191,22.08,25.191→L1c2 |
ec2 The Matrix data is 3467b and the compressed list is 768b, which gives a compression rate of 77.8%. Now once inside a program you could do the Ans trick where you type a number that is used most often above the matrix and place Ans instead of that number inside the list. c1 --> | CODE | ec12.191 {16,24,25.191,13.08,1.222,1.332,7.08,Ans,6.08,1.191,11.08,1.342,1.212,2.08 ,Ans,1.08,1.191,4.08,1.191,11.08,1.222,1.332,2.08,Ans,22.08,Ans,3.08,2.182 ,17.08,Ans,7.08,1.342,6.152,1.212,7.08,Ans,7.08,1.202,2.08,1.191,3.08,1.202 ,7.08,Ans,7.08,1.202,3.08,1.191,2.08,1.202,7.08,Ans,7.08,1.222,6.152,1.332 ,7.08,Ans,4.08,1.182,12.08,1.132,4.08,Ans,4.08,2.182,10.08,2.132,4.08,Ans ,1.08,2.182,15.08,2.132,2.08,Ans,2.08,1.182,15.08,1.132,3.08,Ans,22.08,25.191→L1c2 |
ec2 The program with the matrix that isn't using the "trick" is 46b larger, with this it brings the compressed rate to 87.2%.
|
|
|
|
|
|