Unreal engine 4 advice?

Giodude

GBAtemp's official rock
OP
Member
Joined
May 17, 2015
Messages
5,094
Trophies
1
Age
23
Location
New York
XP
2,761
Country
United States
I posted this as a blog post, but the more I think about it, the more I realize it would make alot more sense if I just posted it here to begin with:

So I've made a few joke games here and there and I've showed them to friends; Most of which were made in things like twine and rpg maker. I've recently picked up unreal engine 4, since it's the only real free engine that has support for simple 2D platformers. Anyway, so far this is what I have of my game, codenamed "rhythm slash".

It's a mobile game where you flip gravity by tapping the screen, and you have to slash enemies to the rhythm; Kind of like gravity guy meets bit trip. The issue is, I don't know how to go about making him flip. Right now I have it so that he gets launched up the z axis when the screen is tapped, but then he falls right back down afterwards. If I disable gravity, I can't apply force to him at all. I can't make him stick. Is there a better way to do this? I'm using blueprints and I'm at a loss when it comes to programming. The most I know is a bit of JavaScript and it doesn't really come on handy here. Thanks for just taking the time to look at this if at all.

EDIT: Also the background is a placeholder, I'm not that good at making assets. Everything else is original though.
 

ThoD

GBATemp Addict (apparently), but more like "bored"
Member
Joined
Sep 8, 2017
Messages
3,631
Trophies
1
Age
28
XP
3,061
Country
Greece
Don't know if there's a correct way of doing it, but since I used to use RPG Maker in the past so much, a certain method has stuck with me when I'm having such issues in an engine. If you can't make him flip, simply make two "rooms" of sort for each possibility (one for correct way and one for inverted one) that are exactly the same with only difference that you have the gravity draw him to the opposite platform with a seamless transition between them, so tapping the screen switches to the inverted thing you want to do and tapping again moves back to normal. You can even add an animation for it so it's like Shift (a game if you have heard of it).
 
  • Like
Reactions: Giodude

Giodude

GBAtemp's official rock
OP
Member
Joined
May 17, 2015
Messages
5,094
Trophies
1
Age
23
Location
New York
XP
2,761
Country
United States
Don't know if there's a correct way of doing it, but since I used to use RPG Maker in the past so much, a certain method has stuck with me when I'm having such issues in an engine. If you can't make him flip, simply make two "rooms" of sort for each possibility (one for correct way and one for inverted one) that are exactly the same with only difference that you have the gravity draw him to the opposite platform with a seamless transition between them, so tapping the screen switches to the inverted thing you want to do and tapping again moves back to normal. You can even add an animation for it so it's like Shift (a game if you have heard of it).
The issue is I have plenty of ideas on how to make him flip, just don't know where the blueprints are and how to connect them. Also for some reason i don't think there's a way to change the gravity in unreal engine 4, since that was the first thing I tried. Thanks for the advice though.
 

ThoD

GBATemp Addict (apparently), but more like "bored"
Member
Joined
Sep 8, 2017
Messages
3,631
Trophies
1
Age
28
XP
3,061
Country
Greece
The issue is I have plenty of ideas on how to make him flip, just don't know where the blueprints are and how to connect them. Also for some reason i don't think there's a way to change the gravity in unreal engine 4, since that was the first thing I tried. Thanks for the advice though.
You can change it if you aren't making a game based on a blueprint and instead go the C/C++ method (meaning those that require programming), then you can simply modify it. You can make it instead of dragging you down to dragging you up instead and so on. Just find the part of the code that's responsible for gravity effects and tweak the parameters (eg: if flag X is on, have it work normally and if it's off have it drag you upwards, with the flag switching every time the screen is tapped).
 

Giodude

GBAtemp's official rock
OP
Member
Joined
May 17, 2015
Messages
5,094
Trophies
1
Age
23
Location
New York
XP
2,761
Country
United States
You can change it if you aren't making a game based on a blueprint and instead go the C/C++ method (meaning those that require programming), then you can simply modify it. You can make it instead of dragging you down to dragging you up instead and so on. Just find the part of the code that's responsible for gravity effects and tweak the parameters (eg: if flag X is on, have it work normally and if it's off have it drag you upwards, with the flag switching every time the screen is tapped).
Im not able to do both am i? It's mainly being done in blueprints.
 

ThoD

GBATemp Addict (apparently), but more like "bored"
Member
Joined
Sep 8, 2017
Messages
3,631
Trophies
1
Age
28
XP
3,061
Country
Greece
Im not able to do both am i? It's mainly being done in blueprints.
If you are using blueprints instead of C/C++, it's not possible unfortunately. Just started using the engine after half a decade, so still getting back into things, if I find a way, I'll let you know but doubt there is one. For C/C++ though, you can simply edit and expand the code, allowing you to do anything you want with it.
 

tides

Well-Known Member
Member
Joined
Apr 2, 2013
Messages
297
Trophies
1
Age
37
XP
791
Country
United States
i don't understand what you want him to do.

if you want him to jump, then you can use the jump function instead of the launch node. if you want him to face another direction, you can just set his X
if you want him to do a flip jump, that is animation
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    I'd rather spend like $15 more for double
    +1
  • K3Nv2 @ K3Nv2:
    Lol hogwarts legacy has a Arachnophobia setting to turn on
  • BigOnYa @ BigOnYa:
    I'd rather spend like $150 more for a surround receiver.
  • K3Nv2 @ K3Nv2:
    I bought the game at launch never fucked with it until recently
  • BigOnYa @ BigOnYa:
    Its fun, I like it, even tho I'm not a big harry potter fan. Like a wizard rpg. Flying around on a broomstick is cool.
  • K3Nv2 @ K3Nv2:
    Flying sucks ass on it
  • BigOnYa @ BigOnYa:
    Nuh just takes a min to get used to. I think you can upgrade or buy new broomstick also that are better.
    +1
  • K3Nv2 @ K3Nv2:
    I weirdly like inverted controls on all flying type games
  • BigOnYa @ BigOnYa:
    Prob can change it, inverted flying controls.
  • K3Nv2 @ K3Nv2:
    Only thing that annoys me is trying to find wtf to do in it
    +1
  • BigOnYa @ BigOnYa:
    Alright off to the store, later gators.
    +1
  • K3Nv2 @ K3Nv2:
    Some places amaze me were not in network with your insurance would you still like an appointment
    +1
  • AncientBoi @ AncientBoi:
    uhhh, I think I'll just stick with my PSP 3001
  • AncientBoi @ AncientBoi:
    lol, Now I gotta go to the store for more Coffee Mate n other stuff.
  • Xdqwerty @ Xdqwerty:
    i downloaded final fantasy vii into my tv stick
  • Xdqwerty @ Xdqwerty:
    i mean, the game was already there but its the japanese version
  • Xdqwerty @ Xdqwerty:
    and i only downloaded disc 1 so far bc of storage stuff
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, yeah the patty on McDs burger is 1/10th of a pound now and I think that's the pre cooked weight lol
  • Psionic Roshambo @ Psionic Roshambo:
    I use the app for the 20% off coupon and it's still over priced
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, why is mcdonalds overpriced if their food is bad?
  • Xdqwerty @ Xdqwerty:
    i mean why is mcdonalds food overpriced
  • Psionic Roshambo @ Psionic Roshambo:
    Inflation and greed
    Psionic Roshambo @ Psionic Roshambo: Inflation and greed