Author Topic: Alien Breed 5  (Read 18773 times)

0 Members and 2 Guests are viewing this topic.

Offline JamesV

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 276
  • Rating: +77/-0
    • View Profile
    • James V's TI-Calculator page
Re: Alien Breed 5
« Reply #15 on: June 29, 2012, 12:25:45 pm »
Quick update, nothing too fancy, but just shows a minor improvement in AB5 over previous AB games, where the screen scrolling now pans further up the map during boss fights to give the player a better view of the fight, and then after the boss is killed, returns to centre on the player again.



Normal enemies are now coded as well, atm functioning fairly similarly to how they did in ABIV, although the triggering has been updated to closer match the original games, in theory providing a never ending supply of enemies :)

Offline blue_bear_94

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 801
  • Rating: +25/-35
  • Touhou Enthusiast / Former Troll / 68k Programmer
    • View Profile
Re: Alien Breed 5
« Reply #16 on: June 29, 2012, 12:31:45 pm »
Just curious, will you have the option to skip the intro at the beginning of the game?
Due to dissatisfaction, I will be inactive on Omnimaga until further notice. (?? THP hasn't been much success and there's also the CE. I might possibly be here for a while.)
If you want to implore me to come back, or otherwise contact me, I can be found on GitHub (bluebear94), Twitter (@melranosF_), Reddit (/u/Fluffy8x), or e-mail (if you know my address). As a last resort, send me a PM on Cemetech (bluebear94) or join Touhou Prono (don't be fooled by the name). I've also enabled notifications for PMs on Omnimaga, but I don't advise using that since I might be banned.
Elvyna (Sunrise) 4 5%
TI-84+SE User (2.30 2.55 MP 2.43)
TI-89 Titanium User (3.10)
Casio Prizm User? (1.02)
Bag  東方ぷろの

Offline JamesV

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 276
  • Rating: +77/-0
    • View Profile
    • James V's TI-Calculator page
Re: Alien Breed 5
« Reply #17 on: June 29, 2012, 08:13:23 pm »
Just curious, will you have the option to skip the intro at the beginning of the game?

Do you mean the 6 pages of text in that teaser program? That won't actually be in the finished product, that was just something extra I did for a bit of fun :) I'll possibly also do another teaser program before final release, just for laughs :)

The actual AB5 program itself simply says "JVTI presents" and then goes straight to the main menu screen.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Alien Breed 5
« Reply #18 on: July 01, 2012, 11:17:34 pm »
Looks pretty nice. Also I like that boss :D

Just as an head up since you are new to the era of TI programming where animated screenshots are legion in calculator program showcases (as back when you were very active, no animated screenshot tool actually worked at all): In reference to one of the screenshot of the game you posted (that showed an incredibly long text intro) It's generally a good idea in a screenshot to skip directly (or within the first 5 seconds) to the actual gameplay or graphical intro stuff (if any), so that we do not have to wait half an hour for the text portion of the intro to finish. ;) Otherwise, some people will not bother waiting and they will think that all there will be in your game is text. Since it's gonna be updated in the future, it might be a good idea when you upload your updated file in ticalc.org archives to tell the staff to remove that screenshot from the archive page, to prevent people from fearing they have to go through a very long intro before starting the game. :P

It's ok though. At least you didn't wait 10 minutes into the screenshot before actually starting the game. ;D
« Last Edit: July 01, 2012, 11:19:50 pm by DJ_O »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline JamesV

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 276
  • Rating: +77/-0
    • View Profile
    • James V's TI-Calculator page
Re: Alien Breed 5
« Reply #19 on: July 02, 2012, 09:09:32 am »
Looks pretty nice. Also I like that boss :D

Just as an head up since you are new to the era of TI programming where animated screenshots are legion in calculator program showcases (as back when you were very active, no animated screenshot tool actually worked at all): In reference to one of the screenshot of the game you posted (that showed an incredibly long text intro) It's generally a good idea in a screenshot to skip directly (or within the first 5 seconds) to the actual gameplay or graphical intro stuff (if any), so that we do not have to wait half an hour for the text portion of the intro to finish. ;) Otherwise, some people will not bother waiting and they will think that all there will be in your game is text. Since it's gonna be updated in the future, it might be a good idea when you upload your updated file in ticalc.org archives to tell the staff to remove that screenshot from the archive page, to prevent people from fearing they have to go through a very long intro before starting the game. :P

It's ok though. At least you didn't wait 10 minutes into the screenshot before actually starting the game. ;D

Thanks DJ_O :)

Yeah I was wrapped to see that we can make really smooth animated .gifs now, so much better than 10-15 years ago lol!

It's all good, that particular screenshot with the 6 pages of text isn't part of the actual game, it was just a separate program that I put together quickly for a bit of a laugh as a "teaser", sort of like when teaser trailers are put out for upcoming movies. So when the actual game is released, it will be a separate file on ticalc.org, and thus, won't have all that text as an animated screenshot :)

Offline JamesV

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 276
  • Rating: +77/-0
    • View Profile
    • James V's TI-Calculator page
Re: Alien Breed 5
« Reply #20 on: July 05, 2012, 11:43:31 pm »
Here's another clip showing a few more things that have been coded in.



