Make an infinite scrolling background of an Uneven image

Get help using Construct 2

Post » Fri Jan 08, 2016 3:50 pm

LittleStain wrote:
chadorireborn wrote:So the (Ingame sprite or tiledbackground) size or instance count doesn't lower performance (cpu or ram) is that what you mean only the ImageFile?


Not the file, just the image..
The size in the game effects the drawing, not the (image-)memory it occupies..


I am beginning to think I don't really understand the optimization guide of Ashley now. So performance is only based on what is seen on the screen. Thanks i'll keep that in mind. But why do we need to turn off the Collisions outside the screen view according to some guides ? And why do we need to maintain object count if we can just scatter many objects that will not be seen together in the screen view?
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
65
S
21
G
90
Posts: 1,124
Reputation: 59,862

Post » Fri Jan 08, 2016 3:59 pm

chadorireborn wrote:
LittleStain wrote:
chadorireborn wrote:So the (Ingame sprite or tiledbackground) size or instance count doesn't lower performance (cpu or ram) is that what you mean only the ImageFile?


Not the file, just the image..
The size in the game effects the drawing, not the (image-)memory it occupies..


I am beginning to think I don't really understand the optimization guide of Ashley now. So performance is only based on what is seen on the screen. Thanks i'll keep that in mind. But why do we need to turn off the Collisions outside the screen view according to some guides ? And why do we need to maintain object count if we can just scatter many objects that will not be seen together in the screen view?


You don't understand what I am saying, or I don't understand your question..
You were asking if it would be wise to make your image smaller and my answer was that it wouldn't matter that much, because it only take 615x194x4 bytes in memory..
Collisions have nothing to do with the image, amount of objects have nothing to do with the image..
So I don't know where these suddenly come from..

Cpu is something different from gpu..
I was talking about image memory usage..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Jan 08, 2016 4:06 pm

[/quote]
You don't understand what I am saying, or I don't understand your question..
You were asking if it would be wise to make your image smaller and my answer was that it wouldn't matter that much, because it only take 615x194x4 bytes in memory..

Collisions have nothing to do with the image, amount of objects have nothing to do with the image..
So I don't know where these suddenly come from..

Cpu is something different from gpu..
I was talking about image memory usage..[/quote]


Must be my question being confusing. I was asking about which is better for performance, resizing the Image of the TiledBackground smaller or resizing the Tiledbackground smaller itself? The other questions were just addons...
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
65
S
21
G
90
Posts: 1,124
Reputation: 59,862

Post » Fri Jan 08, 2016 4:12 pm

chadorireborn wrote:Must be my question being confusing. I was asking about which is better for performance, resizing the Image of the TiledBackground smaller or resizing the Tiledbackground smaller itself? The other questions were just addons...


Are you having performance issues?

If so, resizing the tiledbackground (in game) itself won't have a noticable effect, because the amount of image memory used for it will remain the same..

Reducing the amount of pixels of the image, would..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Jan 08, 2016 4:17 pm

LittleStain wrote:
chadorireborn wrote:Must be my question being confusing. I was asking about which is better for performance, resizing the Image of the TiledBackground smaller or resizing the Tiledbackground smaller itself? The other questions were just addons...


Are you having performance issues?

If so, resizing the tiledbackground (in game) itself won't have a noticable effect, because the amount of image memory used for it will remain the same..

Reducing the amount of pixels of the image, would..


Actually I am trying to avoid it, and luckily no. I am just making sure for I am trying to make a mobile game and don't want it to be sluggish unlike the last time.
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
65
S
21
G
90
Posts: 1,124
Reputation: 59,862

Previous

Return to How do I....?

Who is online

Users browsing this forum: Hassan Hackmi and 11 guests