Most Practical way of setting multiple limits in multiple forms.

  • (2 Pages)
  • +
  • 1
  • 2

18 Replies - 1021 Views - Last Post: 10 February 2013 - 03:35 PM Rate Topic: -----

#16 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1052
  • View blog
  • Posts: 4,077
  • Joined: 02-July 08

Re: Most Practical way of setting multiple limits in multiple forms.

Posted 10 February 2013 - 02:35 PM

Sure there can be some optimizations, but I think a lambda expression would be relatively fast, but testing is a must.
Was This Post Helpful? 1
  • +
  • -

#17 Jondeate  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 56
  • Joined: 03-February 13

Re: Most Practical way of setting multiple limits in multiple forms.

Posted 10 February 2013 - 03:21 PM

Thank you all
Was This Post Helpful? 0
  • +
  • -

#18 andrewsw  Icon User is offline

  • Fire giant boob nipple gun!
  • member icon

Reputation: 3360
  • View blog
  • Posts: 11,397
  • Joined: 12-December 12

Re: Most Practical way of setting multiple limits in multiple forms.

Posted 10 February 2013 - 03:28 PM

In some games you continue walking (at the wall) but don't progress - treading water! It sounds painful :hammer:. So I assume it allows the walk but doesn't increase the steps/distance.
Was This Post Helpful? 0
  • +
  • -

#19 Jondeate  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 56
  • Joined: 03-February 13

Re: Most Practical way of setting multiple limits in multiple forms.

Posted 10 February 2013 - 03:35 PM

I already found an easier (to me) way of not letting the player go trough something.
I stoped thinking on the players side, and went ahead and created a path (rectangle) in which the player is allowed to walk into.
Now i gotta find a way of combining rectangles so if the player is walking on path1 and path1 is joined whit path2, the player can keep walking normally.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2