Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Unnamed Project: Top-Down 2D Game  (Read 17596 times)

0 Members and 1 Guest are viewing this topic.

CytraL

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • GitHub
Unnamed Project: Top-Down 2D Game
« on: March 01, 2016, 04:19:21 am »
Currently the game are under development, uses Box2D for physics and 'TMX Parser Lib' for read 'tmx' maps (yep.. I use tiled map editor).

The map can be virtually 'infinite' (clipping and using quadtree), in this video I only spawn 7 A.I Players.. can see that the 'clipping' method doesn't looks bad...
For 'cars' A.I Players.. i'm currently using an a bad "A+ Pathfinding" implementation :S (need be reworked)... with Manhattan heuristic.
The lighting system it's very simple but works pretty good :) only use a sprite for create the spot light and a 'RenderTexture' for generate the lightmap.
For tile map rendering i'm using textures with size power of two and vertex array.
The Particle system is the same that i made for 'FingerShip' game... but with possibility for define light particles.

http://www.youtube.com/watch?v=12FQuLDxAP8


Cheers!
** Sry for my bad english :\
dev@redneboa.es | WordPress | GitHub | YouTube

Dark2Dragon

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Unnamed Project: Top-Down 2D Game
« Reply #1 on: March 01, 2016, 12:23:13 pm »
GTA 2 !!!  ;D ;D

Looks good so far  :)

Ironbell

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
    • Cendric
Re: Unnamed Project: Top-Down 2D Game
« Reply #2 on: March 01, 2016, 10:34:45 pm »
Looking good! I like your AI algos and the lighting  :). What is the goal of the game? Is it going to be like GTA?

CytraL

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • GitHub
Re: Unnamed Project: Top-Down 2D Game
« Reply #3 on: March 03, 2016, 05:56:04 am »
Yepaa thx! ;)
Yes, i'm trying do something like GTA (without 3D)... but the "history" isn't about mafia... I hope find other textures and not use the GTA stuff  xD

Project Structure:
Code: [Select]
engine
  - interfaces
    IEngine
    IEntity
  CB2Engine: Box2D
  CFEngine: FMod
  CFxEngine: Particles
  CLightEngine: Lights
  CGame: Register engines, game loop, ... (Singleton)
  CAssetsManager: Fonts, Sounds and Textures
entities
  - primitives
    CB2Circle
    CB2Polygon
  CCar
  CCharacter: Human Characters
  CExplosion: Explosions (Box2D Sensor)
  CProjectile
game
  CGameContext
  CGameController: Abstract Class
  CMapRender: Render Map
  CMenus: Render Menus
  CPlayer: Basic player data
  CPlayerIA: I.A. player
gamemodes
  CTest: Current gameplay

Memory Leaks Check (valgrind):
Code: [Select]
==26412==
==26412== HEAP SUMMARY:
==26412==     in use at exit: 68,634 bytes in 504 blocks
==26412==   total heap usage: 256,017 allocs, 255,513 frees, 572,064,336 bytes allocated
==26412==
==26412== LEAK SUMMARY:
==26412==    definitely lost: 0 bytes in 0 blocks
==26412==    indirectly lost: 0 bytes in 0 blocks
==26412==      possibly lost: 0 bytes in 0 blocks
==26412==    still reachable: 68,634 bytes in 504 blocks
==26412==         suppressed: 0 bytes in 0 blocks
==26412== Rerun with --leak-check=full to see details of leaked memory
==26412==
==26412== For counts of detected and suppressed errors, rerun with: -v
==26412== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Cheers!
« Last Edit: March 03, 2016, 06:10:21 am by CytraL »
dev@redneboa.es | WordPress | GitHub | YouTube

Elias Daler

  • Hero Member
  • *****
  • Posts: 599
    • View Profile
    • Blog
    • Email
Re: Unnamed Project: Top-Down 2D Game
« Reply #4 on: March 03, 2016, 07:31:19 pm »
That looks pretty neat!