This clip shows:
  • Fire doors being closed, which in the case of this test level is a requirement to finish the level (in the released game there will be many levels that have fire doors that aren't required to be closed, they're just there in case you want to block access of some enemies, or in some cases, you might accidentally trap yourself.
  • The new pause/stats screen that shows your health, ammo, weapons, etc.
  • The ability to shoot doors open. Note that in the released game, it will take more than a few quick shots - the idea is that shooting open a door is a last resort in case you've run out of keys.
  • Enemies spawning, and respawning from the same trigger each time it comes on-screen, unlike previous instalments. This is more like the Team 17 originals.
  • The health bar temporarily popping up at the left of screen when you get hurt - it will also show up when you pick up first aid kits that replenish your health.
  • A new look power dome being shot.
  • The new look countdown timer using a custom font.

Offline JamesV

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 276
  • Rating: +77/-0
    • View Profile
    • James V's TI-Calculator page
Re: Alien Breed 5
« Reply #21 on: July 09, 2012, 12:09:56 am »
Well the majority of coding is now complete - the game engine is now in a very playable form, and with all the new features & improvements over ABIV that I was hoping to make :)

Here's another quick shot, showing one of the new features, which is that on one particular level, the player is shrouded in darkness, and thus only able to see a limited distance. Out of all the possible ways this could have been represented, I've gone for a fairly simple look, which imo was the closest I could stick to the original whilst dealing with monochrome graphics.



The next task is level layout and building for all 12 levels. As planned, the levels will be 60x48 tiles in size, much larger than the previous 32x32 levels in ABIV. I've sketched out the layout for levels 1 & 2, so I'll keep working away at it and start some actual game testing along the way :)

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Alien Breed 5
« Reply #22 on: July 09, 2012, 12:12:41 am »
I'm very impressed with the darkness effect!  I've seen kinds of raycasted shadow based systems before, but imo those systems have always been a bit sluggish.  Yours, while it doesn't cast shadows, is nice and fast and I think is the best overall way ^^

Offline JamesV

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 276
  • Rating: +77/-0
    • View Profile
    • James V's TI-Calculator page
Re: Alien Breed 5
« Reply #23 on: July 09, 2012, 01:12:55 am »
I'm very impressed with the darkness effect!  I've seen kinds of raycasted shadow based systems before, but imo those systems have always been a bit sluggish.  Yours, while it doesn't cast shadows, is nice and fast and I think is the best overall way ^^

Thanks! :)

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Alien Breed 5
« Reply #24 on: July 09, 2012, 01:43:00 am »
I'm curious how you did that, is it just a large mask masked over your tilemap? I dunno how your tilemapper works, but i guess you could even update only the center part of the screen. It looks great and in my opinion much more elegant (and probably much less of a headache to code :P) than those clunky blocks you often see. It's essentially a little radar :)

Offline JamesV

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 276
  • Rating: +77/-0
    • View Profile
    • James V's TI-Calculator page
Re: Alien Breed 5
« Reply #25 on: July 09, 2012, 02:17:14 am »
I'm curious how you did that, is it just a large mask masked over your tilemap? I dunno how your tilemapper works, but i guess you could even update only the center part of the screen. It looks great and in my opinion much more elegant (and probably much less of a headache to code :P) than those clunky blocks you often see. It's essentially a little radar :)

Yeah, essentially it is just a mask overlayed over the contents of gbuf using the "or" instruction.

The tiles are only ever drawn in full to the gbuf once, when the level is fully loaded. On levels without the above "dark" effect, each frame before drawing sprites the tile background is buffered, then sprites are drawn to gbuf and updated to the lcd, and then the buffered tile background is copied back to gbuf. On levels that have above "dark" effect, the same process is followed, but with the mask being applied each frame as the last step before updating gbuf to the lcd.

As for rendering & drawing the mask itself, the circle is 52 pixels in diameter, so as raw data it's stored as a 56x52 image (7 bytes per line x 52 lines = 364 bytes). The current method of processing it from that raw data works roughly as follows:

  • Based on the player y position on screen, calculates if any full horizontal lines (12 bytes of $FF on gbuf) are required at the top / bottom of the screen (outside the bounds of the circle).
  • For each horizontal line on gbuf that incorporates the actual circle "mask", it generates a 23 byte-long line, which consists of 8 x $FF bytes, followed by the 7 bytes (56 pixels) of correlating data from the circle image data, and followed by a further 8 x $FF bytes. Having this buffer then covers all possibilities of the player x position on screen.
  • Based on the player x position on screen, calculates which section of the 23 byte buffer is required, bit shifts that particular portion accordingly, and then applies it to the horizontal line on gbuf by "or"-ing it with each of the 12 bytes.

I haven't really optimised it yet either, so hopefully I can get it slightly faster :)

Offline JamesV

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 276
  • Rating: +77/-0
    • View Profile
    • James V's TI-Calculator page
Re: Alien Breed 5
« Reply #26 on: July 12, 2012, 10:35:35 am »
Level design can get a little monotonous.. So I quickly put together a second "teaser" program/clip, just for fun and also to show off the new splash screen that will form part of the main menu :)


Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Alien Breed 5
« Reply #27 on: July 12, 2012, 01:53:40 pm »
Looks very nice. :)


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: Alien Breed 5
« Reply #28 on: July 27, 2012, 11:27:58 pm »
Looking awesome.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."


Offline JamesV

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 276
  • Rating: +77/-0
    • View Profile
    • James V's TI-Calculator page
Re: Alien Breed 5
« Reply #29 on: August 01, 2012, 06:48:44 am »
Looking awesome.

Thanks tr1p! :)

Here are a couple of new clips. Nothing too fancy :) The first clip just shows level 1 in the basic on-calc tile editor I made, and the second clip shows a bit of basic gameplay from level 1.