Monday, 20.11.2017, 16:19
Welcome Guest | RSS
Main | File Catalog | Registration | Login
Site menu
Section categories
My games [9]
Some of my small projects
Contributions [39]
Some useful (I hope) stuff
My models [2]
Some models
User Contributions [1]
Some useful stuff hosted on my webpage from official forum members.
Our poll
Is that ok to help for free?
Total of answers: 93
Statistics

Total online: 1
Guests: 1
Users: 0
Main » Files » Contributions

Movement-gravity code (with auto-jumping)
[ Download from this server (392.8Kb) ] 23.01.2016, 00:11

I've made this small contribution for a forum member. It uses gravity code from Superku's gravity tutorial. I experimented with it a little bit. Used two separate collision models, one for horizontal movement and another one for vertical (with Superku's code). And it turned out pretty nice (for the first time! I tried to do this for many times in the past, but always wasn't satisfied with results). There is an auto-jump thing, inspired from old Zelda type of games (n64). To make it possible in your games with this code, you have to make sure that the surface from which you want to perform auto-jumping should have FLAG6 set in WED (look into the level setup of this demo via WED). Anyway, I hope someone will find this useful!

 

Best regards!

Category: Contributions | Added by: TRACER
Views: 159 | Downloads: 75 | Rating: 0.0/0
Total comments: 0
Name *:
Email *:
Code *:
Login form
Search
Site friends
  • Create a free website
  • Copyright MyCorp © 2017

    Make a free website with uCoz