Layout Help

0 favourites
  • 6 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • I'm having issues transitioning from layout 1 to layout 2. The objects transition as they should but the events in the second layout don't function at all. Could anyone tell me what I may be doing wrong?

    Here is the CAPX: Shadowgate CAPX file

  • The text object belongs to the layout1. Objects can not yet be global in C2.

    You need to create a new text object in your second layout.

  • I added a new text object, edited its instance variables to show the global variable and still nada.

    So I even created a new global variable(Message2), updated instance variables and updated all of the event info to match the new global variable specific to the second layout. Still nothing.

    CAPX: Shadowgate2 CAPX

    <img src="http://www.mypwn.com/example1.jpg" border="0">

    <img src="http://www.mypwn.com/example2.jpg" border="0">

  • In your event sheet, every tick, "Text" is the object being updated with Message2, not "Text2". You forgot to change it.

    You could have kept the global variable "Message" as it is global to the whole project.

  • Some tips about double quotes: you don't need double quotes around strings in the property grid or event variables. If you type "" in those places, it does not mean an empty string, it means a string with two characters, each a double quote. Leave it literally blank to have an empty string.

    "" only means an empty string in the parameters dialog.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • <img src="smileys/smiley1.gif" border="0" align="middle" />

    It worked. Thank you a bunch Kyatric.   <img src="smileys/smiley32.gif" border="0" align="middle" />

    Now to test out creating items, storing them in an inventory, using them to create events by dragging and dropping over other objects and hopefully create an animation effect or two.

    Thanks again.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)