### Author Topic: BatLib Demo Programs  (Read 27572 times)

0 Members and 1 Guest are viewing this topic.

#### Xeda112358

• they/them
• Project Author
• LV12 Extreme Poster (Next: 5000)
• Posts: 4649
• Rating: +717/-6
• Calc-u-lator, do doo doo do do do.
##### Re: BatLib Demo Programs
« Reply #15 on: March 13, 2011, 03:22:59 pm »
Oh, you have to wait until time runs out or you eat 150 blocks. Wow, sorry about that. I should mention that in the readme, sorry !_!

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55839
• Rating: +3151/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: BatLib Demo Programs
« Reply #16 on: March 13, 2011, 03:35:54 pm »
Oh ok, cuz I waited like 5 minutes in easy mode and nothing happened
« Last Edit: March 13, 2011, 03:36:09 pm by DJ_O »
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF

#### Xeda112358

• they/them
• Project Author
• LV12 Extreme Poster (Next: 5000)
• Posts: 4649
• Rating: +717/-6
• Calc-u-lator, do doo doo do do do.
##### Re: BatLib Demo Programs
« Reply #17 on: March 13, 2011, 03:42:07 pm »
Really? I had that problem in an earlier version, but then I fixed it. I'll check if maybe I have the wrong version uploaded?

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55839
• Rating: +3151/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: BatLib Demo Programs
« Reply #18 on: March 13, 2011, 03:43:34 pm »
Note, I use a 83+SE 1.19 ROM. I wonder if it could be that?
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF

#### Xeda112358

• they/them
• Project Author
• LV12 Extreme Poster (Next: 5000)
• Posts: 4649
• Rating: +717/-6
• Calc-u-lator, do doo doo do do do.
##### Re: BatLib Demo Programs
« Reply #19 on: March 13, 2011, 03:46:46 pm »
Hmm, it worked for me and I do not think it is because of your calc model. It doesn't actually use a timer, it just counts how many times you go through the while loop. Did you get a "TIME UP" message? from there you just press enter. It takes about a minute or two on my 84+SE...
Still, I guess I should add an exit key, that might be helpful, sorry.

EDIT: I edited the first posy of Block Eater with this updated version. Just press clear to exit.
« Last Edit: March 13, 2011, 04:00:44 pm by Xeda112358 »

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55839
• Rating: +3151/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: BatLib Demo Programs
« Reply #20 on: March 13, 2011, 04:18:31 pm »
Nah, no time up message ever appeared. In hard mode I tried and it was fine, though. Easy mode seemed like the only problem, and yeah an exit key would be nice in case someone is in a hurry or something. X.x
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF

#### willrandship

• Omnimagus of the Multi-Base.
• LV11 Super Veteran (Next: 3000)
• Posts: 2953
• Rating: +98/-13
• Insert sugar to begin programming subroutine.
##### Re: BatLib Demo Programs
« Reply #21 on: March 13, 2011, 04:18:40 pm »
BTW, I love the idea of partial screen updates, rminds me of pygame's dirty rects method. Doesn't work well for everything though

#### Xeda112358

• they/them
• Project Author
• LV12 Extreme Poster (Next: 5000)
• Posts: 4649
• Rating: +717/-6
• Calc-u-lator, do doo doo do do do.
##### Re: BatLib Demo Programs
« Reply #22 on: March 13, 2011, 04:22:22 pm »
Yeah, I currently have it updating the whole screen every cycle of the while loop. It would be better if I made a routine that updated a 16x5 portion instead of the whole 96x64 region.

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55839
• Rating: +3151/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: BatLib Demo Programs
« Reply #23 on: March 14, 2011, 11:50:37 pm »
What do you mean by partial screen updates? Do you mean when recalling the buffer it doesn't overwrite the entire display?
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF

#### willrandship

• Omnimagus of the Multi-Base.
• LV11 Super Veteran (Next: 3000)
• Posts: 2953
• Rating: +98/-13
• Insert sugar to begin programming subroutine.
##### Re: BatLib Demo Programs
« Reply #24 on: March 14, 2011, 11:54:48 pm »
It is basically that, yes. It only checks for changes in specific parts of the screen, even if other parts have changed. That way, a smoothscrolling platformer, for example, could run much faster, since it only updates the area around the player, not the whole screen.

This, in section 5, might help to clear it up
http://www.pygame.org/docs/tut/newbieguide.html

#### Xeda112358

• they/them
• Project Author
• LV12 Extreme Poster (Next: 5000)
• Posts: 4649
• Rating: +717/-6
• Calc-u-lator, do doo doo do do do.
##### Re: BatLib Demo Programs
« Reply #25 on: March 14, 2011, 11:55:11 pm »
I mean that you can choose to update, say, the first 8x8 square of pixels on the LCD. The LCD is a little sluggish, so if only one small section of the graph screen changes, instead of refreshing the whole screen, you can just do that the modified area

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55839
• Rating: +3151/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: BatLib Demo Programs
« Reply #26 on: March 15, 2011, 12:02:56 am »
Oh wow that's just too awesome. This will make games so much faster. I think Quigibo should implement this in Axe too.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF

#### Xeda112358

• they/them
• Project Author
• LV12 Extreme Poster (Next: 5000)
• Posts: 4649
• Rating: +717/-6
• Calc-u-lator, do doo doo do do do.
##### Re: BatLib Demo Programs
« Reply #27 on: March 15, 2011, 12:05:02 am »
I plan to add it to the DispGraph command so you can do something like this to update just the upper left 8x8 corner of the screen:
Code: [Select]
DispGraph0,8,0,8Otherwise, if there are no coordinates it will just update the whole screen.

#### Scipi

• Omni Kitten Meow~ =^ω^=
• LV10 31337 u53r (Next: 2000)
• Posts: 1547
• Rating: +192/-3
• Meow :3
##### Re: BatLib Demo Programs
« Reply #28 on: March 15, 2011, 05:45:58 pm »
Block eater doesn't want to work for me. I can't select anything else other than easy mode and I can't move the sprite. Then I get a syntax error. The syntax error seems to only appear when I try to move he sprite or inside the menu.

Imma Cat! =^_^= (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:

Spoiler For OldSig:

Spoiler For Projects!:

Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

#### Xeda112358

• they/them
• Project Author
• LV12 Extreme Poster (Next: 5000)
• Posts: 4649
• Rating: +717/-6
• Calc-u-lator, do doo doo do do do.
##### Re: BatLib Demo Programs
« Reply #29 on: March 15, 2011, 05:48:28 pm »
Hmm, that is odd. Did you have a previous version of BatLib on your calc before installing the latest one? Also, I am working on that rectangle routine problem you found It is almost fixed (I just got back).