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
0
votes
1 answer

How to Get Head Tracking Output Cordinates?

Anyone know a binary that exports the output of the coordinates? I am looking for something related to several days, I have already visited dozens of sites, downloaded dozens of projects and researched dozens of tutorials, but I can't find anything…
Sérgio Wilker
  • 162
  • 1
  • 2
  • 18
0
votes
1 answer

Construct - make a function call to web page and give a callback function to be called later

Is it possible in Construct2/3 to make a function call to web page and give a callback function name to web page so its called later?
Tom
  • 6,725
  • 24
  • 95
  • 159
0
votes
1 answer

Construct 2 to Construct 3 Syntax

I am trying to follow a tutorial but the tutorial is in construct 2 (https://www.construct.net/en/tutorials/multiplayer-tutorial-chat-room-591/chat-events-3?vic=12) In Construct 2, you would use: self.text & newline & Function.Param(0) However, in…
BCLtd
  • 1,459
  • 2
  • 18
  • 45
0
votes
1 answer

Angular JS Base Href loading a page on second time doesn't work

I have a very weird issue with AngularJS app. I'm dynamically trying to apply the base href tag to specific routes alone for the purpose of loading JS files dynamically inside those route templates. For this reason I have come up with a…
Yaseen Hussain
  • 62
  • 1
  • 10
0
votes
0 answers

My cordova apps stuck after instaling the plugin media

I tried to build an cordova based android aplication, with "cordova-plugin-media" installed because I want my apps to be able to record my voice. after the build success with no errors, I run the apps, the recording is working, but my apps become…
Hariyanto
  • 1
  • 1
0
votes
1 answer

How to count the width of text sprite?

I need to wrap text nicely. E.g. "WWWW WWWW" takes more space than "1111 1111". I have a design to make a for loop and add words one by one and see if text is too long to fit the row. How to count properly the text.textWidth() without drawing text…
Tom
  • 6,725
  • 24
  • 95
  • 159
0
votes
3 answers

Disable click event propagation on construct 2 html canvas

I have a construct 2 game export file, in which I append a html file on top of it. I want to disable the on touch/click event of the dynamically generated canvas of the construct 2 game because when I click on the appended html, the click also…
0
votes
0 answers

Why my APK running with different performance on same Android version?

I build a simple game (APK) with Construct 2 + CLI Cordova + Android Studio (target SDK 27, min SDK 21), then test it on two devices : Samsung i9082 (Lolipop - cust rom) : Slow performance Asus (Lolipop) : Good performance *Same results when i…
mazteen
  • 1
  • 1
0
votes
1 answer

Web HTML Game not working on Samsung TV HG32EE590

This game HTML5 link is not working on this Samsung TV HG32EE590. It takes a very long time to load - then just shows a black screen. The game is built in Construct 2 (I am aware not great!) But I have exported the game into HTML5. If anyone has…
0
votes
0 answers

Send and save data to php with construct2

Im trying the past 2 weeks to send and save data to a php but with no luck. So, my goal is , to give the ability to users have download my app from playstore to can vote if they agree or not for something in the app. To do that i put a yes sigh and…
Savvas Ant
  • 25
  • 5
0
votes
1 answer

Is this a bug? Using a touch input (With mouse input on) on a button but nothing is done

I am using a button to transit to another layer. But I can't transit to that layer. I am using construct 3. When I click on that button onTouched an object (the object is that button) -> Go to layer (Layer02) But nothing happens. I am using Touch…
del
  • 1
  • 2
0
votes
1 answer

Javascript $.GET - Access-Control-Allow-Origin ERROR

I try to collect the html text from different sites and after that to search if those sites contain my pub-id. The problem is that I can't acces other websites, becase of Access-Control-Allow-Origin. Failed to load http://example.com/: Redirect…
Stefan
  • 49
  • 1
  • 6
0
votes
1 answer

Cordova platform add android error (Construct 2)

apk file with a construct two projects exported via Cordova I open cmd then I reach to my folder with the exported project and when I try to add android using cmd - "cordova platform add android" I get this: 'Discovered plugin…
G.Cal
  • 11
  • 2
0
votes
1 answer

Best way to disable Android game install banner from C2 game url

How to disable @Android google web app install banner ? On android 6 phones chrome started to display install banner, now our C2 games are installed to phone when user should be playing games on our website. We prefer to allow usage on website…
Tom
  • 6,725
  • 24
  • 95
  • 159
0
votes
1 answer

Lerp() function not working as desired in construct 2

I want to create and effect of distributing cards in a construct 2 game. I have a starting position (500,215) from where cards are distributed. There are 6 players in game and each player will have 5 cards. I have an array of positions where each…
Harsh Patel
  • 47
  • 1
  • 10