Author Topic: Pure TI-BASIC grayscale ASCII game  (Read 10186 times)

0 Members and 2 Guests are viewing this topic.

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Pure TI-BASIC grayscale ASCII game
« on: May 30, 2010, 03:24:51 pm »
This is an experiment I am doing mostly for my fun. It is intended only for SE calculators because of speed. It has some flicker but for Pure TI-BASIC is actually cool.
This will give use to my recent utility of hidden tokens, too.

The base code of is:
:While 1
:Dispgraph
:Disp
:End
This should enlighten who knows pretty well TI-BASIC. (at least I instantly knew how to make this code work) See the demo code for further understanding of the technique.

I already have a demo and screenie for the more skeptic.
But I need a idea for the game. It has to be with ASCII graphics, simple, a bit slow paced but fun. (if possible addictive too)
EDIT: puzzle or board games genres is the way to go. ;)
« Last Edit: May 30, 2010, 03:54:05 pm by Galandros »
Hobbing in calculator projects.

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2027
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Pure TI-BASIC grayscale ASCII game
« Reply #1 on: May 30, 2010, 03:35:54 pm »
wow thats just awsome and the flicker isnt to bad ive seen much worse on things ive made with c3 X.x

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Pure TI-BASIC grayscale ASCII game
« Reply #2 on: May 30, 2010, 03:39:43 pm »
wow thats just awsome and the flicker isnt to bad ive seen much worse on things ive made with c3 X.x
Keep in mind that I pushed the emulator settings so almost any engine looks good. :P
But this is not emulator trickery. On calculator you get a very similar result to the screen shot.
Hobbing in calculator projects.

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2027
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Pure TI-BASIC grayscale ASCII game
« Reply #3 on: May 30, 2010, 03:44:39 pm »
still its awsome although i wonder how much more it will flicker when you have a decent amount of code in it :/

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Pure TI-BASIC grayscale ASCII game
« Reply #4 on: May 30, 2010, 03:46:46 pm »
I agree with geekboy. This isn't exactly practical.
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Pure TI-BASIC grayscale ASCII game
« Reply #5 on: May 30, 2010, 03:49:10 pm »
I agree with geekboy. This isn't exactly practical.
I am going to verify that in coding.
If people did not tried lots of TI-BASIC commands like Plots, horizontal/vertical sprites with text, dual layer we wouldn't have the quality in graphics games we have.
It will definitely be a bit slow paced but for puzzles or board games is doable. I believe I can optimize and push speed to be very playable and even faster than some old ASCII games.

still its awsome although i wonder how much more it will flicker when you have a decent amount of code in it :/
That is why it has to be a simple game and slow paced. Still I added movement code without boundaries to check.

I think a puzzle or board game is the way to go. Action, adventure does not fit in this engine.
Someone that played lots of flash games or board game can give me a hint?
« Last Edit: May 30, 2010, 03:53:11 pm by Galandros »
Hobbing in calculator projects.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Pure TI-BASIC grayscale ASCII game
« Reply #6 on: May 30, 2010, 03:54:14 pm »
Checkers?
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Pure TI-BASIC grayscale ASCII game
« Reply #7 on: May 30, 2010, 03:59:52 pm »
Checkers?
Could be. And I could use that for testing how the engine will adapt to the code overhead. The darker tiles of the table will be in gray and in a perfect world I will be able to find tokens combinations for this. *Galandros sees the Weregoose pictures*

Make your bets, will the grayscale vanish with code overhead or not? Or Galandros does not have the skillz? j/k

If someone wants to leave another puzzle or board game suggestion for me to check later, would be nice.
« Last Edit: May 30, 2010, 04:04:30 pm by Galandros »
Hobbing in calculator projects.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Pure TI-BASIC grayscale ASCII game
« Reply #8 on: May 30, 2010, 04:09:17 pm »
Something like Checkers would be a good test. I say go for it!

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2027
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Pure TI-BASIC grayscale ASCII game
« Reply #9 on: May 30, 2010, 04:18:52 pm »
checkers sounds great as a test and i think its very doable with boardgames

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Pure TI-BASIC grayscale ASCII game
« Reply #10 on: May 30, 2010, 04:26:55 pm »
Thanks, that is a great support. ;D

I have a few ideas to speed up things like caching graphics on Pictures. And I might abuse unrolling code if I need. Hard code some lists in variables, anything that helps speed.
Hobbing in calculator projects.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Pure TI-BASIC grayscale ASCII game
« Reply #11 on: May 30, 2010, 05:31:48 pm »
Quote from: Galandros
unrolling code

What is that? Self-modifying code?
« Last Edit: May 30, 2010, 05:32:10 pm by Raylin »
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2898
  • Rating: +467/-17
    • View Profile
    • TI-Boy CE
Re: Pure TI-BASIC grayscale ASCII game
« Reply #12 on: May 30, 2010, 09:34:51 pm »
Quote from: Galandros
unrolling code

What is that? Self-modifying code?
Nope, it means instead of using a For( loop and such, do each iteration manually.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55851
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Pure TI-BASIC grayscale ASCII game
« Reply #13 on: May 31, 2010, 12:34:06 am »
seems nice. I wonder how fast it would be in a game?
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Pure TI-BASIC grayscale ASCII game
« Reply #14 on: May 31, 2010, 12:41:32 am »
Wasn't this done in Metroid Pure Basic Version in the menu, except it was being off-set 1 pixel diagonal?


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*