Showing posts with label graphics. Show all posts
Showing posts with label graphics. Show all posts

Monday, March 22, 2010

Money talks


Arrow keys for movement and crouching, spacebar to jump. Use arrow keys while swinging to increase his spin. Hold down spacebar to make the jump last longer. Hit spacebar again when holding on to a wall to wall jump. A is for punch and D for kick. Press S to hold a grenade, the release S to throw it (be careful - hold it too much and you'll blow up!


It’s a big update today!

Thing is, I don’t think anybody reads this actual blog post anymore (apart form you, Xenelement, thanks!) so I’m going to take this opportunity just to waffle on for ages, stream-of-consciousness style.

Oh and don’t worry – I removed the sounds because it was taking up too much time to test the movie. Can anybody explain how to compress MP3s to be directly used in Flash? No matter what I do, it wants to convert them as it compiles, apart from one mp3 which I downloaded from a site and which allows flash to “use imported MP3 settings”. How can I other MP3s that also get to use their own imported settings?

This was another one of those updates that saw disparate parts of the project coming together. I imagine you’ve noticed that there’s now a shop, and money to be earned! How do you earn it? You beat it out of your enemies, that’s how.

Everything is extra cheap at the shop so that you can buy stuff!

Now some of you might not have realised that there is a bigger map than the mini-map. Press M to access it. Do you remember that post oh-so-long ago where I first introduced the map? Yeah, it was horrendously ugly.

A couple of posts ago I updated it to have a lot of it drawn automatically for me, so that I don’t have to worry about drawing a map as well as designing a level. But it was still ugly.

The mini map is what did it for me – I decided to make the mini-map’s big brother share the same aesthetic, and here it is in all its glory:


I know it says “press s to set flag”, but ignore that for now, please!

This was plagued by a common problem I have while working on this project – wasting time on stupid nonsense. Specifically I wasted time on:

- making the screen to the right show the correct values for x and y (they are in metres by the way)

- adding rotation (what on Earth could be the point?). That took me ages to get right.

I also worked a pretty long time on the shop. It makes sense, though – I imagine in the future (and there will be plenty more games in the future) it’ll be useful for me to have a shop, and what with the flexibility of object orientated programming, a lot of what I’m doing now can be re-used again in the future.

With the shop, the biggest obstacles were actually graphic-design related, as opposed to programming. The two main issues were the holotec armour suit and Snotty Sam.

I started with the holotec armour, a blatant rip-off of the sort of energy field armour in the tremendously fantastic Mass Effect 2 (I don’t think you could actually see the energy armour in the first installment, which was also wonderful).

So I happily drew highly intricate, shiny energy armour for Dreg, which looked great, but when I loaded up the game, it was all so small that is was just a nasty mess (to be honest, it’s still a bit of a nasty mess, but whatever, I have to make this damn game!).

By the way – the armour does actually work – if you’ve got all of the holotec armour you’ll receive only 55% of the damage dealt to you…

Anyway, I quickly discovered that to make something visually appealing, I had to make it big, fun and simple. Hence the huge shoulder-pads and silly helmet. Now the armour adds to dreg’s silhouette considerably, in a way it has to, so as to compensate for its transparency. Then came drawing the shop, and giving it a salesman.

The thing is, Snotty Sam has been a character in Disarea for aaaages (when I was 18 I wrote a crappy sci-fi book set in the world – I write more about this in my ancient university-era site, which also has the comic).

The thing is, I’d always known Snotty Sam was an amalgamation of alien bits and bobs, due to an unpleasant experience in the badlands (he hints at this if you let him chat with you in the shop).

This was fine in the book, because that was all I needed to do – write that he’d been patched up with alien pieces, and that was it. Having to draw the bugger, on the other hand, posed a whole other problem.

The thing is, I’d never taken the time to properly visualise what Snotty Sam looked like, and I tried to draw him anyway. The stupid thing is, I already knew that this was a stupid idea (again, I wrote about this five years ago!), but I had so many things I needed to do in the game that I wanted to rush it. Obviously, this only meant more time-wasting.

So finally I gathered up the self-discipline to figure out what I wanted him to look like. Then Suddenly it was there, and here he is!



Again, simple, big silhouette, minimal alien modifications but a drastic change from his original form – though in the book it was fine to have him be a complex, amorphic mass of alien organs, it just doesn’t work visually (at least, not within my limited abilities!)

I went through a similar process with the currency – should I use coins? Symbols? AAARGH! Then I thought I’d just rip off Zelda. That was a solution I was happy with. Tell me what you think!

Thursday, October 15, 2009

Suited and Booted


Arrow keys for movement and crouching, spacebar to jump. Use arrow keys while swinging to increase his spin. Hold down spacebar to make the jump last longer. Hit spacebar again when holding on to a wall to wall jump. A and D to attack.

See below for a list of Dreg's fight moves.



Urgh, today was a lot of work...

I did to Dreg what I'd done to the thugs, and it was generally a rather horrible experience. As I mentioned in the previous post I had to do a few changes to the Thug MovieClip for the variety of clothing to work, and this had to be done for each bit of animation. I spent a good five hours today just converting graphic symbols into MovieClips. It was horrible.

But after I'd done all that, I was able to give Dreg a suit! I think he looks dapper, don't you? With his cheesy big collar and his cheesy white socks...

Also, after all the fine tuning I'd done with collision detection regarding moving objects, I'd screwed things up in other areas and had to fix them today. I also added a very simplistic preloader (I had to read my own tutorial to remember how!). It was all rather difficult work. So I decided to cheer myself up by doing this:


I think it's hilarious. I might use as a billboard within the game. Disarea is the name of the world, by the way.

Anyway, I feel that things are shaping up!

Once again, for newbies, here are the fighting moves:

punch him in the face lots:
A + A + A

kick'im:
D

upper-cut:
DOWN + A

get his ankles:
DOWN + D

dirty my trousers:
D while running

flying kick:
D while jumping

kick 'im onto 'is butt (more powerful kick with ever-so-slightly different animation):
A + A + D
OR
DOWN + A + D (this one is fun - you fling him into the air then kick him off into the distance)

Sort of roll over backwards then then kick him in a sensitive place, thereby flinging him away:
A OR D while moving into him

No, look over there!
move into him and press A while he's facing away from you

slingshot! (my favourite):
Run towards him and press A just as you get to him

Double dragon rip-off:
DOWN, release DOWN and press D while rising.

Wednesday, October 14, 2009

Variety is the spice of fight


Arrow keys for movement and crouching, spacebar to jump. Use arrow keys while swinging to increase his spin. Hold down spacebar to make the jump last longer. Hit spacebar again when holding on to a wall to wall jump. A and D to attack.

See below for a list of Dreg's fight moves.



Wahey!

Well, for those of you who come regularly, I'm afraid there's nothing new gameplay wise for you to enjoy. I've been working on an essentially aesthetic thing... the thugs are all different now!

I've taken advantage of the ability to play around with movie clips to give each thug his own look. It's all rather simple, really, but the problem was that I had set up the characters awkwardly, and I spent a lot of my time going through the thug movieclip and fixing it (namely, replacing graphic symbols with MovieClips). It was slow, dull and annoying. Now I have to do it with Dreg too, argh!

But at least what this means is that in the future I can make a character, then whenever an instance of that character is created he'll be a little different to the other instances, making the game feel that tiny bit more varied and organic.

I've also made them slightly different sizes, to add to the fun!

It also means that as the player buys new items for Dreg, they can alter his appearance, making everything very cool.

This is also an opportunity for you to immortalize yourself on the rankings page. For those of you who are new to this, these are the fighting moves:

punch him in the face lots:
A + A + A

kick'im:
D

upper-cut:
DOWN + A

get his ankles:
DOWN + D

dirty my trousers:
D while running

flying kick:
D while jumping

kick 'im onto 'is butt (more powerful kick with ever-so-slightly different animation):
A + A + D
OR
DOWN + A + D (this one is fun - you fling him into the air then kick him off into the distance)

Sort of roll over backwards then then kick him in a sensitive place, thereby flinging him away:
A OR D while moving into him

No, look over there!
move into him and press A while he's facing away from you

slingshot! (my favourite):
Run towards him and press A just as you get to him

Double dragon rip-off:
DOWN, release DOWN and press D while rising.