Can I make this with Construct 2?

Discussion and feedback on Construct 2

Post » Tue Jul 16, 2013 8:07 pm

@Arima
Well there is my new piece of knowledge today :) In fact it's such pleasant news that you have just saved me some serious headache in the future :)

All hail Arima :)
B
88
S
18
G
9
Posts: 2,455
Reputation: 14,928

Post » Tue Jul 16, 2013 8:45 pm

Lol, glad to help. :)
Moderator
B
91
S
32
G
33
Posts: 3,005
Reputation: 27,552

Post » Tue Jul 16, 2013 9:01 pm

Have you considered PhoneGap for your app? HTML5, CSS, and JS...

http://phonegap.com/
B
22
S
4
G
1
Posts: 100
Reputation: 2,150

Post » Wed Jul 17, 2013 12:06 pm

@Arima, @jayderyu- Thank you for the tip, I've done some digging around and found this great tutorial on optimization that goes more in depth into how to save processing:

https://www.scirra.com/tutorials/598/optimization-and-tle-top-level-events/page-2

I also read in another post that using Scale Inner is much better than Scale Outer for fps. Do you all know where I could find more optimization tips?

For example, this is another tip I didn't know about:

[QUOTE=Arima] if nothing on the screen changes, C2 actually stops rendering because there's no reason to, it just leaves there previous frame there.[/QUOTE]

@jayderyu- I've just recently come across your Bubble Game Server, would be great if this could also be used to synchronize data for Apps :) across multiple devices.

@klkitchens- I'm shying away from Phonegap because I want to keep the 30% I'd have to give to the stores. In addition, it seems to me that I really can do this as a straight webapp with different layouts according to screen size, which would allow me to have the same code base for everything. Given C2's offline ability on iOS/Android I think everything is here to make it work as a WebApp.

https://www.scirra.com/tutorials/70/offline-games-in-construct-2

... although I do wish I could find more documentation about App performance on C2.
B
6
S
1
Posts: 29
Reputation: 658

Post » Wed Jul 17, 2013 12:29 pm

[QUOTE=devaldivia]
@klkitchens- I'm shying away from Phonegap because I want to keep the 30% I'd have to give to the stores. In addition, it seems to me that I really can do this as a straight webapp with different layouts according to screen size, which would allow me to have the same code base for everything. Given C2's offline ability on iOS/Android I think everything is here to make it work as a WebApp.

https://www.scirra.com/tutorials/70/offline-games-in-construct-2

... although I do wish I could find more documentation about App performance on C2.[/QUOTE]

So your iOS/Android users wouldn't install the app, just launch it from the browser?
B
22
S
4
G
1
Posts: 100
Reputation: 2,150

Post » Wed Jul 17, 2013 12:50 pm

@ klkitchens- Exactly, and it can also be used offline!

Something I'm worried about though is that the Browser memory is apparently commonly limited to 5 MB, which is for the entire Browser and not per page.

On my list is to learn how other C2 programmers deal with this and how much of a problem it is in rl.
B
6
S
1
Posts: 29
Reputation: 658

Post » Wed Jul 17, 2013 7:12 pm

[QUOTE=devaldivia]Something I'm worried about though is that the Browser memory is apparently commonly limited to 5 MB, which is for the entire Browser and not per page.[/QUOTE]

Where did you hear that? For any modern device and browser, that can't be true. One uncompressed 1024x1024 image alone takes up 3-4 megabytes of memory, depending on it if has an alpha channel or not.Arima2013-07-17 19:13:03
Moderator
B
91
S
32
G
33
Posts: 3,005
Reputation: 27,552

Post » Wed Jul 17, 2013 7:21 pm

@Arima- I got this from the manual, but maybe (hopefully) I'm misunderstanding? Ok, re-reading it, seems that 5 MB is the Browser limit for *WebStorage* and since graphics don't go into WebStorage, I take it they don't affect that limit.

It's in the section "Storage per domain"
https://www.scirra.com/manual/120/webstorage

B
6
S
1
Posts: 29
Reputation: 658

Post » Wed Jul 17, 2013 7:23 pm

Yeah, the webstorage limit is completely different from the memory limit.
Moderator
B
91
S
32
G
33
Posts: 3,005
Reputation: 27,552

Post » Wed Jul 17, 2013 7:26 pm

sorry, my bad. I used webstorage interchangeably with memory.
B
6
S
1
Posts: 29
Reputation: 658

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests