Discuss Scratch

RokCoder
Scratcher
1000+ posts

Tyrian - Episode 1

Scratch-Tyrian - Episodes 1 and 2


The classic arcade game, Tyrian, has now landed in Scratch! This is a full arcade game originally written by Eclipse Software and now very generously released by them as free open-source to the community!

Features
  • Full vertical scrolling shoot-em-up action
  • Eight complete levels
  • Nearly 2000 costumes
  • Six hidden levels to find!
  • Power-ups
  • Front weapons, rear weapons and side weapons!
  • Glorious sound effects
  • Secret cheat code to make your ship indestructible!
Controls
  • Ship movement - Arrows or WASD
  • Fire front and rear weapons - Space bar
  • Fire side weapons - Z or M
  • Change rear weapon mode - Enter
Instructions

Shoot everything and try not to get blown up! Score by collecting coins and gems.

Your ship is equipped with a simple laser gun which you can use to destroy enemies. By collecting power-ups you can improve the front weapon and also add side and rear weapons! Rear weapons often have two modes which you can toggle between.

Collect grey bubbles to power up your ship! It takes one bubble for your first power up, two for your second, and so on. When your ship is destroyed you lose a power level. When you have lost all of your power levels, the game is over!

Note that your front weapon also has a power bar at the top left. When this turns red release the fire button and fire a single shot for a special attack!




Not (currently) included from the original -
  • Forty-one individual music sound tracks - as it may already take a while to load on slower internet connections
  • Story mode - too many extra costumes to be feasible for a Scratch project
  • Two player (and network) games - not enough room left in the 5MB JSON for the extra code
  • Hidden game modes - as above
  • Difficulty levels - it plays at 30fps in Scratch which makes it a little easier anyway!
  • High scores - because Scratch cloud-hackers have ruined that for everyone

Last edited by RokCoder (July 22, 2022 21:30:34)

books1001
Scratcher
11 posts

Tyrian - Episode 1

Do I post bugs here? it freezes right here, just as you kill the boss

Last edited by books1001 (June 27, 2022 18:56:46)

mstone326
Scratcher
1000+ posts

Tyrian - Episode 1

I was just about to finish this dude off, you can see hit left then frozen on that screen. Waited about 5 minutes to see if it would unfreeze but I didn't. Amazing game!
https://imgur.com/a/QPj2ctQ
RokCoder
Scratcher
1000+ posts

Tyrian - Episode 1

mstone326 wrote:

I was just about to finish this dude off, you can see hit left then frozen on that screen. Waited about 5 minutes to see if it would unfreeze but I didn't. Amazing game!
https://imgur.com/a/QPj2ctQ

Thanks for letting me know. For some reason a variable called “_jump” had changed into a text string of “_jump” which really wasn't very useful. No idea how that happened but it's fixed. Hopefully you'll be able to get through the remaining levels now!
RokCoder
Scratcher
1000+ posts

Tyrian - Episode 1

books1001 wrote:

it freezes right here, just as you kill the boss
Nice screen shot - very helpful. That one is fixed now.
Cat-----
Scratcher
500+ posts

Tyrian - Episode 1

Since some of the features would make the project over 5 MB, then you could put a link to a Google Drive .sb3 file that people can download and upload to TurboWarp. An example of a project that does this is here: https://scratch.mit.edu/projects/683589591/
RokCoder
Scratcher
1000+ posts

Tyrian - Episode 1

Cat----- wrote:

Since some of the features would make the project over 5 MB, then you could put a link to a Google Drive .sb3 file that people can download and upload to TurboWarp. An example of a project that does this is here: https://scratch.mit.edu/projects/683589591/
It crossed my mind to do that but it would be a lot of work that few people would likely ever see. Similarly, I could release episodes 2, 3 and 4 after a few hours more work but the project is currently marked as NFE for some reason so I'm not sure it's worth it.
ominouswolf
Scratcher
65 posts

Tyrian - Episode 1

*Thinks of Secret cheat code* Up up Down down Left right left right B A START
RokCoder
Scratcher
1000+ posts

Tyrian - Episode 1

ominouswolf wrote:

*Thinks of Secret cheat code* Up up Down down Left right left right B A START
You can't beat the classics! But no I see you've found it now though - congrats!
RokCoder
Scratcher
1000+ posts

Tyrian - Episode 1

Bumping for EPISODE 2
real-animator
Scratcher
1 post

Tyrian - Episode 1

can anyone tell me the cheat codes? pretty please
RokCoder
Scratcher
1000+ posts

Tyrian - Episode 1

real-animator wrote:

can anyone tell me the cheat codes? pretty please
Everything you need to know is in the instructions…
PurplePyramid
Scratcher
68 posts

Tyrian - Episode 1

Love it! Reminds me of Galaga I used to play in the arcades.

I wonder why it's so laggy on scratch. I'd imagine making such a game directly in scratch would run pretty well - just a scrolling background and some bullets to keep up and render with. Could it be the porting that makes it run slower?
RokCoder
Scratcher
1000+ posts

Tyrian - Episode 1

RedditExplorer89 wrote:

Love it! Reminds me of Galaga I used to play in the arcades.

I wonder why it's so laggy on scratch. I'd imagine making such a game directly in scratch would run pretty well - just a scrolling background and some bullets to keep up and render with. Could it be the porting that makes it run slower?

If you like Galaga then you should try my Scratch version!

There's a massive amount more than a scrolling background and some bullets to render Have a look at the code inside the project! Porting doesn't make things faster or slower - it just means transferring a game from one platform to another. There are some more optimisations I could have made in the process but it depends how much time you want to throw at a project. It was a huge undertaking as the source code (and data) for the original game are massive. As an example, the background isn't simply a scrolling image - there are up to four layers of background scrolling at different speeds with each background layer being made up of small tiles that are rendered separately. There are also huge amounts of sprites being displayed at many points with hundreds of bullets and complex layered explosions. There really is a lot going on. The amount of costumes in the game are huge as well. Sadly, I had to limit the game modes because of this and, even then, it doesn't always load in native Scratch because of the number of costumes.

I could go on but I imagine that gives you an idea
PurplePyramid
Scratcher
68 posts

Tyrian - Episode 1

That galaga is pretty sweet!

I was thinking it might be taking up extra time to read the json file and convert it to scratch blocks if that is how it is running. But I could see lots of small costumes on the stage slowing it down. Especially if that background is lots of small tiles - I thought it was more just a few big ones.

Is there a reason you use a custom comment block instead of the scratch comment feature?

Last edited by PurplePyramid (Sept. 15, 2022 16:19:50)

RokCoder
Scratcher
1000+ posts

Tyrian - Episode 1

RedditExplorer89 wrote:

Is there a reason you use a custom comment block instead of the scratch comment feature?
It fits in with the code better in my opinion. Scratch comment blocks tend to go where they want and sometimes detach themselves completely. I guess it's more in line with the text based languages I use.
YanagiJuniper
Scratcher
1000+ posts

Tyrian - Episode 1

RokCoder wrote:

RedditExplorer89 wrote:

Is there a reason you use a custom comment block instead of the scratch comment feature?
It fits in with the code better in my opinion. Scratch comment blocks tend to go where they want and sometimes detach themselves completely. I guess it's more in line with the text based languages I use.
that makes perfect sense>
TheTeacherOfLogos
Scratcher
31 posts

Tyrian - Episode 1

Secret cheat code: Spam space at 432871982 CPS for 3 minutes, close your browser, kick your computer, enter the metaverse for 5 minutes, become unalive, come back to life, delete System32, and now you have infinite lives. No need to thank me.
Rakz16
Scratcher
2 posts

Tyrian - Episode 1

TheTeacherOfLogos wrote:

Secret cheat code: Spam space at 432871982 CPS for 3 minutes, close your browser, kick your computer, enter the metaverse for 5 minutes, become unalive, come back to life, delete System32, and now you have infinite lives. No need to thank me.
r u serious?

Powered by DjangoBB