Mayfly's Forum Posts

  • Hi,

    I seem to disagree although hopefully you can prove me wrong and I can fix my game. I have moved the squares further past the line which disables collisions. I can still replicate this 'bug'. Even if I pause the blue square on the line (and hence collisions should be disabled from then on) I can wait, and sometimes move and make contact with the red square. I have not worked out what makes it leave collisions enabled \ disabled. Maybe it is to do with slowing down / keeping same velocity?

    I have uploaded a video clip to show this:

    youtube.com/watch

    Please let me know what you think \ any ways around this.

    Thanks

  • Link to .capx file (required!):

    dropbox.com/s/4rw0vov3g7pycki/Collision%20Bug.capx

    or:

    docs.google.com/file/d/0B6SE3iNEz3tAS1Y1NHNZWlZWUzA/edit

    Steps to reproduce:

    1. Left click to restart layout

    2. Use the mouse to move the blue square

    3. Try and cross the yellow line and hit the red square

    4. It should not be possible to move the red square

    5. Move slowly so the blue square is still in contact with the yellow line as it touches the red square and it seems to still have collisions enabled most the time.

    Observed result:

    Sometimes (Not sure if it is due to the speed / random) it is possible to still make contact and move the red square. The counter in the top right still works (Says collisions should be disabled) but they still work.

    Expected result:

    Blue square should pass through the red one. As soon as the position of the blue square is further to the right than the yellow line, collisions are disabled and never turn back on unto restarting the layout.

    Browsers affected:

    Chrome: yes

    Firefox: not installed

    Internet Explorer: yes

    Operating system & service pack:

    Windows 8

    Construct 2 version:

    r124 beta. Although I have tried it on the 123 version before I updated and it was the same.

    Many thanks. Maybe it is a misunderstanding I have with physics properties as I am new to construct.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi,

    My name is Lewis. I live in Surrey in UK. I have been slowly making games using other programs (click and create up to MMF2) and have since this year switched to Construct 2. I find it very nice to use and am slowly getting used to it. I mainly make games just out of interest and have not released anything I've made.

    Hello!!!

    And I look forward to making games in Construct 2 =)

    Regards,

    Lewis

  • Thanks for the replies. It appears C2 is not suited to what I am after. The CSV plugin mentioned I've been told can only read files, it cannot write to files. I guess I'll have to stick with Excel with VB or something. <img src="smileys/smiley19.gif" border="0" align="middle" />

  • Hi,

    I'm new to C2 and usually use these kind of programs (used to use MMF2) to make small / simple games just for fun to see what I can do.

    I'm looking at creating something in C2 which can read a pre-made text or csv file. I'd then like it to add some values to this / edit the values and then export as a new text / csv.

    For example the file might start with text "1, 100, 100" meaning ID 1, x co ord 100, y co ord 100. I'd like it then to add 50 to the X co ord and hence save a new text file as "1, 150, 100".

    I started making a simple spread sheet in excel for this but I'm actually using one point (Point ID, X, Y, Z data) and creating 16 points from this.

    I would like to do this for around 50 points automatically hence excel would mean I'd have to cut and paste into and out of the spread sheet. I was hoping I could make something in C2 that I could set this up in?

    Any help would be appreciated. I've had a search through the array tutorial but not really managed to get any thing working.

    Cheers