Het Wat heb jij vandaag geprogrammeerd? topic

Gestart doorAarclay4.538 reacties23.755 weergaven

4.539 berichten · pagina 149 van 303

Berichten
22.444
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Thom schreef:
Eerdere citaten tonen
Robindh schreef:
Voor mijn informatica opdracht:
http://cl.ly/image/0n2S1R3K1M3T/

Lijkt een beetje te veel op je eerdere design(s)
De opdracht was maak een html pagina, dus ik hoefde niet eerst wat te ontwerpen. Daardoor heb ik maar de basis van iets anders gepakt. clown
0
Berichten
832
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Voor een CKV workshop website bouwen had ik dit gemaakt in 2x6 uur:
Game
Levelbuilder
Is nogal buggy omdat het echt lastminute werk was emo
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Guillamos schreef:
Voor een CKV workshop website bouwen had ik dit gemaakt in 2x6 uur:
Game
Levelbuilder
Is nogal buggy omdat het echt lastminute werk was emo
Eigenlijk best wel slecht dat je dit niet met canvas deed emo
0
Berichten
832
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Raaoul schreef:
Eerdere citaten tonen
Guillamos schreef:
Voor een CKV workshop website bouwen had ik dit gemaakt in 2x6 uur:
Game
Levelbuilder
Is nogal buggy omdat het echt lastminute werk was emo
Eigenlijk best wel slecht dat je dit niet met canvas deed emo
Mwah, ik zie niet echt meerwaarde in canvas. Doe het liever gewoon oldskool met HTML en CSS yummie
0
Berichten
7.806
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Boss Bar Message met de mogelijkheid om een alert te doen wat er dan tijdelijk komt te staan. smile
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Raaoul schreef:
Eerdere citaten tonen
Guillamos schreef:
Voor een CKV workshop website bouwen had ik dit gemaakt in 2x6 uur:
Game
Levelbuilder
Is nogal buggy omdat het echt lastminute werk was emo
Eigenlijk best wel slecht dat je dit niet met canvas deed emo
Ohhja nu zie ik ook, das wel jammer ja bloos
Tegen mn verwachtingen in iig
0
Berichten
5.957
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Raaoul schreef:
Eerdere citaten tonen
Guillamos schreef:
Voor een CKV workshop website bouwen had ik dit gemaakt in 2x6 uur:
Game
Levelbuilder
Is nogal buggy omdat het echt lastminute werk was emo
Eigenlijk best wel slecht dat je dit niet met canvas deed emo
Hoezo dat?
0
Berichten
8.649
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Quote:
canvas props :

could manipulate pixel and apply filter effect, so easy for image processing;
very efficient for small size but hundreds of elements in the game
many libraries for game could be found using canvas, such as box2dweb, and could make awesome games such as angry bird

cons:

its stateless, so you have to record the states of the elements in the canvas, and handle the hit test by yourself.
low efficient for very large size but with one a few elements in the game
great ability, great responsibility. the freedom to draw, brings in you have to charge of all the drawing staff. Fortunately, there are many libraries there, such as cocos2d-html5, IvanK.

DOM props:

rendering by the browser, so less error-prone;

cons:

could do simple animation with CSS only, that makes the game not fluent;
no good for manipulating hundreds of DOM elements;

http://stackoverflow.com/questions/2266416/what-are-the-advantages-disadvantages-of-canvas-vs-dom-in-javascript-game-devel
0
Berichten
5.957
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Antonn schreef:
Quote:
canvas props :

could manipulate pixel and apply filter effect, so easy for image processing;
very efficient for small size but hundreds of elements in the game
many libraries for game could be found using canvas, such as box2dweb, and could make awesome games such as angry bird

cons:

its stateless, so you have to record the states of the elements in the canvas, and handle the hit test by yourself.
low efficient for very large size but with one a few elements in the game
great ability, great responsibility. the freedom to draw, brings in you have to charge of all the drawing staff. Fortunately, there are many libraries there, such as cocos2d-html5, IvanK.

DOM props:

rendering by the browser, so less error-prone;

cons:

could do simple animation with CSS only, that makes the game not fluent;
no good for manipulating hundreds of DOM elements;

http://stackoverflow.com/questions/2266416/what-are-the-advantages-disadvantages-of-canvas-vs-dom-in-javascript-game-devel
We zullen ze even een voor een afwegen.

Pros van Canvas:

Quote:
could manipulate pixel and apply filter effect, so easy for image processing

Hij doet geen pixel animaties, hij gebruikt geen effecten en doet totaal geen iamge processing, dus niet relevant.

Quote:
very efficient for small size but hundreds of elements in the game

Zwaar gedateerd argument, daarbij loopt zijn spel smooth dus doet het er sowieso niet toe.

Quote:
many libraries for game could be found using canvas, such as box2dweb, and could make awesome games such as angry bird

Hij gebruikt geen librarys dus dat maakt in dit geval niet uit.

Contras van Canvas:

Quote:
its stateless, so you have to record the states of the elements in the canvas, and handle the hit test by yourself.

Een nadeel dat hier dus wel relevant is.

Quote:
low efficient for very large size but with one a few elements in the game

Wat hij hiermee bedoelt weet ik niet echt en het lijkt me ook niet relevant.

Quote:
great ability, great responsibility. the freedom to draw, brings in you have to charge of all the drawing staff. Fortunately, there are many libraries there, such as cocos2d-html5, IvanK.

Hij gebruikt alleen afbeeldingen dus ook ni relevant.

DOM pros:

Quote:
rendering by the browser, so less error-prone;

Voordeel waar hij duidelijk van gebruik heeft gemaakt.

DOM contra:

Quote:
could do simple animation with CSS only, that makes the game not fluent;

Totaal niet waar en niet relevant.

Quote:
no good for manipulating hundreds of DOM elements;

Klein beetje waar maar hier niet relevant.
0
Berichten
7.806
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Begin gemaakt aan een nieuwe server in mijn netwerk smile
0
Berichten
528
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Migratie naar mongoose.
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
@Allemaalte Je hoeft niet zo te discussiëren hierover, een paar 100 divs is gewoon bad practice en zulke dingen horen met canvas gedaan te worden.
0
Berichten
5.957
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Raaoul schreef:
@Allemaalte Je hoeft niet zo te discussiëren hierover, een paar 100 divs is gewoon bad practice en zulke dingen horen met canvas gedaan te worden.
"Je hoeft niet zo te discussiëren hierover". Say whut? En btw [citation needed]
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Alemaalte schreef:
Eerdere citaten tonen
Raaoul schreef:
@Allemaalte Je hoeft niet zo te discussiëren hierover, een paar 100 divs is gewoon bad practice en zulke dingen horen met canvas gedaan te worden.
"Je hoeft niet zo te discussiëren hierover". Say whut? En btw [citation needed]
Het is nutteloos om een spel gemaakt in pure html te verdedigen omdat een paar 100 divs gewoon bad practice is en zulke dingen horen met canvas gedaan te worden.
0
Berichten
5.957
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Raaoul schreef:
Eerdere citaten tonen
Alemaalte schreef:
Eerdere citaten tonen
Raaoul schreef:
@Allemaalte Je hoeft niet zo te discussiëren hierover, een paar 100 divs is gewoon bad practice en zulke dingen horen met canvas gedaan te worden.
"Je hoeft niet zo te discussiëren hierover". Say whut? En btw [citation needed]
Het is nutteloos om een spel gemaakt in pure html te verdedigen omdat een paar 100 divs gewoon bad practice is en zulke dingen horen met canvas gedaan te worden.
Maar wat je zegt is totaal niet waar...
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren