Jump to content

Count to a million


DubWolf

CTAM after 1 million  

190 users have voted

  1. 1. What should happen after 1 million is reached?

    • Start over at 1
      28
    • Keep counting to infinity (count to the next million(s))
      105
    • Count back down to 1 (then back up)
      52
    • Other (pm or mention if you'd like)
      15


Recommended Posts

432911

Well, waiting for some help for a game engine I'm currently programming. You?

Link to comment
Share on other sites

432912

You're programming your own game engine?

Cool, what you need help with? Maybe I can help :derp:


„I shall be quiet as a calm sea. Which is... not... very quiet.“

„This is intolerable!“

„Even combat is a partnership... for a little while.“

Link to comment
Share on other sites

432913

Well, I'm making my engine on Unreal Engine, just using it as a base for the graphics and a notch for the physics, but I can't find a way to make a pegasus fly when pressing the jump button while in mid-air.

Link to comment
Share on other sites

432914

Ah alright.

well you should be able to check if you character touches the floor after pressing jump.

UE4 automatically performs floor-checks each tick (if you use the Character class and didn't all write it yourself), so you can query if you're touching the floor.

If you are, perform the jump function, else call the fly function.

https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/GameFramework/ACharacter/index.html

if you do write it yourself, you should be able to trace downward by half your characters height and then check if you collided with something (make sure to ignore your character while tracing!)

if you did collide with something, it's probably floor. to be more sure that it is floor, only trace for world static.


„I shall be quiet as a calm sea. Which is... not... very quiet.“

„This is intolerable!“

„Even combat is a partnership... for a little while.“

Link to comment
Share on other sites

432917

Hey Dawnchaser, thanks for welcoming me to Count to a Million :)


„I shall be quiet as a calm sea. Which is... not... very quiet.“

„This is intolerable!“

„Even combat is a partnership... for a little while.“

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Join the herd!

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...