R0J0hound's Recent Forum Activity

  • Couldn't you just use touch.X instead of converting touch.absoluteX?

    Touch.x gives you the x on the layout.

    You can also use Touch.X("layer") to get an x relative to a layer. If you want a position on a hud layer that doesn't scroll, this would do it.

    If you're intent on finding why

    Touch.AbsoluteX/(WindowWidth/1280) is equal to 640 instead of 1280, take a look at the values of Touch.AbsoluteX and WindowWidth. It could be a high dpi feature of your mobile or something of that effect. There's a project setting for that that you could probably fiddle with.

  • Another way would be to use a Boolean variable "moving" and set it to true every time you change the object's position.

  • Those are effects for Construct Classic.

    Here is a list of effects for C2:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's one of the plugins where the source wasn't provided. There likely are some functions in the runtime that enable that plugin to work though.

  • When compiling the runtime you can change the preview exe as well. It's just another configuration. You can choose from "Release" and "Debug" from these configurations:

    APP

    APP_p

    APP_pd

    DX9

    DX9_p

    DX9_pd

    "APP" and "DX9" are the two runtimes. "p" means preview, and "pd" means debug preview. These match the exes in the "Construct Classic\data" folder. Also you may notice exes with a "s" as well. That means with python scripting, which is done by building with "#define python" uncommented and renaming the built exe to have an "s" in it.

    So in the simple case an exported project will use DX9.exe and when previewing DX9_p.exe is used.

  • An event like this should do it:

    start of layout

    red overlaps circle

    for each circle ordered by circle.y ascending

    --- wait loopindex+1

    --- destroy circle

  • You'll have to be more specific with what you mean by momentum. If you use the bullet behavior on the cannonball it will move on it's own. You could use the physics behavior instead to make it be able to interact with other physics objects.

  • It would be nice if images could be managed independent to objects. All objects would then just indicate which image to use at any time. Right now each object type manages it's own images, so each object needs to do it's own frame loading and whatnot.

  • Could be. The layout object is a little dodgy.

  • ghost

    Savvy001

    My graphics card is now blacklisted by all browsers currently. On firefox I can force enable webgl but it causes an immediate error when trying to run a C2 game. Chrome and NW.js no longer let me force enable webgl.

    In short unless I get a new computer I'm unable to do anything with webgl right now.

  • If it fails on that lib then you're trying to build the editor. The runtime is a seperate sln file in the runtime folder of the source as I recall.

  • Mipmaps probably can be safely disabled, it's just to improve image quality when an image is small.

    That profuis lib is only needed for compiling the editor. I don't think Ashley has been ever able to share that file.

    That said you can compile the runtime since it doesn't use profuis. It was built with vs2008, but I've been able to build it with the vs2008 express edition.