Memory management

Discussion and feedback on Construct 2

Post » Wed Oct 03, 2012 9:51 am

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 !




B
3
Posts: 2
Reputation: 629

Post » Wed Oct 03, 2012 11:59 am

[QUOTE=geve2009] Hello from France,[/quote]
Salut :)
[QUOTE=geve2009] 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...[/quote]

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.


[QUOTE=geve2009] 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...
[/quote]
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.

[QUOTE=geve2009] 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).
[/quote]
Same remark as above, this has been known as containers in Construct Classic and will eventually land in C2.

[QUOTE=geve2009] 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...
[/quote]
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.

[QUOTE=geve2009] 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...
[/quote]
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 ^^

[QUOTE=geve2009] 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...)
[/quote]
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.

[QUOTE=geve2009] 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.[/quote]
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.


[QUOTE=geve2009] I hope a french version (and french documentation) will soon be available ![/QUOTE]
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 2Kyatric2012-10-03 12:00:39
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793


Return to Construct 2 General

Who is online

Users browsing this forum: Arima and 3 guests