Maybe you should try searthing on opengameart.org, there's a lot of free cool stuff there.
Tomb Painter, Re:creation dev (abandoned, doing other things) | edw.is | @EliasDaler

CytraL

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • GitHub
Re: Unnamed Project: Top-Down 2D Game
« Reply #5 on: March 29, 2016, 04:14:25 am »
@Elias Daler: Thx! your project looks really good! ;) and no textures found for "top-down" games... :(

New video, here the dummy peatons... and start with the sad part of implement "gore". I said that i don't like use GTA textures and now i use the character sprite too :\ ...

http://www.youtube.com/watch?v=lmgWnbIGNlY
« Last Edit: March 29, 2016, 05:24:03 am by CytraL »
dev@redneboa.es | WordPress | GitHub | YouTube

bitano

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Re: Unnamed Project: Top-Down 2D Game
« Reply #6 on: March 29, 2016, 09:09:42 am »
I really like how this game is progressing. It already looks quite playable :D
Keep up the good work!

AFS

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Re: Unnamed Project: Top-Down 2D Game
« Reply #7 on: March 29, 2016, 07:13:03 pm »
Yay, GTA 2 ;D

Looks impressive as hell, you can even drive cars. Good job, man.

What are you planning to do with it? You said that the story isn't about mafia. Do you have something else in mind?

Also, I noticed that the menus are in spanish. Where are you from?
« Last Edit: March 29, 2016, 07:15:01 pm by AFS »

CytraL

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • GitHub
Re: Unnamed Project: Top-Down 2D Game
« Reply #8 on: March 30, 2016, 12:29:03 am »
@bitano:
Thx! ;)


@AFS:
I'm from Spain (Galician), the history is about "Nintendo-PlayStation-Xbox-PC Master Race" war... you are an linux hero that can stop all these situation... etc.. etc.. this try to be an humoristic history :\
But i don't have any "strong" history defined...

Cheers!
dev@redneboa.es | WordPress | GitHub | YouTube

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Re: Unnamed Project: Top-Down 2D Game
« Reply #9 on: March 30, 2016, 11:36:25 am »
And another one: GTA 2! <3 :)

Looks really decent.

CytraL

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • GitHub
Re: Unnamed Project: Top-Down 2D Game
« Reply #10 on: April 02, 2016, 01:22:54 am »
@Tank: xDD thx ;)

Improved light system a bit...
http://www.youtube.com/watch?v=tEujxidOU-E
« Last Edit: April 02, 2016, 06:08:40 am by CytraL »
dev@redneboa.es | WordPress | GitHub | YouTube

CytraL

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • GitHub
Re: Unnamed Project: Top-Down 2D Game
« Reply #11 on: April 06, 2016, 07:04:59 am »
Continue working... improved A.I. a bit, start with HUD stuff.. breakable lights, ...

http://www.youtube.com/watch?v=LMnGK0EkiCo

Cheers!
dev@redneboa.es | WordPress | GitHub | YouTube

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11001
    • View Profile
    • development blog
    • Email
Re: Unnamed Project: Top-Down 2D Game
« Reply #12 on: April 06, 2016, 08:19:25 am »
Looking good! :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

CytraL

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • GitHub
Re: Unnamed Project: Top-Down 2D Game
« Reply #13 on: October 05, 2016, 05:11:43 am »
eXpl0it3r thx.. XD

I'm back with this project... added a simple weather system...

http://www.youtube.com/watch?v=S7CqfH6x5_s

Used Perlin noise for water puddles/snowdrifts ...
dev@redneboa.es | WordPress | GitHub | YouTube

Elias Daler

  • Hero Member
  • *****
  • Posts: 599
    • View Profile
    • Blog
    • Email
Re: Unnamed Project: Top-Down 2D Game
« Reply #14 on: October 06, 2016, 11:03:38 pm »
I'm very impressed by your project! Great job!
Can you give us a bit more info about the engine structure? Do you use ECS? Do you use scripting? It will be interesting to read how such complex stuff holds together. :D
Tomb Painter, Re:creation dev (abandoned, doing other things) | edw.is | @EliasDaler

 

anything