Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jseb #24

Merged
merged 12 commits into from
Oct 6, 2021
Merged

Jseb #24

merged 12 commits into from
Oct 6, 2021

Conversation

jeangit
Copy link
Contributor

@jeangit jeangit commented Sep 29, 2021

I've added a function to platypus :
platypus.define_collisions(collisions)

As in create() , collisions is a table with top,bottom,left and right values.

This function modify local RAYS table , used by platypus for compute rays.

There is a sample : move with left / right, and see the collision modification when crouching (down key).

game.project Outdated Show resolved Hide resolved
example/starter.script Outdated Show resolved Hide resolved
example/starter.script Outdated Show resolved Hide resolved
example/menu/gui.gui_script Outdated Show resolved Hide resolved
example/menu/gui.gui Outdated Show resolved Hide resolved
Copy link
Owner

@britzl britzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution. Please review my comments and make the appropriate changes before I can merge.

@britzl britzl self-requested a review October 3, 2021 21:34
example/menu/gui.gui Outdated Show resolved Hide resolved
platypus/platypus.lua Outdated Show resolved Hide resolved
example/variable_raycast_collisions/data/player.script Outdated Show resolved Hide resolved
example/variable_raycast_collisions/data/player.script Outdated Show resolved Hide resolved
@jeangit jeangit requested a review from britzl October 6, 2021 11:34
Copy link
Owner

@britzl britzl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I made a few final cleanups to the code but overall it was good. 👍

@britzl britzl merged commit f7b3cdf into britzl:master Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants