Retrolegend's Recent Forum Activity

  • A friend of mine has tried to run their game today, but it doesn't seem to be working. First, their game opened with a black screen. After that, they asked for my help and sent me the file. I wasn't able to open it. Construct gave the error message "Failed to open project. Check it is a valid Construct 3 single-file (.c3p) project."

    After a bit of troubleshooting, my friend encountered the same issue. They still had their original file open, but that wouldn't load their game layout.

    I suspect their file might have corrupted, but according to them it was working just fine an hour ago. I've tried copying the file and opening that as a .zip, and I'm able to see everything just fine there, but it still won't open.

    Any ideas?

  • I'm making a fighting game. In the code, I have characters who are hit affecting the global variable "Player1Percentage" or "Player2Percentage" depending on which player value they have for their instance variable.

    Currently, I have 2 separate events for whether a character with "Player = 1" is hit by a hitbox with "Player = 2" and vice versa, then adding the hitbox's damage value to "Player1Percentage" or "Player2Percentage"

    I want to consolidate my code for when I add future characters. My plan right now is to add to a value "Player(character.Player)Percentage" through javascript so I don't need to have multiple events for each character. However, javascript does not seem to like inserting a value into another value.

    How do I affect a variable like this correctly?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am trying this out.

Retrolegend's avatar

Retrolegend

Member since 6 Sep, 2017

Twitter
Retrolegend has 3 followers

Trophy Case

  • 7-Year Club
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies