Search found 27 matches

by sebast
Sun Nov 27, 2011 1:51 pm
Forum: Support and Development
Topic: Collision not working
Replies: 13
Views: 10890

Re: Collision not working

Secondly, it seams that player.x and player.y point to the top left corner of a 2 tiles height character and that you check for collision only for that point. That explains why your player is only affected by >2 tiles height obstacles, and also why player is blocked 1 tile too early when going left...
by sebast
Sun Nov 27, 2011 1:26 pm
Forum: Support and Development
Topic: Collision not working
Replies: 13
Views: 10890

Re: Collision not working

At first sight, you have a problem in world2map, it should be: function world2map(x,y) return math.floor(x/TileW)+1, math.floor(y/TileH)+1 end since your tilemap starts at index 1 in X and Y Secondly, it seams that player.x and player.y point to the top left corner of a 2 tiles height character and ...
by sebast
Sun Nov 27, 2011 12:44 pm
Forum: General
Topic: FSM - Finite State Machine
Replies: 30
Views: 16842

Re: FSM - Finite State Machine

I was just proposing an objective solution because I'm used to other languages where objective-ness is key. What do you mean by "objective"? I can't figure it out. A military objective? The opposite of subjective? Objective-C? None of those make sense in context. I think he meant the &quo...
by sebast
Wed Nov 23, 2011 11:10 am
Forum: General
Topic: introducing myself
Replies: 11
Views: 5578

Re: introducing myself

well... I don't know what to say... Thank you ! you warmed my heart <3 I wish I had more time to help or review, but lately I'm having less and less time for this kind of things. And I don't even play Skyrim. I feel very sorry for you, Skyrim is amazing. Playing it gave me some feelings I felt playi...
by sebast
Tue Nov 22, 2011 5:34 pm
Forum: Support and Development
Topic: Physics body rotation though applytorque
Replies: 2
Views: 2823

Re: Physics body rotation though applytorque

I think that it may be because your body has 0 rotationnal inertia (last parameter of newBody())

If your body has a shape attached to it, maybe you could just set the density of the shape (setDensity) and then call setMassFromShape on the body, it will calculate mass and inertia automatically.
by sebast
Tue Nov 22, 2011 2:02 pm
Forum: Libraries and Tools
Topic: Paper draw prototype
Replies: 6
Views: 3663

Re: Paper draw prototype

Fade effect behaves like a strobe. Too fast? Something wrong? yes and no... the goal is to recreate the effect of sheet of paper getting on top of the previous one, inducing a shadow on the previous frame. The actual code draws a black overlay that progressively darken until next frame. Since frame...
by sebast
Tue Nov 22, 2011 1:26 pm
Forum: Libraries and Tools
Topic: Paper draw prototype
Replies: 6
Views: 3663

Re: Paper draw prototype

It should works with both 8.0 and 7.2 versions of LÖVE, it uses framebuffers still (it shouldn't but this way was quicker to code) sorry :(
by sebast
Tue Nov 22, 2011 12:10 pm
Forum: Libraries and Tools
Topic: Paper draw prototype
Replies: 6
Views: 3663

Paper draw prototype

I'm trying to make 2D 'paper toon' effect. I'm talking about those little animations you make during (boring) classes on your agenda, one pose after another, and play them by releasing sheets one by one at regular rate with your thumb. Sorry for my english, I have just no idea how to explain it bett...
by sebast
Tue Nov 22, 2011 11:26 am
Forum: General
Topic: introducing myself
Replies: 11
Views: 5578

Re: introducing myself

'a good feeling(must have been wrong, feel terribly unwelcome)' i hope that is sarcasm :_:? yeah... I don't know... As I said, I have very little experience with social interactions over forums... I must admit I have little experience interacting with peoples AT ALL ! I think I was expecting more f...
by sebast
Sat Nov 12, 2011 5:38 pm
Forum: General
Topic: introducing myself
Replies: 11
Views: 5578

introducing myself

Hi all, I don't have properly introduced myself yet. (I have little experience in social interactions over internet forums but I've seen people doing that on other forums) I just finished my (too long) education (computer science, automatics) and want to orient my professional carreer toward game ma...