Giter Site home page Giter Site logo

p8wonyun's Introduction

Hey there, I'm Juno Nguyen.

(He/him)

I'm a Singapore-based developer, who loves putting things on screen and looking at them tweened around. Wacko videogames and minimalist websites are my jam.

Most of my works are here, but if you would like something more presentable and human-readable, then my portfolio website and itch.io page are there for you.

p8wonyun's People

Contributors

junongx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

git2358

p8wonyun's Issues

Incorrect asteroid harvesting

When player is at the bottom of the screen, some asteroids above and outside of screen will be incorrectly marked as being harvested, leading to player incorrectly harvesting and green lines (harvest indicator) being drawn across the screen.

Related items: component: harvester, entity: player and asteroid, system: harvesteesystem, harvestersystem (most likely culprit), and an unnamed Diegetic UI Drawing system.

Each asteroid is iterated by harvestersystem and marked as harvestee.beingharvested = true following a distance check with the player using a custom utility function.

function distance(x1, y1, x2, y2)
    local dx, dy = x2 - x1, y2 - y1
    return sqrt(dx*dx + dy*dy)
end

Which I believe is working as intended. In fact, the harvestersystem works as intended for the most part, except for this rare but noticeable bug.

This bug so far has not been replicable.

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.