Questions tagged [construct-2]

Construct 2 is an HTML5 game development engine from Scirra. Construct 2 is the follow up program to the open source Construct Classic.

About Construct 2

Construct 2 is an HTML5 game engine from Scirra. Construct 2 required no programming experience to make games, but Scirra offers a fully documented JavaScript SDK that allows people to extend Construct 2's capabilities.

Free Edition

Construct 2 has a free edition available for anyone to use (including educational institutions). However, it also has a few limits built into it than can only be unlocked by upgrading to the paid edition.

Resources

115 questions
31
votes
1 answer

How did Scirra get HTML5 audio so perfect in Construct 2?

Check out this space shooter demo. The HTML5 audio is perfect on Chrome 18 and Firefox 10. There is no lag in playing sounds and each sample plays perfectly. The last time I tried to play sounds using HTML5 audio and JavaScript I couldn't get a…
a paid nerd
  • 30,702
  • 30
  • 134
  • 179
26
votes
2 answers

How to enable 'Access-Control-Allow-Origin' header for all files in a directory of XAMPP?

I am developing a HTML5 Javascript app to get an image from my local server which runs on the same machine as the app. When I run the app on my Chrome, I got: Access to Image at 'http://localhost/someDIrectory/1.jpg' from origin …
Karl
  • 5,613
  • 13
  • 73
  • 107
6
votes
3 answers

Loading a string if HTML into an iframe using JavaScript

I have a string of HTML tags that I can add to or change whenever I like. "" Is it possible to load that string at runtime into an Iframe as if it was an HTML file? This is for…
Mr newt
  • 63
  • 1
  • 1
  • 4
5
votes
1 answer

SDK error in Visual Studio Community 2015

Upon rebuilding the solution to a file in Visual Studio exported from Construct 2 I received errors: MSB3774 Could not find SDK "Microsoft.WinJS.2.0, Version-1.0" MSB3774 Could not find SDK "Microsoft.WinJS.2.1, Version-1.0"
Sara
  • 147
  • 2
  • 7
3
votes
1 answer

cocoonJS Facebook integration and hash key mismatch

I am trying to integrate CocoonJS Social with my app. When I run it under their launcher it returns the following exception as a response from facebook ApiException: Key hash E7rnQv1gxeHDd0uOra-0EHzc1hE does not match any stored key hashes. I took…
3
votes
1 answer

How to remove android permissions when wrapping html5 app using Cocoonjs

Every time when I use Cocoonjs Cloud services to convert a HTML5 app to Android app, it automatically adds all the unnecessary android permissions. It makes users confused when downloading app. In fact, all unnecessary permissions such as access to…
Long Dao
  • 1,341
  • 4
  • 15
  • 33
2
votes
2 answers

Learning Construct 2

I am keen in learning construct 2. Which website or tutorial is to get started in working on construct 2. I am pretty keen to learn... Would really useful to many people
lakshmen
  • 28,346
  • 66
  • 178
  • 276
2
votes
1 answer

how to use Construct 3 object with ReactJs

So i'm familiar with Construct 3 platform, and i want to do website development. I want a character like object for my web that can move like game character. I know how to make this in Construct 3, but i don't know how to achieve this with React. I…
Flitzcore
  • 166
  • 1
  • 11
2
votes
0 answers

Construct 2 game crash in Android Webview

Problem Description We have made games using construct 2 and playing it on android native Webview with game link. But randomly after some time we are getting this crash. Crash log W: Native thread exiting without having called DetachCurrentThread…
2
votes
1 answer

integrate real-time a/v chat into construct 2 game or embed construct 2 into app

I would like to incorporate QuickBlox or Twilio WebRTC chat and A/V calling into the same Angular apps running on a web page or inside a Cordova/Crosswalk app, as a Construct 2 game. I would like to have an audio/video chat running during game play.…
2
votes
1 answer

Accessing Construct 2 generated JavasScript through custom JS

I have a game built with Construct2 Engine, I'd like to get the value of the game user's score using external JavaScript .. Is there any way to do this ? Thanks
K-Alex
  • 380
  • 1
  • 3
  • 17
2
votes
3 answers

Adding custom CSS to construct 2

I am new to game development and I am making a simple game using construct 2. The problem is that construct 2 provides basic html buttons, but I want to put background-image in button. So for that I want to add a custom css in my construct 2…
Nishant Solanki
  • 2,119
  • 3
  • 19
  • 32
2
votes
2 answers

Difference between PhoneGap Build and locally building PhoneGap Android App

I'm using Construct2 (a GUI game IDE that simply gives ack HTML5 and JS) to develop a couple of games, what I'm not figuring out is that, exporting a project from C2 to build it on PhoneGap Build gives you the www folder that has to be zipped and…
Zerho
  • 1,440
  • 4
  • 19
  • 39
1
vote
1 answer

How to change Construct 2 coloring pictures

I have to change pictures in a Construct 2 coloring game and i don't know how get it. There are a some .png file that contain the old pictures: This pictures are loaded and generated i don't know how by the data.js file that cut and put in each…
1
vote
1 answer

How to calculate a hash of all JS files loaded on page (to verify html5 game runtime)

I have made the html5 game, that users sometime may try to alter to get better highscores. How can I count in the begin(and runtime) of game the hash of whole JavaScript game ( made with Construct2) so that I can compare if there was any changes…
Tom
  • 6,725
  • 24
  • 95
  • 159
1
2 3 4 5 6 7 8