Ingenuity....

Published July 16, 2005
Advertisement
Hey everyone.


I couldn't get online for nearly the entire day today , so I'm a little behind on whats going on with everyone today. What really pissed me off about it was that when the internet went out , so did my cable tv. So there I was, faced with extreme boredom for the next 24 hours (all my friends are out of town but one, who went to compete in a bodybuilding show today). I started to think about what I wanted to stand out in my 4E4 project, Mojave. I think I'm going to try and have a little tweak added to the game depending on what timezone you're in. Examples of this are: dark levels + flashlight(more on that later), cloaked-when-standing-still enemies, etc.

I put an enemy in the game to test its gamelogic, and was pretty suprised by how damn wrong everything was. I was using sin instead of cosine, I had all the wrong variables in the A* routine, its a nightmare. I just hacked a simple little AI into it really quick, and then started working on more collision detection that would allow the player to slide along walls( right now it just stops you). I also worked on some placeholder art, as you can see in the screen below.



That stripy green stuff at the edges is scrolling, and is supposed to be sludge, but you cant tell because I used the same color for the sludge and the grass. The gray thing you see in the middle is a switch the makes a bridge at another place in the level. You can see the enemy, but it looks like the player, so its not that special.

I also worked on a flashlight effect. I was wondering how I would do that in a 2D game, as lighting wouldn't work. Then it hit me, The Stencil Buffer!!!!. I would render a triangle stretching from the player, off the screen, onto the stencil bufferm and only let it render parts of the level in the triangle. After about an hour of work, this was the result:



I think it's pretty cool , but you be the judge.

Well, thats about it for me, except for this one random thing I got in my PM inbox today:

Quote:
cani have the source codes for the game
if its a yes email them to me at (removed)
i promise i wont give to anybody unless you say i can


This was sent by someone who just signed up to GDnet today, had no posts, etc. I'm not sure if it's a joke or not.

Anyways, talk to you guys later.

Don't Forget To Try the New Angels 20 Version

I promise thats the last time I'm going to put this at the end of my entries[grin].




Previous Entry Cool Stuff...
Next Entry Bleh....
0 likes 4 comments

Comments

ukdm
Nice flashlight effect, could you not do a similar thing with the section outside the triangle where it is black? So you can still see basically what is around you but it is blurred or very dark. May look better than just plain blackness.

Strange private msg you got there, hope you got my not so strange one concerning a bug in Angels 20.
July 16, 2005 08:52 AM
Sir Sapo
Yeah, I sent you one back. I think I could use the stencil buffer in combination with a really dark quad put over everything but the flashlight, and that would get the effect you're talking about, I'll look into it.
July 16, 2005 12:58 PM
MotionCoil
its looking sweet. I like mechanics you have for the flashlight. How long has it taken you so far to code this beast? Aprox?

Oh, Angels 20- fantastic as ever. I am still very good at crashing the plane though [wink]
July 16, 2005 05:53 PM
Sir Sapo
Thanks for the praise. I've been actually coding for about 5 days now, but I'm reusing alot of stuff from Angels 20, and I planned it out pretty well, so I haven't hit an real roadblocks.
July 16, 2005 06:29 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

!

1181 views

'Roids

1491 views

Post Dva

1273 views

Untitled

1108 views

I'm a sad panda...

2119 views

Untitled

1012 views

Progress

1056 views

Angels 2X!!!!!

1478 views

T3H Progress!

1302 views

ZOMG!!!!

1182 views
Advertisement