corlenbelspar's Recent Forum Activity

  • Well the other programmer who quit the project told me I HAD to make sure I got their types right and he used to be a professional programmer. I guess he's living in the past. I just was curious if it'd have an accumulative effect of specifying the wrong type for variables by the end of my game's production or not when I have like 10,000 variables. This is because I noticed he also did stuff like used for each loops wrong everywhere in the code that really impacted performance. So I was kinda doubting him but wanted to be 100% sure.

    For the sake of convenience though I will be sure their types are correctly set.

  • I was wondering if variable types had any impact on performance in games just out of sheer curiosity. Like my friend told me in programming text variables are most intensive and then numeric and then boolean variables. Was just curious if this holds true for C2 and if there's anything else they impact besides that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use the line of sight behavior and set it to have custom collision detection and make the pit in the floor one of the objects it can't "see" through.

  • When I use the variable width spritefont trick where you use an array and JSON data with the character widths stored in the string, and align the text to the right, the last character ends up getting cut off a bit on the right side. I've tried to fix this by putting a space at the end of every string that is right aligned but in runtime the space is removed and the character is still cut off on the right side. Is there any way to fix this?

  • If you want a more automated way than Takniko wrote, in the moving event just put something like set move speed to 1 + globalscore * 0.5 or whatever you want it to iterate by. You can even put ^ to make it curve in a parabola fashion depending on what you put after the ^

  • Puchisoft Dispatcher is a pretty good updater maker which I use currently but it doesn't work with Linux or iOS. I guess until I find an alternate solution I'll make it run if the person is using Windows or send them to a download page if they're using Linux or iOS.

    Which begs the question, how do I check which OS the person is running?

  • +5,000

    I'm glad to see this isn't just happening to me! I had to do away with pin and do it manually due to the delay it has.

  • From what I understand you just put com.insertcompanynamehere.insertgamenamehere without spaces.

  • You should do what I do now. Make a global variable for each key your game uses and when the appropriate key is down for each variable constantly add 1 to it until the button is released then put the variable back to 0. Then all you do is if you want to test if a key was only pressed and not held down, you check if the variable = 1. Anything greater than 0 and 1 is holding down the button.

  • I guess you could make advanced use of the left() and right() expressions calculated depending on the mouse position in your editor and then load it accordingly. But I'd say the best approach would be to use tilemaps and tiled.

  • Also one tip you'll want to know is to make a new layout with a global layer containing your HUD so that way you won't forget where it is located to edit it and you have it globally made.

  • I just want to make an auto updater for my game in C2 if it can be done.

    Edit: It needs to be a system that works in Node-Webkit because that's primarily what we're going to release our game on.

corlenbelspar's avatar

corlenbelspar

Member since 14 Aug, 2013

Twitter
corlenbelspar has 1 followers

Connect with corlenbelspar

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies