Git Product home page Git Product logo

Comments (23)

Cepe6 avatar Cepe6 commented on July 1, 2024

I would like to solve this issue.
My plan consist of the following points:

  1. Create folders to contain the specific layers:

    • characters/ will contain the layers of all the characters in the game
    • environment/ will contain the layers of all the backgrounds of the game
      - environment/obstacles/ will contain the layers of all the obstacles in the game
    • basic_layers/ will contain the basic layers such as: startscreen, scoring_board etc.
  2. Move all of the layers to their specific locations

  3. Leave flappy.svg only with the border of the game

from flappy-svg.

niccokunzmann avatar niccokunzmann commented on July 1, 2024

Sounds good to me. Please go ahead.

from flappy-svg.

Cepe6 avatar Cepe6 commented on July 1, 2024

I forgot to mention that I will place all those folders in one folder layers/ if that is ok

from flappy-svg.

niccokunzmann avatar niccokunzmann commented on July 1, 2024

If you do not modify flappy.svg but add flappy2.svg, and index2.svg, we can have several merges and people helping you on the gh-pages branch.

from flappy-svg.

niccokunzmann avatar niccokunzmann commented on July 1, 2024

I forgot to mention that I will place all those folders in one folder layers/ if that is ok

Sure.

from flappy-svg.

Cepe6 avatar Cepe6 commented on July 1, 2024

OK I will not modify it then :)

from flappy-svg.

niccokunzmann avatar niccokunzmann commented on July 1, 2024

@Abhi2424shek Have a look here, what do you think?

from flappy-svg.

abishekvashok avatar abishekvashok commented on July 1, 2024

@niccokunzmann we could make the use of JavaScript as you mentioned. I think there is a JavaScript library for that, but we could easily do it without it too.

Do you want me to open up my terminal :)

from flappy-svg.

niccokunzmann avatar niccokunzmann commented on July 1, 2024

This issue is important for our high-quality workflow^^. So, if you have some more suggestions of how to solve it, I would like to read your pull-requests.
The idea: It makes it easier to review pull-requests, undo them and harder to make mistakes in the flappy.svg file.

from flappy-svg.

abishekvashok avatar abishekvashok commented on July 1, 2024

Give me some time I got a n exam tomorrow and it's the last and the most tough so I would do a PR after that can you give me that much if time plz.

If yes expect a PR from me in 6 hours.

from flappy-svg.

niccokunzmann avatar niccokunzmann commented on July 1, 2024

@Abhi2424shek You have all the time you want and you do not need to do it. I wanted to point you here because you may like the challenge.

from flappy-svg.

abishekvashok avatar abishekvashok commented on July 1, 2024

I am on it then @niccokunzmann got this one.

from flappy-svg.

abishekvashok avatar abishekvashok commented on July 1, 2024

@niccokunzmann got a tidy fix but that would be a big change shall I go on, I would need to work arround maybe whole of the javascript in the site, so I taught I should ask your permission to submit a massive change on!

from flappy-svg.

niccokunzmann avatar niccokunzmann commented on July 1, 2024

Please commit the change to the flappy2.svg file.

from flappy-svg.

niccokunzmann avatar niccokunzmann commented on July 1, 2024

When all works, we just move it.

from flappy-svg.

niccokunzmann avatar niccokunzmann commented on July 1, 2024

I do not have much time today.

from flappy-svg.

abishekvashok avatar abishekvashok commented on July 1, 2024

@niccokunzmann I won't finish it today but it sure that I will learn a lot!

from flappy-svg.

abishekvashok avatar abishekvashok commented on July 1, 2024

@Cepe6 could you see issue #228

from flappy-svg.

jayvdb avatar jayvdb commented on July 1, 2024

@Cepe6 could you see issue #228

Is #228 still needed?

@niccokunzmann , was this issue completely fixed in #227 and #231 ?

from flappy-svg.

abishekvashok avatar abishekvashok commented on July 1, 2024

Nope we need to fix the JavaScript as well @jayvdb since labels can no longer be used

from flappy-svg.

abishekvashok avatar abishekvashok commented on July 1, 2024

This is the progress. We have splitter the characters and backgrounds and made them to be embedded inside a particular page, now the JavaScript needs refraction, the major problem is that the label tag can no longer work instead we should use id's. The flappysvg2 is the effort.
So thing we should do to solve this issue is only to refractor JavaScript.

from flappy-svg.

hkveeranki avatar hkveeranki commented on July 1, 2024

@niccokunzmann @abishekvashok what refractor are you speaking about?

from flappy-svg.

abishekvashok avatar abishekvashok commented on July 1, 2024

@harry-7 pls refer the code, we have successfully split the svg file into multiple svg files and included them in an html file. But the code would need some refractor, currently the indetifiers used has become nested and therefore those indetifiers parts need a refractor.

from flappy-svg.

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.