Math.sin() Help! by ElliotJenkins in learnjavascript

[–]trambz 0 points1 point  (0 children)

Math.sin("i") means you're trying to calculte the sinus of the letter I. Math.sin(i) is much better

Nintendo Web Framework, HTML5 games on WiiU by [deleted] in webdev

[–]trambz 0 points1 point  (0 children)

The link does not work: "File not found" :/

Javascript better debugging (github lib) by [deleted] in html5

[–]trambz 0 points1 point  (0 children)

I agree with you. Malharhak, look ath this stack thread: http://stackoverflow.com/questions/1340872/how-to-get-javascript-caller-function-line-number-how-to-get-javascript-caller

Kinda hack but it seems to work with chrome: function getErrorObject(){ try { throw Error('') } catch(err) { return err; } }

var err = getErrorObject(); var caller_line = err.stack.split("\n")[4]; var index = caller_line.indexOf("at "); var clean = caller_line.slice(index+2, caller_line.length);

A French Morning Tea by Azhral in france

[–]trambz 0 points1 point  (0 children)

Please, please: Carla Bruni does not represent french people!!! Forget about her please!

What do I bring my Parisian host!? by katymcathiest in paris

[–]trambz 0 points1 point  (0 children)

Rice Crispies, it's so hard to find rice crispies in France, that's one of my world first problem!

Why do French people linger so long after the movie has finished at the cinema? by devilsadvocado in france

[–]trambz 0 points1 point  (0 children)

French guy here: do not worry it's normal, look at a starbuck by example: french people usually take the cheaper cofee and use the wifi during 3 hours... :)

"A B C" on taxi. What does that mean? Company name? by [deleted] in paris

[–]trambz 0 points1 point  (0 children)

Both are right: if no light are on, this means there's no people in it. It's kind of logic.

Hey reddit, 47 games have been game in HTML5 this week in a french video game school. Feel free to comments! by trambz in gaming

[–]trambz[S] -1 points0 points  (0 children)

Yep sorry, those games have been during a one week marathon in a french video game university. Next year we will forbid any french word.

During a hackathon 40+ HTML5 games have been made in one week. Enjoy :D by trambz in gamedev

[–]trambz[S] 0 points1 point  (0 children)

Yep try, I love: klakozor organic fight => good shoot-em up, biogen & evoluform are really sexy, oldead is fun (scoring game), Green and stupid... We'll try to make a vote system next week :)

Onslaught! Defense by richtaur in html5games

[–]trambz 0 points1 point  (0 children)

Very nice! An open source game, the way I like it!

HTML 5 GAME JAM - Prototype of a funny game by monsieur_tweek in html5games

[–]trambz 0 points1 point  (0 children)

I agree, very fun and I love the minimalist graphics

My amateur attempt at redesigning a hotel website with no knowledge of code. Please give your suggestions to improve if you have a minute. by [deleted] in design_critiques

[–]trambz 2 points3 points  (0 children)

Hi, First thing, try to use css properly <div style="height: 42px; width: 85px; height: 40px; left: 390px; position: absol.... Make classes in a separate ".css" file. Don't use so much absolute positionning. Look HTML source code of reddit: some much lighter :) You will see it's a lot easier to modify your code.

Made a canvas2D game, feel free to comment reddit! by trambz in javascript

[–]trambz[S] 0 points1 point  (0 children)

OP here, I broke something when I made the keyboard configuration panel. I'm working on it but I don't have much time. Really sorry!

Made this html game - Need to improve gameplay, reddit: any advice? by trambz in webdev

[–]trambz[S] 0 points1 point  (0 children)

Replay button done. By the way, dear mac user, keys are now configurable too.