new with C2 : just some questions

Discussion and feedback on Construct 2

Post » Fri Apr 15, 2016 8:52 am

Hi,

I want to make an html5 game in responsive mode. So C2 can do that ? when you publish the game , what sort of file have you ? html, Js and Css ? or this is like fusion ? a reader ?

If a programmer want to modify the game, can he just work on the Js ? or C2 is needeed to modify the game ?

Thanks for your reply guys !
:)
B
2
Posts: 7
Reputation: 164

Post » Fri Apr 15, 2016 8:56 am

theDude wrote:Hi,

I want to make an html5 game in responsive mode. So C2 can do that ? when you publish the game , what sort of file have you ? html, Js and Css ? or this is like fusion ? a reader ?

If a programmer want to modify the game, can he just work on the Js ? or C2 is needeed to modify the game ?

Thanks for your reply guys !
:)


* moved to a more appropriate location

I am unsure what you mean by 'responsive mode'.

The free version allows you to export as HTML5, so you can see for yourself the exported file structure.
The export is usually obfuscated so to modify, you need the original project and a copy of Construct 2.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
137
S
31
G
87
Posts: 5,556
Reputation: 60,456

Post » Fri Apr 15, 2016 10:04 am

Thanks to your reply.
So i test a compilation with blaster example. no encapsulation : html + Js +json. So it is good.
Now, the result in Pc is very good, in android is good but on IOS it is very slow (Safari on IOS 7.1.2).
B
2
Posts: 7
Reputation: 164

Post » Fri Apr 15, 2016 10:22 am

you should really update your IOS to newer versions it will work way faster. not sure though which iphone supports which IOS since i don't have one :)

just found it out:
http://iossupportmatrix.com/

it would seem that iphone 4S and newer only support latest IOS, and iphone 4 can have 7.1.2. as latest which has a really slow webview.
Sea Monsters template - Isometric
Also includes 40 pages PDF of optimizations and "how-to" for your games, and how the "sea monsters" template was built. Follow link for details :)

sea-monsters-templates-and-assets_t162705
B
43
S
14
G
12
Posts: 626
Reputation: 9,455

Post » Fri Apr 15, 2016 12:12 pm

ok. I will go to IOS 8.

Now i have many Js that C2 create. For example Blaster, where is the Js of the game please ? i see the c2runtime, a data but no Js game.
Thanks for your help :)
B
2
Posts: 7
Reputation: 164

Post » Fri Apr 15, 2016 12:57 pm

it seems that the game is on c2runtime. Am i right guys ? and the data.js have all the sprites, sounds. Is it ok with that ?
B
2
Posts: 7
Reputation: 164

Post » Fri Apr 15, 2016 1:11 pm

nope. c2runtime is just a "engine file" which is made out of some js files that can be found in html/exporters.
data.js is a helper file which contains mostly your logic that you made up with events, variables and more.
together they work as an engine.

your sounds / images and the rest is contained in other folders on export.
Sea Monsters template - Isometric
Also includes 40 pages PDF of optimizations and "how-to" for your games, and how the "sea monsters" template was built. Follow link for details :)

sea-monsters-templates-and-assets_t162705
B
43
S
14
G
12
Posts: 626
Reputation: 9,455

Post » Fri Apr 15, 2016 2:18 pm

Thanks for your response.
So if i want to work with an external programmer to add some feature to the game i made with C2, how can he work ?
For example, add the possibility to load a spine squeleton in a frame for a title frame for example, or the possibility to put data to a database.
B
2
Posts: 7
Reputation: 164

Post » Fri Apr 15, 2016 5:05 pm

hum... this is just impossible ? like fusion, we must create addon with a sdk ? tell me guys ! ;)
B
2
Posts: 7
Reputation: 164

Post » Fri Apr 15, 2016 9:12 pm

Yeah you'd create a plugin with the SDK. https://www.scirra.com/manual/15/sdk
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,680

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests