We're on Discord! Please join our server now if you don't want to miss anything! (More info) | Join the UCC4 contest! (More info)

* WalrusIRC & Discord main room

If you have a forum account, have more than 4 posts and are not part of a restricted usergroup, then you can chat in our main Discord server room directly from here and continue using the forums at the same time. Or you can join our server directly and access many more discussion rooms!

Author Topic: Falling Sand Game  (Read 1921 times)

0 Members and 1 Guest are viewing this topic.

Offline SopaXorzTaker

  • Full User
  • Join Date: Sep 2016
  • Location:
  • Posts: 23
  • Post Rating Ratio: +4/-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: 2303
  • Post Rating Ratio: +10/-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
  • CodeWalrus Staff
  • Super User
  • Moderator
  • Forum Maintenance
  • Original 5
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 19086
  • Post Rating Ratio: +101/-5
    • 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-84 Plus C Silver Edition, TI-84 Plus CE, Casio fx-CG10
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nintendo Switch, Playstation TV

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