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

Author Topic: 9001  (Read 22058 times)

0 Members and 1 Guest are viewing this topic.

Sub

  • Full Member
  • ***
  • Posts: 159
    • View Profile
9001
« on: December 08, 2016, 03:08:03 am »
[Latest]

https://youtu.be/4ayTI0Zbku8

There's a discord channel if you want to join -- https://discordapp.com/invite/TV43fRn

It's very WIP right now. 

I'm playing as the guy in red fighting against the purple guy.  There are two ways to damage your opponent

1)  Melee.  When two players collide, a melee collision occurs.  The winner is whoever was moving faster in their opponents direction.  The loser gets damaged and knocked back.  It's hard to tell when this happens in the video and who wins the melee clash because it still needs graphics for it.
2)  Energy Attacks.  These are only half-implemented at the moment

There's a red circle around me which indicates how much energy I have.  The larger the circle the more energy.  When the circle is red energy is being drained, when it's green energy is being gained.  You use energy from moving, teleporting, and charging energy attacks.  You start to regain energy after a brief moment of not using energy.  If you run out of energy, you have to wait a second before it starts to recharge. 

The idea is that you want to outmaneuver your opponent to score a hit. 

I'm working on a meta-game surrounding this giving you something to fight over.  The idea is that what you're looking at would be an individual level, which would be considered an entire world.  You'd have to kill everyone on the world (roughly 4 enemies per world) in order for it to be conquered.  I'm working on a very simple mount-and-blade like galaxy view where various factions are fighting over the planets.

[Original Post]
I've been playing around with the idea of creating a (very simple) 2D action game inspired by dbz.  I've got three small prototypes that I've built to that end
  • An energy ball effect
  • Malleable terrain (I'm thinking this would occur upon the player impacting the ground at a high speed
  • Mockup of player / energy ball flight physics

Admittedly, #1 was made with Love2D, and #3 was something that I made back in 2012.  I'm not sure how much further i'm going to go with this, but I wanted to throw it out there and get a few opinions

https://www.youtube.com/watch?v=V7AMAUB83cQ
« Last Edit: December 30, 2019, 09:14:22 pm by Sub »

AFS

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Re: Three Prototypes
« Reply #1 on: December 10, 2016, 05:25:17 am »
I remember having a DBZ game on the SNES when I was a kid. Gameplay wise, it sucked; it was very clunky and didn't stand a chance against games like Street Fighter II or Killer Instinct, but the music was catchy, the characters were faithful to the TV series and it really captured the spirit of what DBZ was all about: throwing energy balls at the opponent while yelling your attacks.

The terrain prototype is intriguing. I can imagine it being really awesome to see how the the terrain changes during the fight. The only downside I can see is that it would make the hand-to-hand combat really difficult, due to changes in height. That could be avoided if the game is strictly about throwing energy balls, no punching and kicking allowed, considering that you said that the game would be very simple.

Here's an idea for a fourth prototype: the camera split. I remember that in those games, if the characters are too far away from each other, the camera would split in half, still showing both fighters, and allowing to still throw energy balls at each other. I know it's possible to make a split-screen using two sf::Views and changing the viewports, but I don't if it's possible to split it diagonally without using some trickery. That would be a good exercise.

Sub

  • Full Member
  • ***
  • Posts: 159
    • View Profile
Re: Three Prototypes
« Reply #2 on: March 13, 2017, 12:31:51 am »
Apologies for not replying sooner, but thank you for the reply!   

I still am thinking about this idea and how to wrap all of these concepts up into one package.  To that end I spent last night creating a particle engine, and ended up creating another weird prototype in which I suppose you control the disembodied spirit of red particles, and are able to recruit white particles to your essence.  WASD moves around, but at the cost of 'killing' some of your red particles.  This was all made last night.

Brief disclaimer -- I had to record this one on my phone.  I had some glitches when I tried recording on my PC.

https://www.youtube.com/watch?v=3msEzzpwJug

AFS

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Re: Three Prototypes
« Reply #3 on: March 15, 2017, 08:20:04 pm »
Great looking effect!

If you still have the idea of the DBZ-like fighting game, you could use those particles when the character is "charging up" an energy ball, or someting like that.

Sub

  • Full Member
  • ***
  • Posts: 159
    • View Profile
Re: Three Prototypes
« Reply #4 on: March 16, 2017, 03:09:32 am »
Thanks! 

Yeah, that was my intended goal in creating a particle system.  I initially thought it'd be cool if energy attacks were similar to a fluid, where they'd react similarly to a ball of liquid when hitting another object.  The idea was to use a library like Liquid Fun for energy attacks, or some other solution for soft body physics. 

I then got the idea to have energy attacks be made up of a few thousand particles.  You can mimic the liquid effect with this system, but more work needs to be done to make it actually happen.  I'm not really sure how it'll actually turn out.  We'll see I suppose, but it's going to be slow going, because I'm only working on this idea for a few hours each month.
« Last Edit: March 16, 2017, 03:11:59 am by Sub »

Sub

  • Full Member
  • ***
  • Posts: 159
    • View Profile
Re: Acrobat
« Reply #5 on: November 20, 2017, 06:13:03 am »
Here's a video in which I control a very tiny and nimble square. It can fly / teleport and (not implemented but eventually) shoot energy beams / energy balls / lazers.

I'm the yellow dude. The circle around me is how much energy I have. Flying and teleporting drains energy. Energy automatically regenerates after not using any for a short period of time. Energy regenerates 3 times faster if you're completely stationary.

If you fly into the opponent square, a melee collision happens, and the loser gets damaged and knocked back. The winner is determined by whoever was moving faster in the opponents direction. It's all about momentum.

https://www.youtube.com/watch?v=sFY0pBnoKHU

On the list of things I've done since recording this video
-  Added a somewhat reasonable camera instead of the stationary one shown in the video
-  Improved AI's use of teleports so as to not unproductively zig-zag around

 On the list of things I think would be cool to do
- Improved collision detection / melee resolution. It's a bit janky in the video, but I know what I should do to improve this.
- Add malleable / destructable terrain (basically integrate the code from the second part of the video in the first post)
- Add energy attacks
- Make it look pretty

On the more unreasonable end of things I'd like to do
- World generation. Instead of the level taking place on a flat surface like in the video, it'd be cool if it took place on a rather large circular world populated with enemies. Gravity would point towards the center of this circle.
- Add rpg elements, where your character can level up to learn new attacks / gain more energy / speed.
- Add rogue-lite elements, so that when your character dies, you start over with a new character on a newly generated world.
- Going hand in hand with the above point, it'd be cool if there were a handful (not that i'm trying to stick with the dbz theme but 7 would honestly be a good number) of scattered items for you to collect on each world. After collecting all of them, you'd be able to select from a list of bonuses to choose from. One of these being immortality aka respawn.

