SFML community forums

General => SFML projects => Topic started by: Estivo on July 16, 2013, 08:34:33 pm

Title: Untitled (Zombienation) - 2D survival zombie shooter
Post by: Estivo on July 16, 2013, 08:34:33 pm
Hi. As you can see I put video in old LTBL topic.

Zombination will be 2d top down shooter. It will be better Dead Frontier 2D. At this moment I plan that will be only single player with wide (huh) open world. Main character of the game will be farmer who live outside near town. One day was nuclear attack and people hide in bunkers. You slowly eat your meal and getting out of them. One day you leave your house and try to live outside.

I plan that game will be 90% in darkness.

(http://warsztat.gd/screens/af4958afe27eee8a79ed34aad5478b3f.png)

http://www.youtube.com/watch?feature=player_embedded&v=LAQvgAOrVww

At this moment I rewrite some code and try to improve (visualy) my code. You can see unfinished inventory. It will be with slots, and based on weight so you could put two heavy thing in the bag and have so empty spaces but you couldn't go fast because of overweight.

I'm using little modified LTBL 1.5.1. thanks for lolz
Title: Re: Zombination - 2D survival zombie shooter
Post by: Erikpetrov on July 16, 2013, 08:38:39 pm
It looks very nice.I like it.I am waiting for the release.Keep going.Please post more info.I want to see the website.
Title: Re: Zombination - 2D survival zombie shooter
Post by: eXpl0it3r on July 16, 2013, 10:25:44 pm
Looks interesting! You should definitely keep us updated on your progress.

Btw. since you don't have a license for FRAPS, why not use something free and open source instead: Open Broadcaster Software (http://obsproject.com/)
Although it sounds, like it's only made for broadcasting, you can actually record everything to your hard drive as well. ;)
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on July 16, 2013, 10:49:53 pm
I love zombie games :x I want I want :(
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on July 16, 2013, 10:55:17 pm
Thanks for OBS. I used fraps because my D3DGear trial expired :( Now I'm rewriting many function so you have to wait for progress. Last thing I write was inventory. I have unfinished Object editor. Anyway I have to rebuild (delete) map and map manager code and write it one more time.

All graphics are placeholders. Graphics will be looking like that (not in game look ( not yet ;) ).

(http://www11.speedyshare.com/RctRU/download/make-up.PNG)
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on July 25, 2013, 11:19:18 pm
A minor update. I worked on spot light and I had a little problems. At first my mistakes as working on uninitialized pointers and second on LTBL problem that I found. LTBL have good QuadTree, but lolz don't wrote one line that made spot light useless. System check for AlwaysUpdate and mar it as RequiredUpdate but doesn't check for changed AABB, so I add one bool to Point Light Class and one more if statement for updated checking, so if you have spot light that AABB is calculated when it rotate.

http://www.youtube.com/watch?v=MTLt-stybpA&feature=youtu.be
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on July 25, 2013, 11:34:52 pm
Just a tip on the footsteps, lower the volume of its sound or even change it entirely.. Its quite annoying and destroys the immersion as it doesn't seem in sync with the movement :D
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on July 25, 2013, 11:41:21 pm
Ah I was testing sound manager ;) As I said all at the time is a placeholders. Footsteps too (CS2D sound).
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on August 05, 2013, 01:33:46 am
I wrote texture splatting with shader. It is my first working shader I ever wrote. I doesn't look as well as in frostbite engine (I read about texture splatting based on channels from frostbite tutorial), bunt. ithink that if I will made better terrain map that terrain will look much better. At all there is not texture reapeting.

 http://warsztat.gd/screens/9c45f04bff5d25b7363eafbf20236638.png
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on September 01, 2013, 10:24:32 pm
(http://www26.speedyshare.com/CzQkj/download/Bez-tytulu.png)

Newer version of map + object editor.
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on November 07, 2013, 05:08:02 pm
http://www.youtube.com/watch?v=qmrpxAA6ZAc

Lighting and shooting in action. I have so much work to do to make the game look as I want. Window in left upper corner is skills dialog. Skill exp player can gain from killing enemies. More skill = more type of weapon accuracy.
Title: Re: Zombination - 2D survival zombie shooter
Post by: eXpl0it3r on November 07, 2013, 05:42:41 pm
Looks very nice! :)

Must be quite scary if there are a lot of zombies with the low light... :o
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on November 07, 2013, 09:34:00 pm
It will be, but not only with zombies. There will be some human enemies. Their want your food, weapons and ammo.

There will be few lights in game. Each will gave you different spot.

Weapons will be upgradable. Only loudness, accuracy, reload speed and clip size.
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on November 08, 2013, 02:29:01 am
what about the weapon's damage? :D
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on November 08, 2013, 09:50:36 am
Thinking about this and I think the best option is only lower the damage ;) Supressed weapons will have have lower damgae.  Thinkig about melee weapons.
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on November 08, 2013, 01:38:12 pm
Can we LAN co-op in this game? :D
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on November 08, 2013, 02:02:51 pm
hah Grim slow down :D My biggest fan ;p Let me complete single player ;) I don't say no for co-op, but at this moment that what I can say is only- maybe :)
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on November 09, 2013, 12:08:37 am
No worries I will play it anyway :D My tip tho, if you plan to do co-op better do it from the start, will make your life easier :D

Title: Re: Zombination - 2D survival zombie shooter
Post by: ChronicRat on November 09, 2013, 12:36:28 pm
Looks very cool! =)
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on November 11, 2013, 12:50:52 pm
http://warsztat.gd/screens/75f3b1882d983f6a9c4e3efd5c48b1be.png

