source code?

Discussion and feedback on Construct 2

Post » Mon Aug 17, 2015 11:44 pm

Hello, how do I export what I did to source code?
I need it to show to my academic work!

I set up the game all beautiful, only need the script to complete my academic work.

Can anyone help me?
B
2
Posts: 1
Reputation: 152

Post » Tue Aug 18, 2015 1:02 am

the "source" is your capx file.

Sounds like you were given a project and are supposed to code things yourself. If so I highly recommend doing your school work the way your teacher/professor intended.
Otherwise, Construct does not make it easy to read the code. This is to help protect developers from those that would steal their code.


That said, when you are in the home menu there is an export button. That will export into a working although non(humanly) readable code.
B
28
S
8
G
1
Posts: 226
Reputation: 2,865

Post » Tue Aug 18, 2015 10:12 am

Note when you export you will get the JS code for the Construct 2 runtime, which is identical for all games, plus a block of data representing your project. So you probably don't want to present that as the "source code" to your game.
Scirra Founder
B
395
S
231
G
88
Posts: 24,367
Reputation: 193,684


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests