Alternatively, 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

January 27, 2017, 05:23:57 PM Last Edit: January 27, 2017, 06:02:04 PM by 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)

DJ 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-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10, HP Prime, fx 1.0 Plus, fx-7400G Plus, fx-9750G Plus, fx-9860G, HP 39gII
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite

Powered by EzPortal