----

I've changed the name of the topic to Acrobat, but I'm not really in love with the name.  If anyone has a suggestion for a better one, I'm all ears.

Sub

  • Full Member
  • ***
  • Posts: 159
    • View Profile
Re: untitled
« Reply #6 on: February 10, 2018, 07:33:22 am »
Finally got around to implementing deformable terrain for this.  I'm honestly amazed that it works as well as it does. 

https://www.youtube.com/watch?v=9MS1JDQblWc

The video would be longer but I ran out of disk space while recording.  Also, the long black screen in the beginning is OBS, for some reason it takes a while to start capturing frames when I switch to fullscreen.

Anyway, for a repeat explanation on what it is, it's loosely based on the combat in DBZ. You control a very tiny and fast square. It can fly / teleport and shoot energy attacks.

I'm the yellow dude in this video. The circle around me is how much energy I have. Flying, teleporting, and energy attacks drain energy. Energy automatically regenerates after not using any for a short period of time. Energy regenerates 2 times faster if you're (more or less) stationary.

If you fly into the opponent square, a melee collision happens, and the loser gets damaged and knocked back. The winner is determined by whoever was moving faster in the opponents direction. It's all about momentum.

If anyone has any ideas on a name for this thing, I'm all ears.
« Last Edit: February 25, 2018, 02:10:58 pm by Sub »

Sub

  • Full Member
  • ***
  • Posts: 159
    • View Profile
Re: untitled
« Reply #7 on: February 24, 2018, 05:46:29 pm »
I'm playing around with what to do for the background. This geometry wars style grid is one of the experiments. I don't know if I'm going to keep it in as it makes it pretty hard to read the screen

https://www.youtube.com/watch?v=GdGli3lD07I

edit: 

It looks like I made a lighting system

https://www.youtube.com/watch?v=0PuKnGEjzDw
« Last Edit: February 25, 2018, 02:15:38 pm by Sub »

Sub

  • Full Member
  • ***
  • Posts: 159
    • View Profile
Re: untitled
« Reply #8 on: March 28, 2018, 08:37:26 am »
I replaced the rectangles representing the player with an active ragdoll.  This is a super early first pass, and honesly just about everything in this video needs multiple additional passes.  For the ragdolls specifically, right now they're ingame and reacting to the flight physics of the player.  They also orient themselves to the terrain if they detect they're going to collide soon. 

