Allegro.cc - Online Community

Allegro.cc Forums » The Depot » My game to be

This thread is locked; no one can reply to it. rss feed Print
 1   2   3 
My game to be
CursedTyrant
Member #7,080
April 2006
avatar

Quote:

Very nice! Is that skeletons lying in the blood? Perhaps the blood should splatter in the same directions as the bullets? (You blood piles seems to be gravity droppings, if I may speak CSI-eEnglish;) )

No, those are the aliens :P (at the moment, anyway). The blood does splatter in the same direction as the bullets, tough I'll have to strech it in that direction too I guess.

---------
Signature.
----
[My Website] | [My YouTube Channel]

kentl
Member #2,905
November 2002

Quote:

No, those are the aliens :P

Oh, no pun intended! I guess it's obvious when you run the game and not just look at a still picture. :)

Quote:

The blood does splatter in the same direction as the bullets, tough I'll have to strech it in that direction too I guess.

Yeah some stretching would make it look even nicer, but it looks nice as it is as well.

fuzinavl
Member #4,105
December 2003
avatar

Dang you CursedTyrant! :) I was working on a unified colored light and shadowing through colored glass lib for OpenLayer.
Circular / Elliptical lights should even cast shadows correctly.

Unfortunately, the OL 2.1 pre-compiled update doesn't blend correctly between
non-back_buffer canvas#1 and non-back_buffer canvas#2. :(

I ran into trouble compiling the latest OL SVN in DevC++.

What version of OL are you using?

__________________________
fuzinavl@hotmail.com (Pittsburgh)
__http://fuzinavl.tripod.com/__

CursedTyrant
Member #7,080
April 2006
avatar

One of the snapshots from a week or two ago, but I have no idea which one.

