Axel Eriksson : Group 9 : Flight of the Giraffa
New week, new assignments…
This week and the latest week I have been working on another power up, not the one with lazer beams. This one contains meteors, meteors that spawn randomly from the right side going left.
When I thought of doing this assignment I took upon my self, it felt pretty logical and easy to do. I was wrong but at the same time right, first it was a bit slow but when it all went smooth everything fell into pieces and I knew exactly how to do it. I started by coding a file that can read an object and draw it on the screen. If you call the method to be worked through. With that said, I mean that you make a code for something that works perfectly fine, but it does not run automatically and the object is drawn out on the screen. It is not that simple, you have to call the whole code you just created to make it run through it and do everything you want to. You could say that it is like a system where you need to push the button to make it work, but in this case the button is call. In the picture it is the game loop, everything need to be called in the game loop to make it a part of the game.
This meteor power up comes from the right side flying towards the player, it is not yet fixed that it targets the players position when it spawns so it just goes from a randomly place from the right side and flies to left. This makes it a bit easier to position yourself, but will be changed soon enough. If the player gets hit by this meteor you will die, but their is a way you can get an advantage by these meteors. The only thing you have to do is shooting at it till it explodes, that makes it a chance to spawn a a rainbow meteor that you can be destroyed as well by attacking it. Now if you succeed by destroying both the meteor and then the rainbow meteor it will clear the whole screen of enemies, this is a good way to make it easier to get out of sticky situations when playing the game and are surrounded by enemies.
That is what I did last week and I hope you understand everything, even if the grammar is completely crap, hehe..
rojossite said:
Hello!
I think your blogpost is pretty clear on what you have done this week. You make it easy to understand the logic behind the programming even though it is pretty complicated. The pictures that desribes the logic and how it all works makes it even easier to understand.
It is nice to see that you have used easier language and pictures instead of going in and describing the code which could make people who doesnt program clueless. I notice this every week when we comment other blogs, this includes myself aswell.
The only thing i can mention is that you dont desribe any problems or issues you encountered this week Perhaps that wasnt the case, perhaps im just stupid and cant see it but anyways that would have been interesting to read.
The meteor power up sounds like an interesting mechanic that you have to destroy the meteor to sweep the screen of enemies. It should probably make the power up funnier and not a “press a button, everything dies”-thing. I like the designing choice you made by implementing that kind of mechanic.
Overall a good and interesting blogpost, it could use some spell check and the grammar as you mention is a little weak but i can still understand what you mean. So it is not that problematic.
LikeLike