Added lighting to map editor. IMO maps look much better with lighting ;) Sitll have to do some work with editor.
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on November 11, 2013, 01:09:58 pm
Still a pretty elementary lighting, but already looks good :D
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on November 11, 2013, 01:31:19 pm
Still a pretty elementary lighting, but already looks good :D
I know I know, but without lighting it looks worst. In about week I will show map with shadows made in editor but from in-game.
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on November 20, 2013, 08:35:22 pm
http://www.youtube.com/watch?v=DQwZ3qO1q4M

Lighting system in editor. Some text on labels are in english, because I played a little bit with Qt Linguist. Have to make light editing in RT, and generating ConvexHull in flight (change one function).

ConvexHull is generated by editor not loaded from file. Editor count where object is solid. This car texture generate about 25 vertexes with accuracy of 4 px (I mean editor check solid pixel every 4 px. With accuracy of 1 pixel all pixels will be checked(with accuracy of 1px this car have about 50 vertexes).
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on November 21, 2013, 12:53:32 am
That lighting system is really good, I like it :DD The final game will probably rock, you have the coolest style I can think of in 2D for zombie games :D
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on November 21, 2013, 07:04:40 am
Thank you ;D I thought that pixelart would be great but clear pixelart isn't work well with that light. It's pixelart with blurs and other stuff that make it like that. I love that style too :p

Remember that light system is Let There Be a Light 1.5.1 . I had to make some changes but it's still running on LTBL.
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on November 26, 2013, 09:32:41 pm
bump

Inventory in progress (here player is picking up some items)

http://scr.hu/1j0w/x39th
http://scr.hu/1j0w/nku2t

Bold is name of item. Normal smaller text is description.
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on November 27, 2013, 03:24:44 am
very important: when can we shoot some things? :D
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on November 27, 2013, 07:41:12 am
Yep, but I'm thinking about block any control of our character. What do you think about that. Time is 20x slower when you're looking into box.

Hah sorry I readed your ask wrong :p I want to complete all basic features like item equip, comsume, story line begin.
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on December 14, 2013, 01:02:48 am
http://www.youtube.com/watch?v=fapAIiAxpBk

Progress! ;) Grimshaw, as you can see i'm making little progress every time ;) I think that first playable demo I will have in middle of January.

On this video you can see container and inventory system working togheter. that image in the center is placeholder for equiped items (will complete it). Jet sound you can hear because player get into trigger zone (yep it's new).
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on December 14, 2013, 03:25:31 am
Its looking better and better :D Keep going, I am waiting to play :D
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on December 15, 2013, 11:02:04 pm
http://www.youtube.com/watch?v=2mjra328SWc&feature=youtu.be

Grimsh look at that ;) It's near if you know what I mean ;)
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on December 16, 2013, 02:56:47 am
Aw yeah, love when you talk dirty! I want to see some putrefactive meat :D
Title: Re: Zombination - 2D survival zombie shooter
Post by: KarmaPolice on December 26, 2013, 10:59:58 pm
It looks really nice. Are you using vanilla SFML, without manual OpenGL? What are you using for that sexy lightning?
Title: Re: Zombination - 2D survival zombie shooter
Post by: zsbzsb on December 26, 2013, 11:52:00 pm
What are you using for that sexy lightning?

