Join us on Discord!
You can help CodeWalrus stay online by donating here.

[TI-84+CSE] Bejeweled CSE [Hybric Basic]

Started by unknownloner, July 05, 2015, 04:25:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alexgt

Hey just increase the speed in wabbit :P
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Unicorn

I first thought it was ASM from the first screenshots.
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

Dream of Omnimaga

Quote from: alexgt on July 06, 2015, 04:14:15 PM
Hey just increase the speed in wabbit :P
I do that when grinding in calculator RPGs :P

Anyway Unknownloner what would be nice is if there was a way to have multiple backgrounds at once on the same calc. If a background ID is missing, then it would just display a white background by default.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Unicorn

The only problem is how much space it would take up right? 8000 bytes a background, is it not?
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

unknownloner

It's like 12,000 bytes for a background. The main reason I didn't add it as a feature is that I didn't feel like programming it in. I may add it later if I get the urge to do so, but don't hold your breath :P.

In other news, I've finished my pure BASIC version. Once I get someone to test it on the CE for me to make sure it works there, I'll release it. It runs pretty well; the only problem it has on the CE is the same problem many other pure BASIC games have, which is small graphics.

The CSE version of the pure BASIC Bejeweled also has to flash the screen whenever it updates tiles, because of a well-known bug where Pt-On() will initially only draw black pixels for point types 3 and 4. The CE is unaffected by that bug, so the screen flash isn't present in that version either.

  
/)

Dream of Omnimaga

Awesome to hear about the CE version. I am curious about what it looks like. I hope you keep a copy of the CSE version, though, for those who wants the enhanced graphics :)


And yeah I remember the Pt-On bug.


EDIT: By the way, I downloaded the new version on Cemetech and it still doesn't display any background. I run OS 4.2 D:
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

unknownloner

For anyone coming across this thread later, the issue was that DJ was using DoorsCSE 8.1 RC1, which had a bug in it that caused the backgrounds not to display properly.

  
/)

Dream of Omnimaga

Yeah I thought that RC1 supported them since they were listed in the features. I didn't realize that I hadn't upgraded, though, since pretty much everything else worked and that Bejeweled is the only DCSE game that uses 32-color background pics.

I was really scared, though, because I feared it was one of those nasty hardware changes from TI like what happened with extra RAM pages a few years ago and prevented many programs from working anymore.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

alexgt

I was using Doors 8.2 so I guess that was the issue :P
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Dream of Omnimaga

Wait, did you have issues in DCSE 8.2 too? Because for me everything works fine in it.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

alexgt

No, I meant that that was the problem for you because I had 8.2 (working) and you had 8.1 and 8.1 wasn't working for Bejeweled :P
  • Calculators owned: Ti-84+, Ti-Nspire, Hp Prime, Broken HP Prime, HP 48SX

Unicorn

Yeah, I had the same type of issue using 8.1, when redisplaying a part of a background in Money Walrii.
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

JWinslow23

Quote from: unknownloner on July 07, 2015, 01:30:50 AMIt's like 12,000 bytes for a background.

Using Celtic2CSE's det( 8 ) command, I have discovered that backgrounds (minus the headers and junk) are 12,039 bytes.

Quote from: unknownloner on July 07, 2015, 01:30:50 AMThe main reason I didn't add it as a feature is that I didn't feel like programming it in. I may add it later if I get the urge to do so, but don't hold your breath :P.

I whipped up something of my own that works for me. Here is the code (also with the other stuff around it for context). Just enter in the name of the appvar (but make sure you have a default background as well named BJWLBG). The only verifying it does is checking if the appvar exists, and checking the size :P
If 81>det([[20:Then
Disp "Get Doors CSE to run this:","http://dcs.cemetech.net
Return
End
ClrHome
Disp "Enter Background name:","(BJWLBG for default)
Input "",Str0
"rowSwap("+Str0→Str0
det(8
If sub(Str9,5,5)≠"12039
Then
Disp "Error: appvar not found or","otherwise invalid.","Using default background.
Pause "Press ENTER to play.
"rowSwap(BJWLBG→Str0
End
{8,8→dim([A]
Ans→dim([B]
real(0,1,1
real(0,2,1
"BJWLGEMS
real(5,0,0
real(8,1,0
real(9
sub(Str0,2,length(Str0)-1→Str0
real(5,7,0
real(7,7,23,23,114,66,31,0
real(7,9,24,24,112,64,0,0
"Options
real(6,0,44,32,255,0,0
real(7,9,44,40,56,1,255,0
real(4,0,0,0,5,2,0,0,248,0,0,16,17,18,19,20,21,22,23,24,25
real(8,1,0
Str0
real(5,7,0
real(7,7,48-2,24-2,68,68,31,0

Dream of Omnimaga

Quote from: alexgt on July 07, 2015, 03:22:23 PM
No, I meant that that was the problem for you because I had 8.2 (working) and you had 8.1 and 8.1 wasn't working for Bejeweled :P
Oh I actually had 8.1 RC1 (I didn't notice I still had a release candidate at first), not 8.1. Were 32-color pics broken in 8.1 too?

Also JWinslow23 you should upload your custom backgrounds in a zip file and maybe screenshots of them
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

unknownloner

I use 8.1.2 and it works for me, so it wasnt broken in all versions of 8.1 at least.

  
/)

Powered by EzPortal