Tylermon's Forum Posts

  • Great to know.

    Thank you all for your replies.

  • Transparent pixels are rendered even if nothing is there. A giant transparent sprite will eat a huge chunk of memory even though nothing is visually put on screen.

    So my question is. If I have a collision sprite and set it to not visible.

    Will this object be treated as if transparent and take up gpu resources. Or is it ignored altogether saving draw calls and not going to affect the gpu.

  • I deleted my audio object from file...it was not in use.

    This fixed my issue.

    But when I go to release I plan to have sound. If The server or game cant have a certain amount of clients with sound...this is a major issue.

  • Happens when I am opening multiple instances of my game.

    Was trying to stress server load. got to 13-ish instances of the game and now this message.

    I'm using chrome.

    Im not even using any audio in my project yet.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • http://searchengineland.com/9-seo-quirk ... -of-146465

    a "-"dash/hyphen is more compatible with the web than an "_" underscore.

    just wanted to add, that because construct 2 deals with html5 and the web, this is important. it can potentially help people get to your games. Also works much better with google.

  • >

    > I have also noticed my preview can take ages to load. I think something is broken in Construct at this point because it has gotten to the point where I have to close my browser and construct projects to get preview working again.

    >

    I've had the same issue when I was working on large projects. But, I think this is to be expected. Remember we are working in a browser.

    I have just found something very absurd. Solves my personal issue. But if chrome is not on my monitor #1 it gets a huge performance hit.

    I just changed my multi monitor setup into surround. Used display fusion to divide the surround display into individual desktops and my problem is fixed.

    Chrome and construct think there is only 1 display...I still get my displays divided properly.

  • Recently I have been having issues where my browser(chrome) just cant seem to give me proper fps.

    normally I get a solid 120fps in my projects, but as of recently my browser will get stuck at like 45-48 fps and it really kills things. laggy and non smooth.

    Things on tablets and phones seem to work great most of the time.

    I have also noticed my preview can take ages to load. I think something is broken in Construct at this point because it has gotten to the point where I have to close my browser and construct projects to get preview working again.

    system specs are:

    cpu: i7 3930k 6 core 4.5ghz

    GPU: gtx 780

    ram: 32gb 1866mhz

    other parts not really relevant.

    I can't really explain the random construct hiccups or lag on this machine.

    I would still expect fps above 30 to look decent. so many mobile games run at 30fps....but it seems we have to really optimize and push for 60, which could be very limiting.

  • to be honest, you might not even need to pin anything. You could have that transparent sprite, check for a collision, and use the touch start/end to detect which way a swipe was, and lerp the sprites to the position you want.

    you ninja, haha. glad to see you got it working!

  • play flying

    stop(no tag) stops last played sound.

    play death

    we have play filename

    we should have stop file name as well.....

    That workaround should work i think.

  • Yeah, I've been using a lot of rexrainbow 's plugins and behaviors. They are extremely useful!!!

    Basically, the .capx contains a 1 x 8 grid with a sprite in each grid square, eventually it will be 8x8. There is a long rectangular sprite that appears on top of the row once the screen is touched, which will eventually be clear, but for testing purposes I want to be able to see it. With this "slider" sprite, I want to move the entire row of sprites from side to side using touch controls. Then once I get this part working, I need to figure out how to get the sprites to wrap at the edges of the board, at the pixel level, so you can see the sprites at the edges on both sides of the grid when they crossover.

    At one point I was using multiple layers, but I found that if I just set the solid behavior of all the sprites to disabled, I don't need to use multiple layers.

    With that said, I tried using drag and drop before. I guess I just don't know it well enough to get it work. But, by the looks of the conditions and actions it provides, the functionality I need just isn't there. Right now, I am using a for each loop to pin all the sprites to the slider sprite, but it's just not working. I'll goof around with drag and drop some more though and look up the tutorials again.

    I haven't tried using parallax yet. I don't know how I would get it to work along with the wrap, since I'm not wrapping at the edge of the layout. Is it possible to view multiple layouts at the same time? That would make things a whole lot easier cuz then I could just set the board layout to the size of the board and have the UI stuff on the sides on another layout beneath the board. lol

    You dont need a for each loop.

    Just say pin Sprite to sprite and all of that sprite gets pinned.

    Generally for each is useful when you want to do more specific things.

    Like check a variable.

    It helps pick only certain objects instead of all of them.

    Maybe the grid object or something you are using is what is breaking them? is it possible one of your plugins is trying to keep the objects in a certain spot, but the slider/pin behavior is conflicting so the two sort of fight each other making a giant mess?

    For each door

    Do your distance check

    I think that will fix everything hopefully.

    Edit.

    Didn't see there were more pages

    Glad to see it was fixed haha

  • IP addresses change daily so don't bother focusing on that. Ban/Deleting the users account, is more than sufficient.

    Most ISP assign one IP that represents ones household.

    While an individual computer may change IPs fairly often, usually monthly or so, the outgoing IP of the location almost never changes.

    But, maybe you are right, IP ban might be overkill. Overcomplicating the task beyond what I need to.

    personally I find it easier having an open animation frame and a closed animation frame. All you do is change the frame. No movement or changing angles.

    Just remember to turn off/on the collision.

    This way keeps sprites where they need to be pretty reliably.

  • I cant open the capx sadly because I dont use many of the plugins you have.

    That said, I made two sprites. Made one a drag and drop sprite.

    Pinned a bunch of sprites to it and shook the thing like crazy.

    I cant get my pinned sprites to get misplaced no matter how hard I try.

    You mention you use multiple layers. So I am thinking, if you move on one layer, that layer may have different x,y locations than the other layers. Trying to move sprites on different layers may be causing your issue.

    Do you use parallax or anything? are the layouts/layers the same size.

    compare two values is a system event.

    You will compare the distance of the two objects as shinkan described.

    This will have an action to either keep the doors open, or close them depending on how you set it up. You will have to have a sprite for this, and probably disable collision on the door when open.

    you then need an else statement to do exactly the opposite.