Author Topic: BatLib Ideas/Wishlist  (Read 54320 times)

0 Members and 1 Guest are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #75 on: April 15, 2011, 07:21:11 am »
What if we could use the normal TI-Basic Pause in Recode?

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 Ideas/Wishlist
« Reply #76 on: April 15, 2011, 08:39:37 am »
You can do Pause If getKey≠9, but I prefer keeping the regular Pause command as it is. As a note, Pause If is read as a different command from Pause or If.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #77 on: April 15, 2011, 08:51:27 am »
You can do Pause If getKey?9, but I prefer keeping the regular Pause command as it is. As a note, Pause If is read as a different command from Pause or If.

I meant adding a new pause command, I want Pause X to remain as it is.

Also, what I suggested here.

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 Ideas/Wishlist
« Reply #78 on: April 15, 2011, 08:55:48 am »
So how would I add a new Pause command?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #79 on: April 15, 2011, 08:57:23 am »
So how would I add a new Pause command?

Not sure if you can add new tokens, but if you can't, why not use a dim( or a Basic token that's useless?

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 Ideas/Wishlist
« Reply #80 on: April 15, 2011, 08:58:12 am »
So you want it to just Pause and wait for enter, or do you want it to Pause and wait for a key?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #81 on: April 16, 2011, 04:42:07 am »
So you want it to just Pause and wait for enter, or do you want it to Pause and wait for a key?

I want the little thing scrolling on the right top of the screen and only [ENTER] will work.

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 Ideas/Wishlist
« Reply #82 on: April 16, 2011, 09:37:17 am »
Hmm, well for now, this will work:
Code: [Select]
Pause If getKey≠9
But otherwise, I will see if I can do anything.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #83 on: April 17, 2011, 05:41:30 am »
Hmm, well for now, this will work:
Code: [Select]
Pause If getKey≠9
But otherwise, I will see if I can do anything.

Thanks, I don't want to force you into making commands you don't wanna make though.

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 Ideas/Wishlist
« Reply #84 on: April 17, 2011, 01:35:14 pm »
I don't know of a token I can use for that, though :/ That is the main reason why... I want to use tokens that make sense

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 Ideas/Wishlist
« Reply #85 on: April 17, 2011, 06:58:17 pm »
Okay, sorry for the double post :/

I had another idea for new rectangle commands. I still need to get around to merth's ideas, but for now, I am thinking of adding rectangle routines that change things outside the rectangle as opposed to inside. It would kind of be the opposite of filling the rectangle. What do y'all think?

(Like, think of inverting everything outside the rectangle or something)

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #86 on: April 17, 2011, 07:29:51 pm »
Sounds good

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 Ideas/Wishlist
« Reply #87 on: April 17, 2011, 08:50:56 pm »
Okay, so here is an example of code that I have and what it does, currently:
dim(29,6,16,6,9,1+16
It only modifies 9 rows of the graph screen starting 6 pixels down. The spot that would normally turn black is now not affected and everywhere else in those rows is turned black

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: BatLib Ideas/Wishlist
« Reply #88 on: April 18, 2011, 06:14:06 am »
I'm now coding a game using BatLib... Can we use dim(56 with random Xs and Ys?

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 Ideas/Wishlist
« Reply #89 on: April 18, 2011, 11:24:36 am »
Yes you can :D However, I do not believe that I added protection against drawing off screen, so be careful to not let your x and y values to go off screen :)

I cannot wait to see the game !