Giter VIP home page Giter VIP logo

godot_third_person_shooter's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

godot_third_person_shooter's Issues

Converting to C#

Hello everybody, good day, Johnny. I learn about the Godot engine and convert Your TPC and TPS projects to C#. My conversion of your Third Person Controller project was complete. There is an issue with TPS script WeaponStats.gd that I need to fix. Please help me. How can I convert this lines from Gdscript to C#?

func mag_decrement():
	weapon_stats[weapon_name()]["mag"] -= 1

func mag_fill():
	var empty_space = mag_size() - mag()
	weapon_stats[weapon_name()]["mag"] += min(empty_space, ammo_backup())
	weapon_stats[weapon_name()]["ammo_backup"] -= min(empty_space, ammo_backup())

func ammo_refill(ammo_type):
	weapon_stats[ammo_type]["ammo_backup"] = weapon_stats[ammo_type]["ammo_backup_max"]
	weapon_stats[ammo_type]["mag"] = weapon_stats[ammo_type]["mag_size"]


# getters

func weapon_name():
	return player.weapons[player.current_weapon]

Character requires more effort to move up slopes

How to reproduce: Line up your crosshair/middle of the screen with the top corner of a slope, then simply move forward. You will notice that for some reason the play seems to get pushed along the slope rather than climb up it as if it was a flat surface, so your crosshair/middle of the screen will end up more to the side of the slope. In most games, X and Z should not change when climbing slopes.

Suggested fix: I have no idea, I looked at this template because I myself was also desperate for a solution but all 3d kinematic examples seem to have a similar problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.