Code Monkey home page Code Monkey logo

Comments (8)

jhawz avatar jhawz commented on August 16, 2024

View has been created but screen does not scroll yet.

from cs420-project.

jhawz avatar jhawz commented on August 16, 2024

Screen now scrolls with a view, but boundary for level width need to be set, also, the y axis of the camera needs to be fixed. There is currently white space when characters are on the tiles.

from cs420-project.

jhawz avatar jhawz commented on August 16, 2024

The y axis has been fixed, the screen now scrolls as expected until the end of level where Bond walks off into white space. Are the background widths fixed or are they different with each level @enoughredundancy ? There may be a way to query the image and get its width dimensions. Looking at that now.

from cs420-project.

 avatar commented on August 16, 2024

Backgrounds are all a standard 3200 x 608, just wanted everything to be standardized.

from cs420-project.

jhawz avatar jhawz commented on August 16, 2024

Awesome, thanks man!

from cs420-project.

jhawz avatar jhawz commented on August 16, 2024

View now scrolls only to the end of the background so no more white space. Bond can still run off screen but that is not View related.

from cs420-project.

jhawz avatar jhawz commented on August 16, 2024

Because of the addition of collisions Bond can no longer run off screen. View now needs to stay at proper height when bond falls through holes.

from cs420-project.

jhawz avatar jhawz commented on August 16, 2024

View is currently working as expected.

from cs420-project.

Related Issues (20)

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.