Memory management

0 favourites
  • 2 posts
From the Asset Store
Manage time and money, plan the best strategy to make all the customers happy in your restaurant, a hotel, cafe, or any
  • Hello from France,

    I'm a new user of Construct2. Fine software but I get some problems and I have some suggestions...

    Problem 1 :

    My game get 7 layouts, same number of events sheets, about 50 objects (texts, sprites, no sounds ...) and the software make my PC working slowly. (my PC works under Windows XP, with Intel Core Duo, 3 Go RAM).

    I would like to make a game with 10 levels but I'm afraid the software can't manage more objects. I got many system crashes !

    I suppose it is because all layouts of the game are loaded into memory each time...

    Problem 2 :

    I didn't found a debug mode. It could be very helpfull to see variables values in real time (actually, I'm using text objets to display variables values).

    But when I put a negative value on a text object (ie Y coordinate of an object) it can't be displayed... Positive values are displayed. Strange...

    Problem 3 :

    I didn't understand the interest of buttons objects: they don't accept graphics.. So I decided to create sprites and to detect mouse upon them. To limit number of buttons, I made only 1 sprite for the appearance of the button and I added a different text upon each instance of my sprite button. It could be very usefull to create "boxes" or "groups" for such a button (A box could contain several objects, ie: a text and a graphic).

    Problem 4 :

    It is not easy to manage groups and events in the interface. You need to move events lines very carefully. It would be more simple to use a right click of the mouse to select actions (add this event to this group, move this event to the top, and so on...) And the ranking of these event lines change the way the game works...

    Problem 5 :

    It is impossible to select a sprite on a scene if this sprite is on a layer under another layer. You need to move the sprite which is upon the one you want. I suggest to create something to lock coordinates of a sprite and something to select sprites from their lists. Well... I let you find the right idea but it would be usefull to be able to move all sprites without looking at the z-index of their layer...

    Suggestions :

    They are not enough examples of how manage movements on a game. It coulb be very comfortable to get an example of each kind of movement.

    (IE : how to use sinus and cosinus to manage X and Y movements, how to manage gravitation, movement for a plane, a car, a human, and so on...)

    It would be wonderful to get librairies of special objects (like buttons with effects for example). As it was into the Game Factory software...

    The editor software is too light... You need another software to make good job.

    By the way... If I took the time to write all this text it is because Construct2 if, for my opinion, the best software to create games. I tried several others software before (Games Factory 2, Game maker, Flash,..) and I found this one get the best way of work : simplicity, logical, management...

    I hope a french version (and french documentation) will soon be available !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello from France,

    Salut :)

    Problem 1 :

    My game get 7 layouts, same number of events sheets, about 50 objects (texts, sprites, no sounds ...) and the software make my PC working slowly. (my PC works under Windows XP, with Intel Core Duo, 3 Go RAM).

    I would like to make a game with 10 levels but I'm afraid the software can't manage more objects. I got many system crashes !

    I suppose it is because all layouts of the game are loaded into memory each time...

    It's more likely that your computer (and perhaps the system) is pretty weak for nowadays standards.

    Making sure that you use either the latest version of chrome or firefox and making sure that your graphic card can allow you to handle webGL will probably help with the performances.

    Be sure to check the best practices and performance tips manual entries.

    Be sure also to read this blog article considering optimisation with Construct 2.

    Problem 2 :

    I didn't found a debug mode. It could be very helpfull to see variables values in real time (actually, I'm using text objets to display variables values).

    But when I put a negative value on a text object (ie Y coordinate of an object) it can't be displayed... Positive values are displayed. Strange...

    Indeed quite strange, I never had issues with the display of values.

    Make sure your text object is wide enough to display the number of characters ( the "-" is one more character)

    For debug, you can use third part plugins log to chrome console (which ties also to firefox's console and/or firebug extension) or Debug panel.

    The debuging request has been made already quite a lot and will be met eventually, just remember Scirra is a 2 men team only who can only implement a limited amount of features each releases.

    Problem 3 :

    I didn't understand the interest of buttons objects: they don't accept graphics.. So I decided to create sprites and to detect mouse upon them. To limit number of buttons, I made only 1 sprite for the appearance of the button and I added a different text upon each instance of my sprite button. It could be very usefull to create "boxes" or "groups" for such a button (A box could contain several objects, ie: a text and a graphic).

    Same remark as above, this has been known as containers in Construct Classic and will eventually land in C2.

    Problem 4 :

    It is not easy to manage groups and events in the interface. You need to move events lines very carefully. It would be more simple to use a right click of the mouse to select actions (add this event to this group, move this event to the top, and so on...) And the ranking of these event lines change the way the game works...

    I'm not sure to understand that issue.

    Tbh I've been using the event sheet system for a couple of years now, once you get the hang of it, it's not a problem anymore.

    The right click context menu already contains a lot of elements, I'm afraid adding some more options could bloat it.

    As for the order of events, they already do matter as you can read in this imperative to read manual entry about how events work.

    Problem 5 :

    It is impossible to select a sprite on a scene if this sprite is on a layer under another layer. You need to move the sprite which is upon the one you want. I suggest to create something to lock coordinates of a sprite and something to select sprites from their lists. Well... I let you find the right idea but it would be usefull to be able to move all sprites without looking at the z-index of their layer...

    Indeed, but you can, in the layers bar lock/hide the upper layer to see/select only the layer you want.

    The lock object request already happened/2 men team/eventually will arrive, you know the drill now ^^

    Suggestions :

    They are not enough examples of how manage movements on a game. It coulb be very comfortable to get an example of each kind of movement.

    (IE : how to use sinus and cosinus to manage X and Y movements, how to manage gravitation, movement for a plane, a car, a human, and so on...)

    You already have quite a few examples in the C2 install\examples folder of your installation.

    Also, the forums and the how do I FAQ as well as the tutorials sections of the websites have pretty much what you need. It takes time to search those, but it's really worth it.

    It would be wonderful to get librairies of special objects (like buttons with effects for example). As it was into the Game Factory software...

    The editor software is too light... You need another software to make good job.

    Not sure what you're talking about here ?

    Are you asking for a more worked image edition tool ?

    Once again 2 men team, this is not the aim of Construct 2. Tbh, having an external image editing tool is not that much of an issue and why try to compete with tools like photoshop or Gimp with their massive amount of man hours and development when the goal of the software is to be a game maker ? That's not where the essential is.

    I hope a french version (and french documentation) will soon be available !

    Translation tools for the website and the interface are planned, but take time.

    And the community will also have to take some time to do the translating.

    There is a French external forum for construct-classic/construct 2

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)