Author Topic: Basic Sprites  (Read 7257 times)

0 Members and 2 Guests are viewing this topic.

Offline johnbchron

  • LV2 Member (Next: 40)
  • **
  • Posts: 33
  • Rating: +1/-0
  • RiskALungForDiving
    • View Profile
Basic Sprites
« on: November 06, 2018, 06:07:31 pm »
Hello all,


I have not put any extensive research into this question but I was wondering if anyone who has successfully made or used sprites in basic could tell me how they did it / what or what not to do so I can save some time (emotional energy)? (That’s what forums are for, right?)
Just a dude who is really bored in school... and a huge nerd.
Click here to give me an internet!
 <a href="http://www.freebiebitcoin.com">Earn free bitcoin</a>

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Basic Sprites
« Reply #1 on: November 06, 2018, 08:26:34 pm »
There are a number of ways to do this, and it also depends on which platform you are programming for. Keep in mind Sprites in pure BASIC are generally going to be slow. Again this depends on the method and platform.

Offline johnbchron

  • LV2 Member (Next: 40)
  • **
  • Posts: 33
  • Rating: +1/-0
  • RiskALungForDiving
    • View Profile
Re: Basic Sprites
« Reply #2 on: November 07, 2018, 01:42:42 pm »
Oh yeah. Forgot to mention this is for the CE.
Just a dude who is really bored in school... and a huge nerd.
Click here to give me an internet!
 <a href="http://www.freebiebitcoin.com">Earn free bitcoin</a>

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Basic Sprites
« Reply #3 on: November 07, 2018, 01:55:38 pm »
In that case, there's really no good option other than to ditch BASIC. It sounds like you might want to try ICE instead of BASIC.

Offline johnbchron

  • LV2 Member (Next: 40)
  • **
  • Posts: 33
  • Rating: +1/-0
  • RiskALungForDiving
    • View Profile
Re: Basic Sprites
« Reply #4 on: November 07, 2018, 06:00:00 pm »
I have worked in ice before and I was curious about basic because I thought that sprites might work differently. Does anyone know of any good on-calc sprite editors? I at one point was making one myself but a ram clear meant that I would have to start from scratch again so I gave it up.
Just a dude who is really bored in school... and a huge nerd.
Click here to give me an internet!
 <a href="http://www.freebiebitcoin.com">Earn free bitcoin</a>

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Basic Sprites
« Reply #5 on: November 07, 2018, 07:55:49 pm »
I'm not as familiar with the CE, but you should still be able to make sprites with individual pixels or lines and for commands. If the speed is comparable to the TI-84+, this will be (relativley)slow. You can use asm libs, but that wouldn't be pure BASIC. If I remember right, there's a version of Xlib out there for the CE, and maybe something else. The 84+ also had Dual layer Ascill that could be done, but I think saving and storing pictures is a bit different on the CE and that causes this not to work (someone more knowledgeable would have to verify). There are other techniques that were used on the 84+ using text to make sprites, but they are limited on what they can produce, and again I'm not sure if or how well they work on the CE. Here's a link describing some of these from TIBD. http://tibasicdev.wikidot.com/graphics As I said this applies to the 84+/83+ line, and I'm not sure how relevant it is to the CE.
« Last Edit: November 07, 2018, 07:58:53 pm by Art_of_camelot »