sqiddster's Forum Posts

  • Ummm...

    Urgent problem!

    This happens on different browsers, in different computers.

    As soon as I click on the 'upload a game' button in the arcade, I get this error screen:

    Server Error in '/' Application.

    An error occurred while parsing EntityName. Line 26, position 46.

    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.Xml.XmlException: An error occurred while parsing EntityName. Line 26, position 46.

    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:

    [XmlException: An error occurred while parsing EntityName. Line 26, position 46.]

       System.Xml.XmlTextReaderImpl.Throw(Exception e) +73

       System.Xml.XmlTextReaderImpl.Throw(String res, Int32 lineNo, Int32 linePos) +115

       System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos) +176

       System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) +4112525

       System.Xml.XmlTextReaderImpl.FinishPartialValue() +62

       System.Xml.XmlTextReaderImpl.get_Value() +78

       System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r) +516

       System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o) +42

       System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options) +280

       System.Xml.Linq.XDocument.Load(String uri, LoadOptions options) +65

       Arcade.ArcadeXML.loadByPath(String PathToFile) +41

       Arcade.ArcadeXML..ctor(Int32 UserID) +53

       ArcadeSubmit.Page_Load(Object sender, EventArgs e) +1559

       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.OnLoad(EventArgs e) +91

       System.Web.UI.Control.LoadRecursive() +74

  • I like the game.

    However the one drawback that I see is that for all your levels, the nodes only ever need to go in the 4 main positions (northeast, northwest, southeast, southwest) which means that even the most difficult levels are nothing more than a bit of trial and error.

  • Have a look at the 'lighting' example included with C2.

  • Hmm. I am not quite sure what you want. Is your trouble in calculating the high scores? Is it in displaying them or storing them?

    Do you want to only display the user's own scores or an actual global high score table?

  • I feel bad for implementing such a brute solution... perhaps when my cognitive functions increase :D

  • OK, I had a look at your capx.

    All you need to do is store a global variable last_angle.

    if last_angle = 90 then set angle to choose(0,180,270)

    if last_angle = 0 then set angle to choose(90,180,270)

    etc.

    This is not the most elegant solution, but I am sick ;)

  • Yeah. All you need to do is set two global variables for X and Y (or one if you want to do something like "door number")

    I would do it the second way. Have a certain amount of doors in your 'meta-layout'. Give every door a variable ("door_number") and a destination text variable("destination") and give matching doors the same value.

    So it becomes: On collision with door -->

    -Set global variable (door_temp or something) to door.type

    -Go to layout by name (door.destination).

    Then

    [on start of layout For each door door.type = door_temp] -->

    -door: create player.

  • You could try choose(random(0,firstangle - t),random(firstangle + t, 360)

    Where 't' is your tolerance.

    This should work, I have not tested it. But you can see what I mean.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Tom ,this is also happening to me.

    I won't try uploading again so it doesn't queue up.

    Hopefully you can fix the issue promptly ;)

  • I'm sure they will fix the problems with r80 asap, definitely before the competition's close. Just use r79.4 for now, and don't export yet.

  • Yep, occasionally on adding sub-events, the software crashes.

  • Not at all. I was just worried that "get value at" prevented us from using the expression webstorage.localvalue().

    You. Are. The. Best.

  • On the blog post, you mention that

    "on the Arcade the following features are blocked to prevent games accessing other game's data: clear storage, get number of values, get value at, get key at."

    What exactly does this mean? Does this mean that webstorage is completely useless as we can't use webstorage.localvalue?

    I urgently need a response for this. If we can't save our user's progress, what hope is there for big games???

  • Apparently it's in the next day or so.

    It will mainly be adjustments for the Rotary competition, I think Anglelerp() is being added, and we all of course hope for the addition of webstorage for the arcade :D

  • That's true, and one of the reasons I'm not a fan of pixel graphics! no rotation or resizing! The horror!