Do those blood stains look better?
{"name":"589814","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/6\/e\/6e93adb42cd81868fad00c39e867f930.jpg","w":427,"h":376,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/6\/e\/6e93adb42cd81868fad00c39e867f930"}589814

---------
Signature.
----
[My Website] | [My YouTube Channel]

FMC
Member #4,431
March 2004
avatar

maybe a bit too stretched?

[FMC Studios] - [Caries Field] - [Ctris] - [Pman] - [Chess for allegroites]
Written laws are like spiders' webs, and will, like them, only entangle and hold the poor and weak, while the rich and powerful will easily break through them. -Anacharsis
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover. -Mark Twain

CursedTyrant
Member #7,080
April 2006
avatar

How so?

---------
Signature.
----
[My Website] | [My YouTube Channel]

FMC
Member #4,431
March 2004
avatar

I'm not sure, maybe in movement it's right, but as a still picture the blood trail seems too long

[FMC Studios] - [Caries Field] - [Ctris] - [Pman] - [Chess for allegroites]
Written laws are like spiders' webs, and will, like them, only entangle and hold the poor and weak, while the rich and powerful will easily break through them. -Anacharsis
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover. -Mark Twain

Zaphos
Member #1,468
August 2001

Quote:

Yeah, I know. It's because I'm calculating each ray of light, and it just works drastically slower if I make it any more smooth.

Hmm, I found the effect pretty jarring. I think it would be worth hacking up a fix.
One way you could try to handle this is to remember the rays you sent last frame, and, if you're sending a ray which is 'close to' a ray from the last frame, adjust the new ray so that it goes through the collision point of the old. You'll end up with slightly more uneven, but more across-frames-consistent, coverage of the same space. (Don't do this kind of adjustment to the outermost rays, though, as you'll want the range covered to be consistent.)

CursedTyrant
Member #7,080
April 2006
avatar

It should be fixed to the point that it's no longer noticeable unless you look for it specifically. The frame rate doesn't go down much, as I narrowed the flashlight's cone, which in turn produced a more realistic version of the flashlight.

The link is the same:
http://cursedtyrant.freshsite.pl/tests/shooter[ol].rar

---------
Signature.
----
[My Website] | [My YouTube Channel]

Zaphos
Member #1,468
August 2001

Cool, looks great. But now the side of the flashlight's light cone 'snaps' to the edges of the tile, so the flashlight width actually changes as you rotate over that space. It's pretty noticeable, at parts. You should try to avoid applying your fix to the rays at the very edge of the flashlight's light-cone.

Also, I noticed I get the 'polygon edges are visible' thing too. I don't get it in the OL demo, so I'm not sure why it's showing up here ... ???

CursedTyrant
Member #7,080
April 2006
avatar

There's nothing there that would cause it on its own. I only draw the tiles, the objects, blood, and the shadows. Maybe Flad could shed some light on this, wherever he is.

EDIT: The link above is updated. It's about as smooth as I can make it. Besides, it's not as if anyone will notice a little bit of jittering on the edges of the flashlight in a fast paced shooter.

EDIT2: I always loved a good flamethrower.
{"name":"589818","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/f\/4fbc3707d3cadb545c4b3d0d5c6464ec.jpg","w":429,"h":410,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/f\/4fbc3707d3cadb545c4b3d0d5c6464ec"}589818

---------
Signature.
----
[My Website] | [My YouTube Channel]

Zaphos
Member #1,468
August 2001

The latest flashlight effect is great. Nice job!
Ah, and the flamethrower is pretty awesome too :)

Regarding the polygon edges, it's almost definitely to do with OpenLayer internals, so, yeah, Flad would be the one to ask. Looks like there's a missing GL_CLAMP_TO_EDGE, except that these are probably drawn as QUADs, so I wouldn't think you'd need to specify anything like that ...

CursedTyrant
Member #7,080
April 2006
avatar

Can't decide which looks better:
{"name":"4fbc3707d3cadb545c4b3d0d5c6464ec.jpg","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/f\/4fbc3707d3cadb545c4b3d0d5c6464ec.jpg","w":429,"h":410,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/f\/4fbc3707d3cadb545c4b3d0d5c6464ec"}4fbc3707d3cadb545c4b3d0d5c6464ec.jpg

{"name":"589822","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/e\/ee0e0be4f3a85fb35e2e92da955ad537.jpg","w":368,"h":340,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/e\/e\/ee0e0be4f3a85fb35e2e92da955ad537"}589822

---------
Signature.
----
[My Website] | [My YouTube Channel]

HoHo
Member #4,534
April 2004
avatar

Although you said it is only Windows program I tried it in Linux through Wine. Unfortunately screen was mostly filled with black but that is most likely OL/AGL problem. I did saw the framerate, flashlight and a big dot in the lightcone. FPS was way too erradic to get a decent number. With shadows and flashlight it was jumping around 150-450.

From the screenshots it looks quite nice. Reminded me of a game called "Tapan Kaikki" that I once enjoyed quite a bit :)

http://www.jonneweb.net/pelit/file/1233/tapan-kaikki-4:-bloodshed/
http://www.jonneweb.net/pelit/file/363/ultimate-tapan-kaikki/

__________
In theory, there is no difference between theory and practice. But, in practice, there is - Jan L.A. van de Snepscheut
MMORPG's...Many Men Online Role Playing Girls - Radagar
"Is Java REALLY slower? Does STL really bloat your exes? Find out with your friendly host, HoHo, and his benchmarking machine!" - Jakub Wasilewski

CursedTyrant
Member #7,080
April 2006
avatar

If I could get AllegroGL to work in Debian, I could look into making a .deb file, which should work on Ubuntu as well. Or just compile a Debian binary.

---------
Signature.
----
[My Website] | [My YouTube Channel]

Zaphos
Member #1,468
August 2001

Quote:

Can't decide which looks better:

I think the top one looks more exaggerated, hence 'cartoony', while the bottom one looks more 'real'. Which is better will probably depend on the rest of the art -- I think 'real' is probably more fitting, for you.
But really, both look good to me.

Quote:

I tried it in Linux through Wine.

Wine and Allegro-based programs don't play nice, IIRC.

Quote:

If I could get AllegroGL to work in Debian

You could try asking for help in the "Installation, Setup & Configuration" forum -- there's a fair chance Bob or someone else could help you through, or at least figure out why it's broken and start working on a fix.

HoHo
Member #4,534
April 2004
avatar

Quote:

Wine and Allegro-based programs don't play nice, IIRC.

Most regular Allegro programs work, or at least their graphics is correct. There were some issues with keyboard, though.

__________
In theory, there is no difference between theory and practice. But, in practice, there is - Jan L.A. van de Snepscheut
MMORPG's...Many Men Online Role Playing Girls - Radagar
"Is Java REALLY slower? Does STL really bloat your exes? Find out with your friendly host, HoHo, and his benchmarking machine!" - Jakub Wasilewski

Evert
Member #794
November 2000
avatar

Quote:

If I could get AllegroGL to work in Debian, I could look into making a .deb file, which should work on Ubuntu as well. Or just compile a Debian binary.

It would be next to useless to anyone else though. Just tar gzip the result and then everyone can read it.
Better yet to release sourcecode so people can compile it themselves if your binary doesn't work.

Quote:

There were some issues with keyboard, though.

Keyboard and mouse, actually. Can anyone check if this has been fixed in a recent release of Wine?

Paladin
Member #6,645
December 2005
avatar

CursedTyrant, if you could somehow "combine" the two flamethrower effects, I think that would look best. The top one looks more like fire, but it's a bit unrealistic, while the bottom one is realistic, but it looks a bit too much like smoke. :-X

CursedTyrant
Member #7,080
April 2006
avatar

And so I did.
589830

---------
Signature.
----
[My Website] | [My YouTube Channel]

Richard Phipps
Member #1,632
November 2001
avatar

Make the 1st part orange->yellow and the 2nd part grey like smoke. (See the openlayer demo)

 1   2   3 


Go to: