BillyTheBanana's Recent Forum Activity

  • I'm not sure about screen wrapping, but there is an easy pre-built option for screen following. Just go to the properties of your player object and check Groups > Attributes > Center view on.

    To set the screen size to 1024x768: First select the layout by going to the layout editor and clicking on any empty area. You should see the layout properties in the property panel on the left. At the bottom is a link to the application properties. Click that, and you should then see the width and height options under Window Properties.

  • What is the best way to debug Python scripts in Construct? Specifically I feel like I need to be able to monitor my variables created in scripts without having to write a lot of extra code to display each one in a text object or what have you.

    Thanks again!

  • Thank you, that's perfect. Can you refer me to a more in-depth explanation of the SOL and what goes in it and when?

  • Let's say I have multiple instances of a sprite object called box. I want each one to be destroyed when the user clicks on it. This is not difficult. I just make the event "On Left Clicked on box" and the action "box: Destroy". But what if I want to use a Python script in the place of the action? "box.Destroy()" doesn't work because it thinks I'm referring to box[0] no matter which box I clicked. So how do I specifically refer to the instance that triggered the event? I'm hoping for a solution that I can apply to any event or action, not just this particular example.

    Thanks in advance.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey everybody. I'm new to Construct but not new to programming games. Hopefully this is a quick and easy question, but I haven't been able to find the answer anywhere.

    How can you retrieve a global variable (one created with a "System: Set Global Variable" action) from inside a Python script?

    Thanks!

    EDIT: Nevermind, I found the answer in the wiki (which I didn't know existed). That'll teach me to read the "READ ME FIRST" post in a forum before I post! Sorry about that.

BillyTheBanana's avatar

BillyTheBanana

Member since 27 Sep, 2011

None one is following BillyTheBanana yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies