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

[TI-82/83+/84+] Falling Sand Game

Started by SopaXorzTaker, January 27, 2017, 05:23:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SopaXorzTaker

Hey, guys!
I made a little falling sand game for the TI-82 (and other calculators).
It's pretty slow, as it's written in TI-BASIC, but I think it's pretty much playable.

Currently, it includes three types of particles (brick, sand, sand generator), but I'll probably be adding more soon.
The features include an edit mode (pausing the simulation) and a temporary fast mode that makes the simulation a bit faster while sacrificing the controls.

The attached GIF is at 4x speed, didn't I tell you that it's pretty slow?

The controls are described in the README.txt file. Also, included are the .82g and the .8xg files.
  • Calculators owned: TI-84+CE, TI-82, fx-991ES

p2

hmm nice idea but indeed that speed problem pretty much kills it D:maybe you could add a parameter field width that is only changed when you move the sand generator? so it looks for falling blocks in a smaller area, speeding up the process at least at the beginning? :)
(Assuming youre using two FOR loops over the entire screen width//height).
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Dream of Omnimaga

Too bad it isn't faster, but I guess it's to be expected with TI-Basic. The best is to make it as simple as possible and possibly not full-screen.
  • 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

Powered by EzPortal