I need to animate them for charging energy attacks, melee (winning and losing), landing on the ground, and some flailing for when they're being knocked back.  I've been reading and playing around with forward and inverse kinematics, I'm thinking I should be able to come up with something decent.  It helps that the characters are super small and move very quickly, so you're less likely to notice imperfections. 

https://www.youtube.com/watch?v=2OY-0JY_fts
« Last Edit: March 28, 2018, 08:40:15 am by Sub »

Elias Daler

  • Hero Member
  • *****
  • Posts: 599
    • View Profile
    • Blog
    • Email
Re: untitled
« Reply #9 on: March 29, 2018, 09:33:33 am »
Looks awesome! With the right graphics it will truly be amazing. :D
Tomb Painter, Re:creation dev (abandoned, doing other things) | edw.is | @EliasDaler

Sub

  • Full Member
  • ***
  • Posts: 159
    • View Profile
Re: 9001
« Reply #10 on: April 03, 2019, 08:14:13 am »
Thanks Elias :).  Apologies for the 1 year + late reply, I have no excuse.

Latest video I recorded is a few months old, but I'm still working on this thing.

https://www.youtube.com/watch?v=cIVj0_rcbQE&list=PLdaVi1JjCyrg1m-B8Zb4EMGMaNoDN25xE&index=19

Since the video was recorded I've added some sounds + music, procedural level generation, and have played around with the terrain physics some more.  I'm not very happy at all with this iteration of the terrain, I think it definitely needs a rework.  Still have a lot more to do (energy attack system, character leveling system, I think with the right shaders it could look a lot better, etc). 

I think I'm going to take a small break from working on this and spend more time working on the other project I'm working on, It Usually Ends In Nuclear War.  Should give me some time to rethink the terrain

Hapax

  • Hero Member
  • *****
  • Posts: 3385
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: 9001
« Reply #11 on: April 03, 2019, 10:40:56 am »
These mechanics look really rather interesting.

The smoke-like effect looks quite beautiful.

Nice work.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

Sub

  • Full Member
  • ***
  • Posts: 159
    • View Profile
Re: 9001
« Reply #12 on: April 03, 2019, 05:09:45 pm »
Thanks Hapax. 

I'm pretty happy with how the smoke-like effect turned out, as well as with the main mechanic of trying to outmaneuver the opponent while not running out of energy (because at that point you'll be immobilized and will probably get hit yourself).

Main problem at the moment for the smoke-like effect is that it's too dark and hard to see on some monitors, but if I make it any brighter then it becomes too bright on everything else.  I think I'm going to have to implement one of those sliders where you choose the brightness at the start of the game.

The main mechanic is an evolution of something that came from a half-life 1 mod I used to play called ESF.  I made changes to make it work in 2D + make it easier to grasp/play, because that game was absurdly hard, to the point where the video I just linked to i'm sure is completely nonsensical unless you've played it.
« Last Edit: April 03, 2019, 05:30:03 pm by Sub »

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: 9001
« Reply #13 on: October 22, 2019, 11:12:59 pm »
The graphcis and physics look really cool! It took me some time to realize that the thing in the circle was a stick figure, because of the speed :) with maybe some less dark areas you could add a lot of depth to the game.

The story sounds interesting, it will be quite a challenge to link it to the gameplay. I assume you plan some sort of character development / leveling up / getting equipment?

Also, is there a background behind the number 9001 (don't need to tell me in case it's part of the story)? The only association I have with this number is ISO :D
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Sub

  • Full Member
  • ***
  • Posts: 159
    • View Profile
Re: 9001
« Reply #14 on: October 23, 2019, 03:52:16 am »
The graphcis and physics look really cool! It took me some time to realize that the thing in the circle was a stick figure, because of the speed :) with maybe some less dark areas you could add a lot of depth to the game.

The story sounds interesting, it will be quite a challenge to link it to the gameplay. I assume you plan some sort of character development / leveling up / getting equipment?

Also, is there a background behind the number 9001 (don't need to tell me in case it's part of the story)? The only association I have with this number is ISO :D

Thanks!    The stick figures are definitely hard to notice, I'm not sure what to do about that as I don't really want to make 'em any bigger.

The idea is to have a progression system in which you level up.  Attacks would do more damage, you'll be able to increase your speed, gain access to more attacks, that sort of thing.   

The name is a reference to a [dragon ball z meme](https://www.youtube.com/watch?v=SiMHTK15Pik).