Author Topic: Contra  (Read 101691 times)

0 Members and 1 Guest are viewing this topic.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Contra
« Reply #60 on: November 17, 2010, 07:15:09 pm »
Looks great!

On a side note, I was having those problems in Wabbit with Axe Snake screenies until I got it adjusted right. :)

Offline squidgetx

  • Food.
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1881
  • Rating: +503/-17
  • rawr.
    • View Profile
Re: Contra
« Reply #61 on: November 17, 2010, 07:33:01 pm »
Personally I like using horizontal commands :P But if redrawing speed isn't an issue, collision detection will be easier to deal with because the offset value is probably also easier to deal with using a redraw method
« Last Edit: November 17, 2010, 07:33:09 pm by squidgetx »

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: Contra
« Reply #62 on: November 17, 2010, 11:10:48 pm »
Personally I like using horizontal commands :P But if redrawing speed isn't an issue, collision detection will be easier to deal with because the offset value is probably also easier to deal with using a redraw method

Well, no matter what, I have a portion of the tilemap (the portion on the screen) stored in an 70-byte array at L5 (it's 9x7 plus another column that gets scrolled in). It's really easy to work with, so redrawing/horizontal doesn't really matter at all. It's just a matter of which turns out to be faster (and which one looks better). I just tested redrawing every single frame (even without scrolling), and it's already pretty slow (even without enemies x.x), so that definitely won't work...




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: Contra
« Reply #63 on: November 18, 2010, 01:08:15 am »
Ouch, I hope you can manage to keep it at decent speed. In the worst case, maybe you could ditch grayscale?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Contra
« Reply #64 on: November 18, 2010, 01:39:30 pm »
Ouch, I hope you can manage to keep it at decent speed. In the worst case, maybe you could ditch grayscale?

From what I've seen of the game (screenies), the grayscale is NOT that needed, so it is a good option :)

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: Contra
« Reply #65 on: November 18, 2010, 11:41:56 pm »
I used VirtualDub to edit the screenshot so it is monochrome and it seems to look kinda nice, still, although in the screenshot it's a bit glitchy due to the conversion process and bad wabbitemu settings, but you can get a small idea.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Contra
« Reply #66 on: November 22, 2010, 06:44:41 pm »


The character's jump has a few problems yet, especially when landing, don't you agree?

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: Contra
« Reply #67 on: November 22, 2010, 06:53:44 pm »
Yeah, they don't "get up" after jumping. That's just extra stuff, so I'll work on that after I get the engine stuff done.

And thanks for the screenie, DJ. I might change stuff and take the grayscale out...

I've been working on XDE recently, though (I scrapped everything I had a few days ago and I'm basically starting it over), so it'll be a while before I get anything more done on this.
« Last Edit: November 22, 2010, 06:54:48 pm by Deep Thought »




Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Contra
« Reply #68 on: November 22, 2010, 06:54:35 pm »
Yeah, they don't "get up" after jumping. That's just extra stuff, so I'll work on that after I get the engine stuff done.

And thanks for the screenie, DJ. I might change stuff and take the grayscale out...

Good Luck, then!

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: Contra
« Reply #69 on: November 23, 2010, 01:48:38 am »
Ah ok, well I hope this eventually revive because I'm looking forward for this. :D

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: Contra
« Reply #70 on: December 22, 2010, 06:43:14 pm »
I don't have a screenshot, but

Update

Completely started over (again). It's now a lot better than before (several times faster, even with scrolling implemented). Bullets now work perfectly, and I'm adding the enemies right now. So basically, the engine is pretty much done :D

EDIT: Oh, yeah, and it's still full grayscale. And fixed all those bugs in the earlier screenshot too: the character lands upright (instead of staying in a ball), he doesn't stop in the middle of a platform if he falls there, and scrolling with bullets actually works.
« Last Edit: December 22, 2010, 06:58:27 pm by Deep Thought »




Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Contra
« Reply #71 on: December 22, 2010, 09:44:55 pm »
cool!  Can't wait for screenies.  ;)

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

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: Contra
« Reply #72 on: December 23, 2010, 12:19:10 am »
Awesome to see this progressing again! Are you still using the same graphics? Because they looked pretty nice. :)

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: Contra
« Reply #73 on: December 23, 2010, 12:24:18 am »
Yep, exactly the same graphics, except several times faster. I'm no longer redrawing the screen ever frame because I figured out a way to make sidescrolling fast enough that there wouldn't be much of a visible slowdown when you scroll.




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: Contra
« Reply #74 on: December 23, 2010, 01:17:48 am »
Cool to hear. WIll it make it harder to draw enemies and bullets, though?