* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Falling Sand Game  (Read 659 times)

0 Members and 1 Guest are viewing this topic.

Offline SopaXorzTaker

  • Full User
  • Join Date: Sep 2016
  • Location:
  • Posts: 21
  • Post Rating Ratio: +3/-0
  • I like electronics.
    • @SopaXorzTaker
    • /u/SopaXorzTaker
    • SopaXorzTaker
  • Gender: Male
Falling Sand Game
« on: January 27, 2017, 05:23:57 pm »
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.
« Last Edit: January 27, 2017, 06:02:04 pm by SopaXorzTaker »


  • Calculators owned: TI-84+CE, TI-82, fx-991ES

Offline p2

  • CodeWalrus Staff
  • Super User
  • Moderator
  • CodeWalrus Supporter
  • *
  • Join Date: Aug 2016
  • Location: Germany
  • Posts: 2283
  • Post Rating Ratio: +8/-0
  • *Wubba lubba dub dub*
    • KaliPhobos
  • Gender: Male
Re: Falling Sand Game
« Reply #1 on: January 28, 2017, 11:23:29 am »
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 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)

Offline xlibman

  • Omni founder & CW co-founder
  • Super User
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 18730
  • Post Rating Ratio: +95/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • DJ Omnimaga music store
  • Gender: Male
Re: Falling Sand Game
« Reply #2 on: January 30, 2017, 09:41:22 pm »
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-57, 73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX (semi-broken), HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games