I do believe he is using a custom version of LTBL (http://en.sfml-dev.org/forums/index.php?topic=6635.0).
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on December 27, 2013, 01:04:16 am
What are you using for that sexy lightning?

I do believe he is using a custom version of LTBL (http://en.sfml-dev.org/forums/index.php?topic=6635.0).

Yep. It's LTBL with some minor modifications in blending mode.
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on December 27, 2013, 08:19:32 pm
http://i.imgur.com/YGOoaP9.jpg (http://i.imgur.com/YGOoaP9.jpg)

(http://i.imgur.com/YGOoaP9s.jpg)

Texture splatting inside editor. Little thing that made me happy ;) Everything looks ugly ;/ Sorry but I have to find graphic.
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on December 28, 2013, 06:17:32 pm
(http://warsztat.gd/screens/72e789609bb3c4b87c94700c02859d1f.png)

7 terrain sectors (512x512 each). Poor preformance because I used 14 renderTextures. I'll fix it and maybe I will post video from editor.
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on December 28, 2013, 06:25:48 pm
When can we shoot some zombies? :p
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on December 28, 2013, 07:09:45 pm
Never!  when I decide how to implement path finding and write it ;)
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on December 30, 2013, 12:04:30 am
https://www.youtube.com/watch?v=4A_sFggNczw

Hah optimized texture splatting. 4 terrains with 4 render textures each 1024 x 1024. Now only export and ingame import ;D
Title: Re: Zombination - 2D survival zombie shooter
Post by: OutlawLee on December 30, 2013, 03:47:50 pm
game looks awesome, those lighting/lights are really cool, im just starting so i dont know how to do it, i just add tiles, thats all. anyways, good job :D any time releasing soon ?
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on December 30, 2013, 04:57:07 pm
As soon as possible ;)
It's not hard as it looks like. You only have to write shader which will splat your textures.

uniform sampler2D texMap;
uniform sampler2D terrainTex1;
uniform sampler2D terrainTex2;
uniform sampler2D terrainTex3;
uniform sampler2D terrainTex4;
uniform float overlap;

void main()
{
        vec4 map = texture2D(texMap, vec2(gl_TexCoord[0].x,gl_TexCoord[0].y));
        vec4 tRed = texture2D(terrainTex1, gl_TexCoord[0].xy*overlap);
        vec4 tGreen = texture2D(terrainTex2, gl_TexCoord[0].xy*overlap);
        vec4 tBlue = texture2D(terrainTex3, gl_TexCoord[0].xy*overlap);
        vec4 tAlpha = texture2D(terrainTex4, gl_TexCoord[0].xy*overlap);
        vec4 t;
        t.rgb = (tRed.rgb * map.r) + (tGreen.rgb * map.g) + (tBlue.rgb * map.b));
        t.a = 1.0;
        gl_FragColor = t;
}

As you can see I don't use alpha channel. I made global terrainTex[3] nad add it at begine to shader. Each terrain sector have one texMap and when I draw terrains in editor I set texMap for actual terrain's texMap and draw it with shader. This is how it goes

        shader.setParameter("texMap", finalTexture.getTexture());
        target->draw(finalSpr,&shader);
I think I made it clear for you ;)
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on January 04, 2014, 11:16:22 pm
https://www.youtube.com/watch?v=wVJQlENKEN4

Huge step in Zombienation development ;) Grimshaw when I add "brain" to zombies, then you will be able to play demo :D
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on January 04, 2014, 11:56:51 pm
Brainify please!! :)
Title: Re: Zombination - 2D survival zombie shooter
Post by: eXpl0it3r on January 05, 2014, 12:32:04 am
Oh wow! This looks really amazing, especially seeing what you've all done with the editor! :o
Title: Re: Zombination - 2D survival zombie shooter
Post by: Mercy404 on January 05, 2014, 05:48:07 pm
It's looking really good, we definitely need a demo ASAP  8)

I can vouch for running Bresenham's line algorithm (http://deepnight.net/bresenham-magic-raycasting-line-of-sight-pathfinding) for each zombie on each non-zombie to check line of sight, then simply taking the first step in the path Bresenham comes up with for the closest non-zombie you have line of sight to as a very simple placeholder AI. It only took me an hour or two to get it working:

Entities locked to a grid (http://www.dropbox.com/s/ymo77vi6p5u10sx/Bresenham%20tiled.mp4)
Unrestricted (http://www.dropbox.com/s/5szuq7wei9pisog/Bresenham.mp4)

Note that had I bothered to add some walls in for the video, the baddies would have stopped moving as soon as I broke line of sight with them. It worked in my Unit Tests, I promise.
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on January 05, 2014, 06:33:11 pm
Thanks ;) I'll try that :D
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on February 06, 2014, 06:58:19 pm
http://www.gamasutra.com/blogs/SterlingReames/20140203/209913/Rigging_and_animating_for_the_apocalypse.php

Just saw that post, that poster shows Zombination in it, any relation?
Title: Re: Zombination - 2D survival zombie shooter
Post by: Jesper Juhl on February 06, 2014, 08:03:39 pm
Impressive. Very nice :)
Title: AW: Re: Zombination - 2D survival zombie shooter
Post by: eXpl0it3r on February 06, 2014, 10:08:37 pm
Just saw that post, that poster shows Zombination in it, any relation?
Well then there would've been a big jump from 2D to 3D. ;)
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on February 06, 2014, 10:21:56 pm
Well, then he might need to change names :D
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on February 07, 2014, 04:01:55 pm
Eh I have to change name :( No Zombienation is paused. Maybe one day Zombiention would be in 3D.
Title: Re: Zombination - 2D survival zombie shooter
Post by: Cadisol87 on February 14, 2014, 06:18:06 pm
Zombienation is paused.

Oh.. When will you continue working on this project? Looking forward for a Demo! :)
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on February 14, 2014, 09:10:09 pm
NOOOOOOOOOOOOOOOOO,

