Jailson's Forum Posts

  • Server Error in '/' Application.

    Row not found or changed.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Data.Linq.ChangeConflictException: Row not found or changed.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [ChangeConflictException: Row not found or changed.]

       System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) +1012919

       System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) +378

       CommonFunctions.processConsecDays(Int32 UserID) +965

       CommonFunctions.processUserStats(Int32 UserID) +457

       MasterPages_MainNew.Page_Init(Object sender, EventArgs e) +808

       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14

       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35

       System.Web.UI.Control.OnInit(EventArgs e) +91

       System.Web.UI.UserControl.OnInit(EventArgs e) +83

       System.Web.UI.Control.InitRecursive(Control namingContainer) +140

       System.Web.UI.Control.InitRecursive(Control namingContainer) +311

       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

  • It's also giving me a badge for each page view.

  • Message error: Error executing child request for /error.aspx.

  • Ok, I will probably write something to explain better what I did.

    You may also consider the advice from Wishy, it will work too and is far away easier than my approach using Array.

    My approach used Array because I had others conditions to unlock certain levels.

  • Well, basically when you "Goto Layout" and set the same layout it would works. But don�t forget the global variables, you should also reset them, use the system expression Reset Global Variables for that!

  • I made it in my game

    Get the Girl!

    I used an array XY, where X is the "World" and Y is the Level. And I set 1 to each array value when the level is unlocked. So... My array would be something like:

    LevelsUnlocked:

    [1][1] = 1; (first level should be set unlocked by default on layout start)

    [1][2] = 0; (means unlocked)

    [1][3] = 1; (meansl locked);

    ... and so on...

    then I have a loop to this array that checks if it?s locked or unlocked then allows to click on the respective button and changes it?s animation frame.

    If you don?t understand let me know, then I try to make a simple capx to explain.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Awesome idea! I bet that there are more users like me that work better under competitions! :)

    I hope and Tom approve this idea too.

  • It's not perfect. Hope it helps! :)

    Truck

  • 1) I don�t understand why you need to make a custom car movement, if theres a car behaviour.

    2) You mean, go to another Layout? You may use the Go to Layout event.

  • Then, another thing you should do would be like this:

    1) create a imagepoint at the bottom of each block, called BOTTOM;

    2) check collision of each block BOTTOM to another block;

    3) then create a event: when block BOTTOM is not colliding with another block then set block Y + 1;

    Let me know if it works! :)

  • You should give a try to physics behavior! :)

  • You may play with physics properties. For example, set Elasticity to 0 and Friction to 1.

  • Why don't you just add a physics behavior to the blocks?

    See the result

    Download the project

  • You may use max() expression. <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Inspiring work I thought that your solution presented here deserves a tutorial. I "wrote" it. But the credit is all yours.