ErekT's Recent Forum Activity

  • Hello.

    Is there any (built-in) way to get the x, y position of where two objects intersect?

  • Node-Webkit = Windows/Mac/Linux export solution for Construct 2. When Construct 2 exports your game to desktop, it uses Node-Webkit to create the executables. To a regular user your game will appear as just another exe file but under the hood it's using the Chrome browser engine to run things. Hope that clarifies a bit

  • 1) You can think of Node-webkit as the Chrome browser minus the address bar because in reality, that's what it is. But since it isn't busy doing anything other than running your game it should be faster. In my experience there's quite a bit of performance difference but I have like 20 tabs open in my browser at any time so that doesn't necessarily count for much

    2) What kind of laptop? Are the drivers up to date? WebGL seems much more likely than OpenGL to take a performance dive if the drivers aren't fresh.

  • So do I But do you really need that gradient to stay smooth though? Sounds like mixing linear and point sampling might produce a bit of a style crash.

  • [quote:2z4i4t6s]can i do that?

    No. Sorry. You *might* be able to do it with a plugin where you create separate textures with point sampling and render to those instead of the regular ones, then get them into the rendering pipeline along with the rest somehow. Needs some pretty hardcore programming skill probably

  • It's because of the way C2 scales graphics to fit with your screen resolution. If the screen resolution isn't divisible with your game resolution then you get slightly misaligned pixels. This here should work: Project Settings -> Fullscreen Scaling : Low Quality. (Don't worry, "low quality" is a misnomer)

  • It works great! Nice job and thanks so much for sharing =D You the man!

  • Magistross

    I tried and failed to adapt your functions to work with SpriteFont Like the image below shows, I decided to try and bypass the textWidth function since it returns width based on the Arial font (right?). I made a local variable instead to hold the pixel width of the font minus character spacing and multiplied by the loopindex. But I'm missing something obviously because text doesn't display at all right now.

  • Thanks a lot fellas! Haha I was just wondering how to handle the wrapping thing. Good stuff

  • Thanks, will do

  • Hello.

    I'm creating a dialogue system rpg-style, and I would like to display the words letter-by-letter until the end of the text is reached rather than just show all the text at once. But I have no idea how to set this kind of thing up. Has anyone here done this before? Are there any examples around that I can look at? I'm using C2's Sprite Font for text btw.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeh I know, I normally use an instance variable to identify separate instances. I just used the "pick instance" condition in this example for clarity

ErekT's avatar

ErekT

Member since 17 Dec, 2012

Twitter
ErekT has 1 followers

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies