Author Topic: Sidescrolling  (Read 3901 times)

0 Members and 1 Guest are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Sidescrolling
« 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.




Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Sidescrolling
« Reply #1 on: May 28, 2010, 07:37:17 pm »
Elmgon
A nice example. Yes, this is a pure BASIC.
Serenity
Another one.


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*

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Sidescrolling
« Reply #2 on: May 28, 2010, 07:43:39 pm »
Elmgon
A nice example. Yes, this is a pure BASIC.
Serenity
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.
« Last Edit: September 03, 2013, 07:34:47 pm by Deep Thought »




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Sidescrolling
« Reply #3 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.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Sidescrolling
« Reply #4 on: May 28, 2010, 07:59:14 pm »
OK, that's it. I give up on AbsIns2. :)
« Last Edit: September 03, 2013, 07:34:53 pm by Deep Thought »




Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Sidescrolling
« Reply #5 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?

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Sidescrolling
« Reply #6 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."
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Sidescrolling
« Reply #7 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, 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.
« Last Edit: September 03, 2013, 07:35:00 pm by Deep Thought »




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sidescrolling
« Reply #8 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

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Sidescrolling
« Reply #9 on: May 29, 2010, 01:05:29 am »
A pity. I'll stick to scrolling only at the edge, then.