Welcome, Guest. Please login or register.

Author Topic: Unnamed Project: Top-Down 2D Game  (Read 6591 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, 03: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.




Cheers!
** Sry for my bad english :\

Dark2Dragon

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Unnamed Project: Top-Down 2D Game
« Reply #1 on: March 01, 2016, 11:23:13 am »
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, 09: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, 04: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, 05:10:21 am by CytraL »

Elias Daler

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

Maybe you should try searthing on opengameart.org, there's a lot of free cool stuff there.

CytraL

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • GitHub
Re: Unnamed Project: Top-Down 2D Game
« Reply #5 on: March 29, 2016, 02: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 :\ ...

« Last Edit: March 29, 2016, 03:24:03 am by CytraL »

bitano

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
Re: Unnamed Project: Top-Down 2D Game
« Reply #6 on: March 29, 2016, 07: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, 05: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, 05:15:01 pm by AFS »

CytraL

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • GitHub
Re: Unnamed Project: Top-Down 2D Game
« Reply #8 on: March 29, 2016, 10:29:03 pm »
@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!

Tank

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

Looks really decent.
SFGUI: Simple and Fast GUI library for SFML
Game Development Design articles
IRC: #sfml @ irc.boxbox.org

CytraL

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

Improved light system a bit...
« Last Edit: April 02, 2016, 04:08:40 am by CytraL »

CytraL

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



Cheers!

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 8873
    • View Profile
    • development blog
    • Email
Re: Unnamed Project: Top-Down 2D Game
« Reply #12 on: April 06, 2016, 06:19:25 am »
Looking good! :)

CytraL

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

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



Used Perlin noise for water puddles/snowdrifts ...

Elias Daler

  • Hero Member
  • *****
  • Posts: 525
    • View Profile
    • Blog / Re:creation
    • Email
Re: Unnamed Project: Top-Down 2D Game
« Reply #14 on: October 06, 2016, 09: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

 

anything