troublesum's Forum Posts

  • It looks like your trying to access Array_Color from inside a function that is in the foreach loop. I dont beleive the instance reference for Array_color persists through the function call. try it in the original foreach usage and see if that works

  • No problem.. I literally asked the same question but for div elements like a day ago. figured I would pay it forward

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • zenox98 haha.. yah.. the problem with being a developer is I can over engineer just about anything

  • good lord... well now that i see it this is pretty much pointless..lol

  • didnt know one existed?

  • The community has been really great so I wanted to offer neat little tool i created for testing performance of my games on mobile devices. The debuger that comes with C2 is great but its over head cuases the games to run slower than normal. This is light weight event script you can add to see on screen what your current FPS is. Hope you enjoy.

    [attachment=0:yact6psy][/attachment:yact6psy]

  • Just a suggestion but it would be really nice if the action select menu had the option to show the items in a list view instead of large icon. My seek time when visually trying find what i want it slowed down considerably as alphabetical searching is generally a top down response as opposed to left right AND top-down together. Direct comparison is the control panel in windows 7. They notably screwed up finding what you want quickly by not offering a list view like was previously there in win xp. How many of us go dyslexic trying to find the option were looking for in a left-right/top down alphabetical icon view vs top-down list view? Not to mention naming conventions with longer names are cut off and i need to hover over to see the full string. Anyway I really love C2 and its not a deal breaker but could we maybe get this in the next release? Would be really awesome!

    [attachment=0:2u8bcvol][/attachment:2u8bcvol]

  • Perfect!! ... Thank you!

  • Sorry to bother you Ashley but I have what I feel would be an easy request. You currently have a TextBox <input> plugin that can be added but I was wonder if it were possible to get a <div> element plugin?

    The reason I would like it is that when I send ajax request to my server and it fails I like to dump (echo) the failure data to the screen in a an <pre> string with nice color and formatting so I can see what all data was received and what it tried to send back. It makes debugging much easier when my array data the server is trying to send back is CSS formatted. Currently I have to try and decipher the html string as raw text or change my whole method of debugging and its pretty time consuming.

    Not sure how difficult it would be or if others would like this as well but I hope it something you can look into when you get a chance.

    Thank you!

  • Did you add a header to the file being served allowing ajax request from external domains? It might be being blocked by your server because the request came from a website that wasnt originally served by your server.

    PHP example

    header('Access-Control-Allow-Origin: *');

  • To my knowledge this can happen when your files are no longer in the folder they were in when they were last accessed.. This happens to me when working on file from a network location that is no longer available...

  • Your probably using it wrong then... this is exactly the functionality your looking for. It guarantees the position of the object relative to the boundary of the layout regardless of scrolling or scaling. You only need to specify what corner (top,left - bottom,right , etc) to make sticky.

    I my case I have text in the top left corner of the screen but I use inner scaling so it can crop of some of screen and potentially hide some of the text. To ensure my text is always approximately 50 pixels (give or take) or so from the top left corner of the view-able layout I set the Anchor Property "Left edge" to "window left" and the "top edge" to "window top" ensuring that the top left corner of my text is fixed in its location to the top left corner of the view-able screen.

    I would play with it a little more. Or check out the manual. I'm sure this is what your looking for.

  • Take a look at the "Anchor" Behavior. Its meant for things like buttons or text that should always be in the same place.

  • Don't use the "Spawn another Object" method. Instead use "System" - "Create Object" and enter the X ,Y coordinates you want it to show up at.