Omnimaga

Calculator Community => TI Calculators => TI-BASIC => Topic started by: Deep Toaster on May 28, 2010, 03:37:34 pm

Title: Sidescrolling
Post by: Deep Toaster on May 28, 2010, 03:37:34 pm
I'm starting on a platform game called Absolute Insanity II, and I don't know if I should include sidescrolling. It's going to use stat plots for the main graphics portion. I've never used them before, but they seem pretty fast compared to sprites, so I was thinking of including sidescrolling if it ends up running fast enough. I've tried to make a simple sidescrolling engine, but it hasn't worked so far. Is it even possible to have sidescrolling on the graph screen, or is this another one of my overambitious failures? If anyone knows of a program (in pure BASIC) that has sidescrolling on the graph screen, please tell me. I really need examples right now.
Title: Re: Sidescrolling
Post by: jsj795 on May 28, 2010, 07:37:17 pm
Elmgon (http://ourl.ca/5898)
A nice example. Yes, this is a pure BASIC.
Serenity (http://ourl.ca/3650)
Another one.
Title: Re: Sidescrolling
Post by: Deep Toaster on May 28, 2010, 07:43:39 pm
Elmgon (http://ourl.ca/5898)
A nice example. Yes, this is a pure BASIC.
Serenity (http://ourl.ca/3650)
Another one.

Wow, those are amazing programs. Especially that cable-swing-type movement in Serenity.

Sorry I wasn't specific, but what I meant was continuous sidescrolling (i.e., the screen moves with the character, not just when the character reaches an edge). Is this possible? I've done it in one of my earliest games, but that one used homescreen graphics, which were horrible, now that I look back at it.
Title: Re: Sidescrolling
Post by: meishe91 on May 28, 2010, 07:46:52 pm
Technically I believe it is possible but you have to refresh the screen after every movement that reveals more level. So I think it will just run really slow. In Axe however it may be possible if you're interested in going that route.
Title: Re: Sidescrolling
Post by: Deep Toaster on May 28, 2010, 07:59:14 pm
OK, that's it. I give up on AbsIns2. :)
Title: Re: Sidescrolling
Post by: Builderboy on May 28, 2010, 08:04:15 pm
If you want good speed and continuous sidescrolling in Basic, your best bet is still homescreen graphics, which arnt as bad as you might think with good character choices.  Are you doing omni directional or just left and right?
Title: Re: Sidescrolling
Post by: meishe91 on May 28, 2010, 08:09:51 pm
Oh, and if you do the home screen approach then there are ways of actually altering the font to look like good sprites (this is using assembly utilities though). Depends on your definition of "pure BASIC."
Title: Re: Sidescrolling
Post by: Deep Toaster on May 28, 2010, 08:18:21 pm
If you want good speed and continuous sidescrolling in Basic, your best bet is still homescreen graphics, which arnt as bad as you might think with good character choices.  Are you doing omni directional or just left and right?

Just left and right.

Last time I used homescreen graphics, I used a ? for the character (bad choice), M and W for the spikes, and O for blocks. I guess those aren't that bad of choices (except for the question mark), but since this is a sequel to Absolute Insanity (http://www.ticalc.org/archives/files/fileinfo/427/42796.html), I wanted to have somewhat better graphics.

Oh, and if you do the home screen approach then there are ways of actually altering the font to look like good sprites (this is using assembly utilities though). Depends on your definition of "pure BASIC."

I'm giving up continuous sidescrolling and instead scroll the screen whenever the character reaches an edge. Unfortunately, this is looking more and more like Contra 83.

EDIT: Not that I don't like Contra's graphics; they're awesome. :D I was just hoping for something more original.
Title: Re: Sidescrolling
Post by: DJ Omnimaga on May 29, 2010, 12:39:21 am
Pokémon Purple is an example of scrolling on home screen, but on Graph screen, it is impossible to have fast scrolling good graphics without the help of ASM. Also unless you use Text(-1 on graph screen, you will need to clear the entire screen everytime you move, meaning that a lot of flicker will occur
Title: Re: Sidescrolling
Post by: Deep Toaster on May 29, 2010, 01:05:29 am
A pity. I'll stick to scrolling only at the edge, then.