# Balloon fight type of game

**URL:** <https://forums.unrealengine.com/t/balloon-fight-type-of-game/413169>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, Blueprint, question\
**Created:** [December 26, 2017, 7:35pm UTC](https://forums.unrealengine.com/t/balloon-fight-type-of-game/413169 "2017-12-26T19:35:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mcreator83](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mcreator83](https://forums.unrealengine.com/u/Mcreator83)\
**Post date:** [December 26, 2017, 7:35pm UTC](https://forums.unrealengine.com/t/balloon-fight-type-of-game/413169/1 "2017-12-26T19:35:08Z")

</div>

Hi

I’m new to unreal engine and I’ve tried for a while now to recreate a simple balloon fight type game. I can’t make the character fly on command and fall on release while moving forward. I’ve looked around and haven’t found any examples to follow so any help would be appreciated

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dceb25d5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dceb25d5](https://forums.unrealengine.com/u/anonymous_user_dceb25d5)\
**Post date:** [December 26, 2017, 9:08pm UTC](https://forums.unrealengine.com/t/balloon-fight-type-of-game/413169/2 "2017-12-26T21:08:02Z")

</div>

you have to be more specific, are you using any of the templates like the first/third person or are you using the flying one instead?

---

<div class="post-metadata">

**Author:** ![Mcreator83](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mcreator83](https://forums.unrealengine.com/u/Mcreator83)\
**Post date:** [December 26, 2017, 11:52pm UTC](https://forums.unrealengine.com/t/balloon-fight-type-of-game/413169/3 "2017-12-26T23:52:56Z")

</div>

I’m using the 2d template (paper 2d) what I want is instead of a walking character starting of on the ground it would start in the air and fall down while moving to the right. the player will need to keep the character in the air on a push of a button and when released it will fall down again.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dceb25d5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dceb25d5](https://forums.unrealengine.com/u/anonymous_user_dceb25d5)\
**Post date:** [December 27, 2017, 3:57pm UTC](https://forums.unrealengine.com/t/balloon-fight-type-of-game/413169/4 "2017-12-27T15:57:01Z")

</div>

,

I would start with the character blueprint using a begin play node and setting their actor location to a higher Z value. Then I would use the gravity scale node to enable and disable the falling of the main character towards the ground if the player was clicking the space-bar or not.

more Info about changing gravity:

> **[How do I dynamically change the z axis gravity in blueprint?](https://forums.unrealengine.com/questions/76433/how-do-i-dynamically-change-the-z-axis-gravity-in.html)**
>
> I’m trying to have it so the player walks over a trigger and their gravity is reversed to positive z instead of the default negative z. The player would then be able to walk on the ceiling as he would normally be able to walk on the ground. I also...

more info about detecting button presses:  
[https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/533-input-held-down](https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/533-input-held-down)

This should not be too hard to do but if you still can’t get it post some screen-caps of your attempt in blueprints and we can go from there.
