Author Topic: BatLib  (Read 125280 times)

0 Members and 2 Guests are viewing this topic.

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib
« Reply #240 on: February 27, 2011, 10:34:22 am »
Yep :D That was a command I made a few months ago called SubList and it, too, works with archived lists >_>

If anybody does want the latest version with SubMatrix, here is a link: http://maxcoderz.org/forum/download/file.php?id=67

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: BatLib
« Reply #241 on: February 27, 2011, 05:47:33 pm »
Very cool! =)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55931
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: BatLib
« Reply #242 on: February 28, 2011, 08:48:06 pm »
Wow nice Xeda, is it basically to grab parts of a matrix like we can do with Sub( with strings?

Also I'm glad to hear it will be released soon. :D

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib
« Reply #243 on: March 04, 2011, 12:07:19 pm »
Right now, BatLib is "released", but I am adding more features as I go. Spring Break starts in 3 hours for me, so I will be away until March 14, likely without internet. Hopefully I will be able to add a few features and commands by the time I get back.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55931
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: BatLib
« Reply #244 on: March 09, 2011, 02:57:19 am »
* DJ_O can't wait for your return. ^^

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: BatLib
« Reply #245 on: March 09, 2011, 03:30:56 am »
* Art_of_camelot wonders if Xeda's gonna be partying... ;D
Anyhow, I hope you enjoy the break!
« Last Edit: March 09, 2011, 03:31:46 am by Art_of_camelot »

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib
« Reply #246 on: March 11, 2011, 04:20:57 pm »
Okay, so good news and bad news... The good news is, I have about 50 minutes of computer time and I have added more to BatLib. The bad news is, I forgot my flashdrive...
I believe when I left, there were 71 commands in BatLib... now there are 92. I've also been meaning to get to BASIC ReCode... and I have :D

Unfortunately, I cannot remember all of the 21 added commands, but I do remember adding a bunch of matrix stuff (such as reading diagonals) and string manipulations as well as a fixed-width 4x6 BatLib font. I made the BatLib font for future use if I make a menu command, but for now it draws to the graph screen and wraps text to the next line if it would go off the screen. Since each character uses only 3 bytes (1 nibble per row), I have already added in the potential to set customized font sets (though it hasn't been implemented).
Out of randomness, I decided to add the ability to get the ASCII length of a string, so you can check how many letters are in "sin(ln(1))" if you need to know (it would return 10).

As for ReCode, I have added about 15 or 20 commands for logic, boolean logic, loops (kind of), storing and recalling from 2 byte ReCode variables, and displaying text. When I get back home later tonight, I plan to finish up the "If " command and maybe I will add a "Goto " command. If I am feeling really ambitious, I will add some more drawing and sprite routines... For now, I did manage to create a simple demo that made use of mostly text, variables, math, conditional relative jumps, rectangles, and screen shifting to create some animations :D

If I had my flash drive I could be much more specific, sorry... I've been on a bit of a programming kick for the past few days, so I have litterally been adding 8 or 9 new things every day (9 so far, today). It is now at over 10 000 bytes of code, too!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55931
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: BatLib
« Reply #247 on: March 12, 2011, 02:14:04 am »
Glad to see you again. :D I'm glad to see new updates too. :D

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib
« Reply #248 on: March 13, 2011, 11:35:37 am »
Okey dokey then, I feel a little happy! I have actually fixed an old problem where some variables didn't seem to register properly after they were newly created (so the GetStats command seemed to crash on new variables). I fixed that up and as promised, here are the new additions ^-^
70-PlayNote
71-Logic
72-MatrixList
73-Left
74-Right
75-Mid
76-Diag
77-DiagI
78-SubCol
79-SubRow
80-ListToDiag
81-ListToDiagI
82-ListToCol
83-ListToRow
84-ExecVarBASIC
85-GetProgName
86-Timer
87-DrawText
88-DrawDispText
89-ASCIILength
90-DrawTokenStr

Also, the BASIC ReCode programming language is functioning enough that I actually made a remake of a game I made years ago in BASIC. It now has over 40 operations including variable storage, math, logic, loops, drawing, and conditional stuff. I will upload Block Eater to the demo programs topic shortly ^-^

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55931
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: BatLib
« Reply #249 on: March 13, 2011, 03:23:04 pm »
Darn so many commands. I'm afraid I'll not be able to keep up, lol. Btw is Recode included with BatLib now or is is still downloadable separately?

Also a suggestion for future versions: add a delay in the main menu because it's incredibly hard to select options. Keys are too sensitive. :/

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib
« Reply #250 on: March 13, 2011, 03:26:24 pm »
ReCode is included in BatLib, but I am thinking of making it into its own APP, too. If I do, it will still use dim(40 to start to maintain compatibility. About the main menu, you can use the numbers 1, 2, or 3 to highlight an object. For now, it doesn't do anything, though.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib
« Reply #251 on: March 13, 2011, 03:28:35 pm »
Darn so many commands. I'm afraid I'll not be able to keep up, lol. Btw is Recode included with BatLib now or is is still downloadable separately?

Also a suggestion for future versions: add a delay in the main menu because it's incredibly hard to select options. Keys are too sensitive. :/

I tried it and I have to agree with you:



EDIT: The title looks like BarLib in the main menu, could you make the T taller too?
« Last Edit: March 13, 2011, 03:29:21 pm by Scout »

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib
« Reply #252 on: March 13, 2011, 03:30:52 pm »
I only kept that to kind of show off the speed of my rectangle routines. Again, the numbers can be used to actually hilight an object. I will put numbers next to them, next time, sorry

EDIT: Yeah, I can fix the T, I believe :D Thanks for the feed back!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55931
  • Rating: +3153/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: BatLib
« Reply #253 on: March 13, 2011, 03:35:14 pm »
ReCode is included in BatLib, but I am thinking of making it into its own APP, too. If I do, it will still use dim(40 to start to maintain compatibility. About the main menu, you can use the numbers 1, 2, or 3 to highlight an object. For now, it doesn't do anything, though.
Ah ok, I guess another app could be an idea. People who don't need it could save some space and stuff.

Offline Xeda112358

  • they/them
  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: BatLib
« Reply #254 on: March 13, 2011, 03:40:48 pm »
BatLib uses only one page, so it wouldn't really save space, However, if ReCode gets really big, it will need to be an app of its own. At the moment, the whole BatLib app (including ReCode) is using only 65% of an app page. I have used 10606 bytes of code space and I still have 5778 bytes to go until I fill it up :D