Skip to main content

Timeline for XNA:Rectangles Movement Behavior

Current License: CC BY-SA 3.0

8 events
when toggle format what by license comment
Jun 16, 2020 at 10:15 history edited CommunityBot
Commonmark migration
May 14, 2012 at 8:57 vote accept samy
May 14, 2012 at 0:22 comment added Mike Cluck Now you can ;) I'm glad that worked for you.
May 14, 2012 at 0:21 answer added Mike Cluck timeline score: 1
May 13, 2012 at 19:38 comment added samy i read a litell about the error and use your suggustion and i just changed the List<Rectangle> to an arry and just update the position like you said and it solved my problem! i realy want to give you right answer :)
May 13, 2012 at 19:18 comment added samy i just tried that and i get an error:Error 1 Cannot modify the return value of 'System.Collections.Generic.List<Microsoft.Xna.Framework.Rectangle>.this[int]' so i have to create the rectangle every time i guess.
May 13, 2012 at 18:43 comment added Mike Cluck Just trying to make sure I understand: you're generating the collision rectangles on every update? Why not create them once then update the positions?
May 13, 2012 at 16:48 history asked samy CC BY-SA 3.0