Uglypenguin's Recent Forum Activity

  • You do not have permission to view this post

  • Ahhh thank you very much. I'll do some more reading :)

  • Hello you all I need some advice/help figuring out what could be causing some frame drops. Ive been working on this build for a while trying to find the most lightweight method so my game can run on nearly any pc or mobile phone. On my desktop it runs 50-60 frames but I tested it on my surface pro windows10 tablet and it was 35-45 frames.

    When testing on my desktop all events related to block disabled, I was at 60 frames no exceptions. On my surface its 45-55. So I dont think its entirely related to the amount of blocks but it could be (there is over 2000)

    Layout size is 2500x3600

    Blocks are 50x50

    My next thing I'm going to try is making smaller/simplified assets to see if it gives me a boost.

    Here is the capx- dropbox.com/s/znstqybymq64nn5/mob.capx

    Tagged:

  • Thank you guys for the help!

  • That won't work because all of my trees would look square an uniform, can have animations, ect, can spawn a stump for each tree so you can walk under them, and I use random generation for the rest of plants and stuff I cant really random generate a tilemap. Thank you for the input though! Im trying to find ways to optimize (Such as disabling the collisions) it and I have gained a few frames.

    Can you tell me more about render cells? What does that do?

  • So Ive started a pretty large project. A huge one actually, its an rpg. I was planning on having many different layouts or levels and each is 10,000x10,000 pixels big. Lots of room to run around. Im running into problems with the environment though, I removed all fauna and my frames went from 16 to 60. I disabled collisions and tried a lot of stuff but having individual objects for each tree and plant seems to be slowing it down considerably. Here is the finished layout-

    As you can see, pretty big. And thats just the trees not the tiny little plants and other objects. Do you guys know any tips on how to use that many objects without lag? Ive gotten really far with this game and I dont want to start over with a new engine that can handle what Im trying to do.

    EDIT- Found out something interesting. I found out there were over a million collision checks per second. With no trees or fauna (I deleted the tree and plant objects from the project) My collisions were down to 1000. That makes no sense because I turned off collisions for those objects and the debugger showed no difference in the checks per second until I deleted the object. If somebody wants to check this out an confirm I'm not messing up I would very much appreciate it.

  • Are you still looking for projects to work on? I'm creating an rpg thats in need of original tracks. Email me at in you are interested.

    -Danielle

  • bump

  • Try Construct 3

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

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

  • So I'm liking how the shadows are turning out so far with this, but, I can't seem to figure out how to get nice blended gradient shadows like this to not be so tall. It seemed changing the light radius to get the blended look messed with being able to have a certain height to it. the Also have the shadows that cast fall off at a certain distance/have the shadows get less opacity the farther out it gets so it doesn't cast shadows halfway across the map.

    Here is the height when the ShadowLight objects height is set to 100, radius set to 0. Tree objects shadow cast height is 20.

  • Use dropbox and in the full text editor here URL on the top.

  • I'm attempting to make readable texts in game. You press E to read and the dialogue box pops up, taking text from an object text variable. and 'typing' it out onto the box. I tried to make a second function (see code below), in theory, another piece of text can be read for the same object. That's the code that is disabled. Once putting a second object in the game the dialogue box no longer popped up for either objects when you interact with them.

    The capx for those that need it https://www.dropbox.com/s/6lo5e6vjgpwvxas/GAME.capx?dl=0

    All of the code

    Reading Code

    The timer in the reading code

    Any idea why it cant do more than one of the 'readable' object in the game? Thanks in advance. Do not distribute this early stage game.

Uglypenguin's avatar

Uglypenguin

Member since 18 Jun, 2014

None one is following Uglypenguin yet!

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies