Espion

Posted by s on Feb. 4, 2007, 3:03 p.m.

ARPG is on hold while I study level design. Any tips?

Espion is, however, progressing well.

I've set up 3 levels and a system to have zooming in GM5. I have to make an array of all the tiles and then mess with screen size and image scales and stuff with a scal variable that is checked for EVERY created object. Ya, so I screwed my effiecncy there. The people are 8x8 sprites,2 colors and not transparent. CrossHair has colors in the middle so it is more visible and I'm going to start work on the non-shooter part of the game once I polish it. Any good way to make jumping in platform games? I always have people who just fly into the sky….never to return……..I also plan to work on the scroller, perhaps make it not even flow but more exploratory like.

My main problem is drawing shadows in GM5, though I have an idea. I want to draw a polygon with vertices based on a few trig calculations. I know the placement of the wall and the placement of the user,or source of light. That gives me a 3 lengths with pythagorean therom and that can be expanded and stuff. Then, I place the points and draw it down. Anybody able to clear this up, I'm not the greatest trig pro.

And for short blog tags, this is longer than my LevelDesign blog…which was 6 lines, and comments said a non-short blog is longer than that blog.

QUERY=Is it wrong to put your own games in your list of favourite games?

QED

Comments

thunderbolt 17 years, 10 months ago

Drawing realistic shadows is a big problem. It's too bad that there's no built-in lighting support in GM. So if you want some simple shadows, you can use draw_sprite_ext command. But i'm unsure that command exists in GM5. There are also some lighting/shadow engines. I saw a good one at GMC. ( it's name was Luminance i remember, maybe that was GearGOD's example, not sure. )

s 17 years, 10 months ago

No,I don't want realistic shadows.I just want blackness.Else,if alpha drawing shapes was allowed,I'd draw an alpha black shape and keep drawing it as I narrowed the polygon.

thunderbolt 17 years, 10 months ago

I was meaning that. Putting a blackness with some alpha does great work. It would be good if you could do that. There's one more way to do it. You can duplicate a sprite and make its transparency anything you want with GM's sprite editor. Then you can write these into that object's drawing event:

draw_sprite(x+4, y+4, spr_player_shadow);
draw_sprite(x, y, spr_player);

That may make a desirable result. Filesize will be bigger and display wouldn't be very smooth but it can be desirable.

Answer to query:

No. It's not wrong. If you love it, you can always fav it!

s 17 years, 10 months ago

Oh no,thats not the type of shadow I'm meaning.I mean like FogOfWar,LOS type shadows with enemies hidden,and like being stealth also in that way.

thunderbolt 17 years, 10 months ago

Ok i understanded what you want. There are lots of examples about that. You should search GMC a bit.You know GMC is a trashcan but there are rarely good things if you can find.

s 17 years, 10 months ago

If GMC is GameMakerGames,I find the server way to slow…

thunderbolt 17 years, 10 months ago

No, i said Game Maker Community. But its slow too. GameMakerGames is what people call GMG.

s 17 years, 10 months ago

Ya,I figured.I'll just ask my friend who is going to Waterloo for math some trig questions.

gtvg 17 years, 10 months ago

Quote: QUERY
QUERY=Is it wrong to put your own games in your list of favourite games?

If it is your favorite, go ahead!

uglyman 17 years, 10 months ago

I could help with level design. Just let me know what you want…