urkokan's Recent Forum Activity

  • If it's on mobile it is better to load as little as possible. For my game I have shop menu in a different layout, you tap on shop button and go to it. Then in shop you have an exit button to return to game. If you build all your menus in one layout and make them visible/invisible you come across the performance problem. Let's face it, the shop does not need to be following you through the game set to invisible.

    this is my work

    ibb.co/hyVbPb4

  • and for image??? 141... is too much

    i have a hud in this hud i repor score and stats.. for each enemy different.. i have take a icon and put 20x20px on hud for count how many enemy for each type you have destroy... this icon is a new image.. taked whit clone object type... and i do that whit all image that cause my problem?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes you should use another layout. Setting a layer invisible, the objects are still loaded. For energy etc they should be global variables so unaffected when you go between layout.

    ??? umh

    you say that??

    instead build layer on the level layout where player is...

    i build a layout "store" in this layout i build a layer invisible and set visible when player go in to door? then?? for go out??

  • That's your image use in the current layout so you have too many images and animations loaded. Could also be particle effects but I've never really used them.

    this happen cause i build a shop on layer...

    cause i not know hot to buil on layout...

    i have door in game.. when you go in collision set layer visible and inactive group of monster and player.. when i push n exit set layer invisible...

    i think no is this way correct..

    is simple do.. "go to layout" but when you do.. you "start layer" and i no want.. cause have other check.. "energy bar, gold, score, enemy killed" if i do go to layout all reset

  • For mobile 141.5 is high so you will probably see some performance drop. Should really be no more than 80

    why is 141.5?

    this happen cause i build a shop on layer...

    cause i not know hot to buil on layout...

    i have door in game.. when you go in collision set layer visible and inactive group of monster and player.. when i push n exit set layer invisible...

    i think no is this way correct..

    is simple do.. "go to layout" but when you do.. you "start layer" and i no want.. cause have other check.. "energy bar, gold, score, enemy killed" if i do go to layout all reset

  • Depends how many are on screen :) check your memory usage

    here my debug

    ibb.co/WVP1Hq7

  • One layout = one level. This is a common approach.

    You can set layers as global to re-use them on many levels.

    in every level i build more layer

    1 is for background

    1 for tile

    1 for level where i put a object and player

    hud and other have the same layer

  • Any number of layouts or event sheets is fine

    maibe is version of constuct 2? i have r272..

    maybe the way i built the level?

    my levels are made of many tiles I took them from sprite sheets and each tiles is 200 pk

  • so what you would have to do is something like and a variable called levels or whatever you want and just add it to the event example I have. First group all the events and call it like Level 1 spawns and add the condition if level is = to 1... spawn these. copy the group and just change it up. if level is = to 3 spawn these. You'll have to make it so when player is on like level 1 set levels to 1, when player is on level 2 set levels to 2 and so on. That way whenever a player is on a certain level you spawn items, enemies or whatever from those groups

    tnk

    iknow this.. but can you make example?? construct 2 does not give you much space with layout management and this I did not understand ...

  • is there a particular method to use construct 2 ??

    for example not using more than a certain number of event sheets or a maximum number of layouts ??

    any general rule ?? I ask this question because all of a sudden I saw the game slowed darnly, I don't remember what I did .. I put the welcome screen on an invisible layer, when you press a button it becomes visible then counting 3 layers that work so ... one and when you lose the game then another is the main screen and another one and this menu with the explanations of the game, first on a 7-generation kindle the game was a fairy tale ... now you can't not even playing ... and how to see the slow motion

  • is better make level on layer or on layout??

    for make layout when player finish one level go to next simply..

    for layer?? what i do for go to next level ?

  • Mobile devices are much less powerful than a PC, so there could be any number of issues. That said, one common issue is updating text every tick or too often, this is a very resource hungry process on any device but will slow down mobile devices especially.

    every tick??

    but i do just some litle modify.. and all go down..

    in every tick i have a lot of text

    score diamon type of enemy killed...

    but i do 1 every tick cause i know this command can use a lot of energy

urkokan's avatar

urkokan

Member since 10 May, 2018

Twitter
urkokan has 1 followers

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies