Sign in to follow this  
  • entries
    271
  • comments
    969
  • views
    189143

Ingenuity....

Sign in to follow this  
Sir Sapo

159 views

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].




Sign in to follow this  


4 Comments


Recommended Comments

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.

Share this comment


Link to comment
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.

Share this comment


Link to comment
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]

Share this comment


Link to comment
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.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now