cow_trix's Forum Posts

  • I too am encountering this error. It does complicate event for UI scaling.

  • Here here Tom. This is a place for discussion on games, not religion. Join a school of philosophy, church, or atheist alliance if you want to do that.

  • Heya Tap. You're causing a check failure because you have duplicate expression IDs. Line 255 of edittime.js - change the ID to 5 rather than 4.

  • I'm getting the same issue - in the console I get the following errors:

    Uncaught directCanvas error: document.addEventListener is not available in directCanvas canvas.html:401

    Uncaught TypeError: Cannot set property 'width' of null :58888/cow_trix_hotmail_com.rooftoprunner/3.4.0/c2runtime.js:1039

    Following these breadcrumbs, I think there are two problems: some plugin is trying to use the 'addEventListener' function, which isn't supported; and (specifically in the Construct2.js file), the following piece of code:

    if (this.isDirectCanvas)

              {

                   this.ctx.width = w;

                   Uncaught TypeError: Cannot set property 'width' of null (repeated 2 times)

                   Uncaught TypeError: Cannot set property 'width' of null

                   this.ctx.height = h;

              }

    gets passed an null variable.

  • <img src="http://www.lrtw.net/games/roofrunner/Poste1r.jpg" border="0">

    UPDATE

    Practically done! There have been some significant advances including better visuals, a high-score system, and a bevy of other little tweaks all over the place.

    Check it out on Kongregate and marketJS! I'd love to hear your feedback!

    Old post:

    ------------------------------------------------

    Hey guys!

    Just hoping to get some feedback on something I've been working on for a week and a bit - Rooftop Runner! Don't have a huge amount of time to make a fancy post with screenshots and stuff, but give it a try and tell me what you think ?:)

    [OLD LINK]

  • Can't you just throw them together in an image editing program?

  • They're already there, in the animations folder of your project. No need to export, just copy and paste.

  • Hi Ash. It worked - however, because I already had multiple instances created from duplicating the layout, deleting the duplicated layouts did not delete the duplicate global objects, so those I had to delete manually. However, from this point on it should all work fine. Thanks!

  • Hey SparkDad. I can't download that file without signing up for Google Drive. I don't suppose you could upload it somewhere else?

  • Awesome! Just a heads up Ashley and AppMobi - requesting project files doesn't seem to work when exported to AppMobi.

  • Hey hey. Not sure if this can really be called a bug, its more of an inconvenient behavior.

    So I've been playing around with a bunch of global arrays to hold information for my game. I've finished the level prototype and I am ready to begin creating new levels. However, when duplicating the prototype level, the global arrays are also duplicated. Unfortunately this is a bit game-breaking for me as I use a lot of 'For Each Element' loops. Their doesn't seem to be a convenient way to delete the arrays from the layout - and I only ever need one for the entire project.

    Here's an example where I:

    1. Created an array
    2. Duplicated the layout

    dl.dropbox.com/u/1378330/ArrayExample.capx

    Is there an easy way to delete global objects from a layout? Or could we possibly get a dialogue that asks us if we want to duplicate global objects when duplicating a layout?

  • Hi guys

    Just wondering if anyone had a way to load an array through a JSON string when using AppMobi? With a desktop, I'm just using the "Request project file" action, but that doesn't seem to work with AppMobi.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks Ash! That was it.

  • Hi Nimtrix. Good idea. I've updated the second example to do just that. The sprite does appear to be saying that it's width is equal to the window width. However, this is evidently not the case for me, as you can see here:

    dl.dropbox.com/u/1378330/WindowWidthscreenshot.jpg

  • Sorry, I should really have been clearer. I believe the actual values displayed are correct. HOWEVER, the sprites do not resize properly - the action should resize their width to the width of the window, but it does not do it properly.

    I believe it probably has something to do with the Fullscreen setting, which is set to Scale.