You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

Bitty Bird!

b/Contests Started by JWinslow23, May 12, 2015, 02:55:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

u/Snektron May 15, 2015, 09:21:47 AM
What does Text(-1 btw?
u/CKH4 May 15, 2015, 11:34:21 AM
Its the large size text so Text(10,10,"123 would display small text and its large text equivalent would be Text(-1,10,10,"123
u/JWinslow23 May 15, 2015, 03:02:57 PM
Quote from: DJ Omnimaga on May 15, 2015, 07:09:26 AM
That's actually a good trick I guess. I was wondering if anyone would use it in BASIC. Since you just fill the entire screen then it counts as using the allowed resolutions, just rendered slowly during pre-rendering (I would have issues with it if you did fancy animations such as rendering every two line of pixel then the rest, though :P)

And yeeah I am really impressed by the speed considering the large amount of Text commands that are being used. Maybe I just forgot how fast screen drawing can be on the monochrome models, though. :P Do you use For loops? Those can slow things down a lot, although they reduce the code size a lot too.
Yes, I use For( loops to draw. I loop through my gameboard (which is a binary number P) and draw it pixel by pixel. And I'm impressed with myself at the speed as well :D .
u/Dream of Omnimaga May 16, 2015, 07:07:11 AM
Ah ok thanks for the info. Because if you used 24 Text(-1 commands instead of For loops with 1 Text(-1 command, then the game would run noticeably faster. This screen invertion program is a prime example: http://www.ticalc.org/archives/files/fileinfo/352/35264.html . On the other hand, the file size would suffer (although nowhere as much as that screen inverting program and maybe not enough to actually hurt the final judging score) so it would be up to you to judge if the speed gain is worth it.
Last Edit: May 16, 2015, 07:11:11 AM by DJ Omnimaga
u/Snektron May 16, 2015, 10:13:30 AM
That reminds me of my matrix mul subroutine in ASM. 400 lines of almost the same code O.O
u/JWinslow23 May 16, 2015, 06:26:51 PM
Quote from: DJ Omnimaga on May 16, 2015, 07:07:11 AM
Ah ok thanks for the info. Because if you used 24 Text(-1 commands instead of For loops with 1 Text(-1 command, then the game would run noticeably faster. This screen invertion program is a prime example: http://www.ticalc.org/archives/files/fileinfo/352/35264.html . On the other hand, the file size would suffer (although nowhere as much as that screen inverting program and maybe not enough to actually hurt the final judging score) so it would be up to you to judge if the speed gain is worth it.
I don't feel like ballooning the program just to get a what-will-probably-be-tiny speed gain. At this point, IMO, I have a good balance between size and speed (all of that was under 1 KB, too!).
u/Dream of Omnimaga May 18, 2015, 04:11:52 AM
Ok it's up to you really. So far I am impressed by the result, considering it's pure BASIC. The size is pretty nice too.
u/Snektron May 18, 2015, 06:12:02 AM
Turns out TI-Basic was usable for the contest after all :P
u/JWinslow23 May 18, 2015, 12:19:14 PM
Quote from: DJ Omnimaga on May 18, 2015, 04:11:52 AM
Ok it's up to you really. So far I am impressed by the result, considering it's pure BASIC. The size is pretty nice too.
Thanks so much. :)
Quote from: Cumred_Snektron on May 18, 2015, 06:12:02 AM
Turns out TI-Basic was usable for the contest after all :P
Well, if you're reeeeally clever, you can use Golfscript :P
u/Unicorn May 18, 2015, 04:36:19 PM
Quote from: Cumred_Snektron on May 18, 2015, 06:12:02 AM
Turns out TI-Basic was usable for the contest after all :P
I guess Hybrid for displaying doesn't count?  <_<
u/Dream of Omnimaga May 19, 2015, 04:48:45 AM
Well with hybrid you usually can display anything that looks like ASM, just at much slower speed.
u/Dream of Omnimaga May 29, 2015, 04:23:49 AM
By the way, something I noticed is that your game fills the entire screen with black rather than just the area that is being used during gameplay. Maybe you should use Line() instead of Horizontal and only make the playable area black (the 3x4 grid, that is), else it kinda looks weird with the calc LCD margins having no pixel, and some people might think the game isn't truly 3x4.
u/JWinslow23 June 03, 2015, 06:34:39 PM
Quote from: DJ Omnimaga on May 29, 2015, 04:23:49 AM
By the way, something I noticed is that your game fills the entire screen with black rather than just the area that is being used during gameplay. Maybe you should use Line() instead of Horizontal and only make the playable area black (the 3x4 grid, that is), else it kinda looks weird with the calc LCD margins having no pixel, and some people might think the game isn't truly 3x4.
Too late at this point, but I'll change it when I release it to archives.

Also, you can play the game in its current form! Download the program files in the original post, or all in one zip file along with a readme in the voting thread.
u/Dream of Omnimaga June 03, 2015, 07:25:00 PM
Very nice game by the way. I am surprised at how well it plays for TI-Basic despite updating so much in the screen every frame.
u/JWinslow23 June 03, 2015, 09:39:27 PM
Quote from: DJ Omnimaga on June 03, 2015, 07:25:00 PM
Very nice game by the way. I am surprised at how well it plays for TI-Basic despite updating so much in the screen every frame.
Thanks.

I also added the link in my signature to the zip. Just click on Bitty Bird.
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal