Per your comment on the Doodynew project...I was not insulted but I am intrigued by your reference to LiveJournal. Could you please expand? I tried to respond a few days back but the server was having some sort of emotional breakdown and my response got blown away enough times that I decided to let it go for a bit.
Nice movement. I like the feel of the ship...very lively! The talking rock is amusing as well. I look forward to the completed version. Please watch the language with the titles and comments though...this is an all-ages site and we like to keep it clean and friendly.
Ah! You have already discovered the "interesting" behavior that happens when a broadcast is recieved by a routine tied to that while it is already running! It took me a long time to figure that one out. If you want to see my solution...check out this (link to project)
bugger! If i'd known you'd done that i would have started on something else, as it's basically all I was aiming for but faster and more polished (however: no aliens!) :D .... though not like i thought to search beforehand. i was doing it more for my own amusement though. I'll be interested to see if your solution was the same as mine. I think if I'd coded from the start with knowledge of that effect I would have built some of the core routines differently, made different variables...
AAAAAAAAAAAAAAAAAAAAAAAAAAARRRRRRRRRRGGGGGGGGGGHHHHH <<< me halfway through coding this beast. But hey, it works now! Couple of silly bugs but nothing fatal. The slowdowns when there's 5 bullets, a ship and a rock on screen don't bode well for the plans to have upto 20 rocks (5 big ones splitting to 10 medium ones splitting to...) at once, though. For now, just try to shoot the rock as often as possible until it pwns you
trying to get some simple asteroids type thing on the go
this version (0.2.2) with OMG SO MANY CODE KLUDGES to get around a variety of wierd bugs and/or quirks of how Scratch works and schedules its routines. As other people have said before - heavy abuse of the broadcast system just to keep things sort of in synch.
and once again trying to dodge the spectre of half the sprites and text not showing up online. still under 64kb though!
(this version with uncompressed audio as i think Scratch's attempt to "compress" my already very small blurps actually made them larger as well as lower quality - it just reported uploading 92kb when it's only 63 on disk. EDIT: 106kb allegedly. Dunno where the other 43k is coming from unless its upconverting some stuff unnecessarily - the files as I made them come to something like 20k, and the graphics are about similar. Anyway, it does sound clearer so I'm keeping this one.)
so far i'm succeeded in get the starfield and ship movement working (including hyperspace), a couple of retro sounds and everything to initialise properly
also: shooting, a floating rock, death, score...
i'm not too confident in my ability to get a great deal more than this working reliably, there's just so much craziness involved in the fault tracking. I literally lost about two hours trying to figure out why my bullets were sometimes freezing in midair and not disappearing til I realised it was because WHEN A NEW BROADCAST IS RECEIVED IT KILLS THE OLD INSTANCE OF THE BROADCAST-CONTROLLED SCRIPT STONE DEAD. Without even a chance for the bullet to disappear gracefully, or in my case, register its death with the control system. Arrrrgghh.
So my dreams of multiple rocks, splitting apart into small rocks when shot (I already have the gfx drawn), little randomly appearing aliens, multiple levels (increasing no's of and faster rocks), possibly ship friction for those who don't like "classic" roids .... may have to go on hold until I eat some genius beans.
That and ironing out the self-made bug that means you can still shoot even when dead/hyperspacing :)
Comments
You need to be logged in to post comments
Add a Comment
Per your comment on the Doodynew project...I was not insulted but I am intrigued by your reference to LiveJournal. Could you please expand? I tried to respond a few days back but the server was having some sort of emotional breakdown and my response got blown away enough times that I decided to let it go for a bit.
Nice movement. I like the feel of the ship...very lively! The talking rock is amusing as well. I look forward to the completed version. Please watch the language with the titles and comments though...this is an all-ages site and we like to keep it clean and friendly.
Ah! You have already discovered the "interesting" behavior that happens when a broadcast is recieved by a routine tied to that while it is already running! It took me a long time to figure that one out. If you want to see my solution...check out this (link to project)
bugger! If i'd known you'd done that i would have started on something else, as it's basically all I was aiming for but faster and more polished (however: no aliens!) :D .... though not like i thought to search beforehand. i was doing it more for my own amusement though. I'll be interested to see if your solution was the same as mine. I think if I'd coded from the start with knowledge of that effect I would have built some of the core routines differently, made different variables...
AAAAAAAAAAAAAAAAAAAAAAAAAAARRRRRRRRRRGGGGGGGGGGHHHHH <<< me halfway through coding this beast. But hey, it works now! Couple of silly bugs but nothing fatal. The slowdowns when there's 5 bullets, a ship and a rock on screen don't bode well for the plans to have upto 20 rocks (5 big ones splitting to 10 medium ones splitting to...) at once, though. For now, just try to shoot the rock as often as possible until it pwns you