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
1
vote
1 answer

How to make Ajax.request to work in localhost:50000

Loading XML document only seems to work when the exported project is uploaded to web server? How to make file request to work when running game in C2 dev.env. meaning localhost:50000 Ajax.request "xml/data.xml"
Tom
  • 6,725
  • 24
  • 95
  • 159
1
vote
0 answers

Edit variables from exported script - Construct 2

I would like to access or edit game variables from a script which was designed in construct 2 and exported to html5 game When exported it creates data.js & c2runtime.js data.js consists of game code and variables. function getGlobalObject(name)…
Kitty
  • 19
  • 1
  • 1
  • 4
1
vote
0 answers

Combining Html5 Games (like Webview canvas) into adobe flash/animate

I have a special question about merging two projects into one project, basically made with differend engines. I made a project with flash/animate years ago. Currently iam working with construct2. In flash, there is the possability to include…
IDK
  • 127
  • 11
1
vote
1 answer

Container in Construct 2 doesn't make all objects visible

I thought that the action you apply to one object of a container is automatically applied to every object in the container, but this doesn't seem to be the case in my project: By making 1_br_ok_e visible, I would axpect the other two objects in the…
gsamaras
  • 71,951
  • 46
  • 188
  • 305
1
vote
1 answer

Spritefont for Greek

I am searching for a spritefont that can support Greek letters. I have downloaded the Sprite Font Generator - v2 - Scirra Forums, but all the fonts I tried won't understand Greek, as seen below: What am I missing here?
gsamaras
  • 71,951
  • 46
  • 188
  • 305
1
vote
1 answer

Why some actions appear bold in Construct 2?

I am trying to get started with Construct 2 and notice that some actions appear in bold (Visible and Invisible in the screenshot below). What does it mean? Also, it seems like the last one only does so. PS - It seems that it only happens for events…
gsamaras
  • 71,951
  • 46
  • 188
  • 305
1
vote
1 answer

construct2 - On Device Join not working correctly

I have been trying to put together a prototype for airconsole, based on construct2 but I am having trouble in paradise. Using the "pong" game exemple, I started with this kind of thing to store every device ID…
Maelienne
  • 11
  • 1
1
vote
1 answer

How do I make action for certain instances of object?

I don't want to make action to the object in general I have 8 instances for example (0,1,2,3,4,5,6,7) I need to make the action on 2 , 5 and 7 only for example how ??
Ahmed Mohsen
  • 114
  • 2
  • 9
1
vote
2 answers

Solution: Run game local (file:///) Construct 2

I've recentelly had to build a mobile app that could download games build with Construct 2 and run locally, the solution I've got is handle the game data and sounds in a different way. And here is my solution:
Diogo Garcia
  • 536
  • 1
  • 8
  • 20
1
vote
0 answers

Website unable to connect to my computer

I'm currently in the process of creating a game. Find here: https://docs.google.com/document/d/1zxC9Mo9LtcMf3jXA3z4xdz7Lj3G3EVGA4_CQzjoeyOA/edit?usp=sharing I'm trying to make it so that I get a message when someone new joins. My current method is…
1
vote
1 answer

How to scale the screen area smaller on mobile phones only

How to scale the layout/screen smaller on mobile phones? I know Project Settings / FULL SCREEN IN BROWSER setting fixes scaling issue on phone, but I don't want to open my game always in Full Screen, full screen is necessary only on small size…
Tom
  • 6,725
  • 24
  • 95
  • 159
1
vote
2 answers

How can I create a user defined value in Construct 2?

I want to be able to have the user type a number or use the slider bar to pick a value and have that value be stored as a global variable. How can I do that?
Sara
  • 147
  • 2
  • 7
1
vote
2 answers

Construct 2 converting to HTML

I need your help.I recently discovered contruct 2 and I´m not the best at using it.So my problem is, I exported my game to HTML5 and when I open it it says that for security reason it won´t open only if I upload it, the game as some bugs that I can…
1
vote
1 answer

Is there a way to view the actual code in Construct 2?

While I was using Construct 2, I decided I wanted to see what the code that the events were creating looked like. Is there a way to do so?
The Man
  • 149
  • 3
  • 14
1
vote
2 answers

How to copy multiple events along with their actions in Construct2

I have an event sheet named "EVENT SHEET 1", there are events in it. I want to copy these events to "EVENT SHEET 2". When I do this by selecting desired events, all the events get copied into a single event. How do I paste the events so they…
Yasser Zubair
  • 408
  • 1
  • 5
  • 10