Armor Effect Help/New Version Coming Soon!

Posted by gtvg on June 12, 2007, 12:27 a.m.

Armor Effect Help

I am having trouble coming up with a way to make armor look shiny. I don't know if you can do it with Game Maker, but I think it's a good idea. I have the player sprite, armor sprite, and the shine sprite. The player sprite is under the armor sprite. The shine sprite needs to be under the player but over the armor :(. I need the shine to not change angle but still follow the armor. Hard part, the shine needs to only show up on the armor. If anyone knows A way to do this or an example floating around somewhere, please tell me.

New Version Coming Soon!

I have done a little work on TWOK and hopefully I can release a beta soon. I need ideas on stuff to add. For now, I am working on the game engine. If you have ideas for quests or anything, tell me, but I'd rather see ideas on how I can improve what I have now. The next big thing I am working on is a town. Not too big, with a few stores.

My next blog will have the beta, mostly bug-free. Once I get the engine done, the rest will be a lot quicker.

LOTRO(Lord of the…)

I bought it today! If anyone on here also has it, tell me your username. I got it because the online fee is $10. But, it's not. :( I would have got WoW if I would have known that, it is a lot cheaper and I really like it.

3071

-GTVG

Comments

Xxypher 17 years, 6 months ago

lol phail

Jaakko 17 years, 6 months ago

WoW rox

Jaythediv 17 years, 6 months ago

About your armour;

How can you have the shine sprite under the player, but over the armour if the armour is above the player? Or is that just a mistake?

Can you not just get the armour to draw the shine sprite after its drawn itself?

e.g:

draw_sprite_ext(armour sprite with rotation and index etc)

draw_sprite(spr_shine,0,x,y)

Or you mean the shine sprite is bigger than the armour, or you just want to draw part of it? You could use the draw_sprite_part() function, if so. Although it may give your shine rectangular corners on 1 side.

Maybe make a sprite with the armour shape in the middle, transparent, and all round it solid colour, so it's like a stencil. Then draw the shine onto a surface and draw the armour stencil over the top so you're only left with an armour shaped shine?

Hope some of that is helpful in some way :)

gtvg 17 years, 6 months ago

Quote:
How can you have the shine sprite under the player, but over the armour if the armour is above the player? Or is that just a mistake?

No mistake, that's my problem.

The last thing sounds good, I'll try that.

s 17 years, 6 months ago

I was thinking on how to draw shine awhile ago based on a height map in an array or something

I got tagged as a retard over that cuz I didn't wna do my school work while thinking it over

flashback 17 years, 6 months ago

Surfaces and blending modes would work.