I don't support this decision :) Let me plaaaay ;D
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on February 16, 2014, 01:45:48 pm
I will but at this moment I don't have much time for working on Zombination. Last change was nav mesh generation in Zombination. It's long way to past for demo, but I think It is possible when I will have more free time to waste ;p
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on February 27, 2014, 09:27:25 pm
Here you go :) Zombination is alive again. Like zombie! :D Check this out ;)

http://www.youtube.com/watch?v=HvTkWd1likM
Title: Re: Zombination - 2D survival zombie shooter
Post by: Njifra on February 27, 2014, 11:39:44 pm
Nice project. Keep it going. I really like it  ;)
Title: Re: Zombination - 2D survival zombie shooter
Post by: eXpl0it3r on February 28, 2014, 12:26:31 am
Very nice! :)
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on February 28, 2014, 12:14:42 pm
Woo nice to know you re back my friend! I think I might start something to give you competition ^^
Title: Re: Zombination - 2D survival zombie shooter
Post by: Cadisol87 on March 01, 2014, 03:27:41 pm
Looks very nice :) I can't wait until you release a demo!
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on March 01, 2014, 05:05:09 pm
Woo nice to know you re back my friend! I think I might start something to give you competition ^^

Friend, better start looking for 2d artist for me ;p

Looks very nice :) I can't wait until you release a demo!
Very nice! :)
Nice project. Keep it going. I really like it  ;)

Thanks guys ;)
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on March 01, 2014, 09:01:28 pm
I will be your rival instead in making a survival game hehe :)
Title: Re: Zombination - 2D survival zombie shooter
Post by: Hapax on March 01, 2014, 09:13:37 pm
I will be your rival instead in making a survival game hehe :)
You should make the opposite. The player is the zombie... ;)
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on March 01, 2014, 09:21:59 pm
That has been done before ^^
Title: Re: Zombination - 2D survival zombie shooter
Post by: Estivo on March 01, 2014, 09:32:04 pm
I will be your rival instead in making a survival game hehe :)

You told that earlier ;) PM me with more info ;)

Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on March 01, 2014, 09:51:06 pm
Yeah, but I didn't start yet, I will let you know when I'm closer to it. I'm planning something to border AAA standards (hopefully) so it will still take a quite a lot of pre-production.. I will contact you once I have less volatile info ^^
Title: Re: Zombination - 2D survival zombie shooter
Post by: Hapax on March 01, 2014, 11:21:05 pm
That has been done before ^^
Most games have :p
Title: Re: Zombination - 2D survival zombie shooter
Post by: Grimshaw on March 02, 2014, 10:29:09 am
I feel like your eagle is staring at me, its giving me the chills ^^
Title: Re: Zombination - 2D survival zombie shooter
Post by: Hapax on March 02, 2014, 10:59:58 am
I feel like your eagle is staring at me
It is ;)
Title: Re: Zombienation - 2D survival zombie shooter
Post by: Estivo on April 25, 2014, 12:04:47 am
(http://warsztat.gd/imgcache/afd094d8b5dfded81648a9cac872313b/720/2000/crop)

larger version -> http://warsztat.gd/screens/afd094d8b5dfded81648a9cac872313b.png

Hah small update.
I added laser, walkman (if you find it you will be able to listen to your music (you have to put music in "walkman" dir)), and I started work at first part of map. I fixed some bugs like reloading empty magazines. I hope you like that ;)

I know walkman looks like magazine. ;)
Title: Re: Untitled (Zombienation) - 2D survival zombie shooter
Post by: Estivo on February 08, 2015, 01:13:07 pm
Hi my old frends!
Check out what I've done last weekend.

https://www.youtube.com/watch?v=E0mwP_eTKq8
Title: Re: Untitled (Zombienation) - 2D survival zombie shooter
Post by: Grimshaw on February 10, 2015, 11:36:29 am
Finally GTA 1: Zombies is being made :D Cmon, we want to play :D
Title: Re: Untitled (Zombienation) - 2D survival zombie shooter
Post by: Estivo on September 12, 2015, 06:39:44 pm
https://www.youtube.com/watch?v=8FpzHKt_le8

Working veeeery slowly on this old project again. I had to rewrite whole code just cause I fucked up :D