supergodjesus's Forum Posts

  • Out of curiosity, since I too have been having issues with dropbox and even google drive, are there any suggestions for better hosts?

  • I will re-upload a Capx in the near future when I am home from work.

    However, to answer the question, I also tried this with Google Drive and had issues as well. I can set up new demos as well for further testing in both Dropbox and Google Drive. Are there any other cloud areas that work better for hosting?

    On a semi-related note: all of this got me thinking about how to reduce the size of my project overall. The largest images in my project are the background images (the grass, roads, floors, etc). Each image is between 600kb and 1.2MB, and there are 12 of them. The total number of MBs the game projects is around 33MB after compression.

    So I opened up the 12 images in GIMP and I saved them as relatively low-quality JPEGs. This dropped the size of each image from 600kb-1.2MB down to about 100-200ish kb each with relatively little to no visual change. Great, I thought!

    However, I then replace the first image with the new JPEG, and the projected file size went from 33.something to 34.something. Odd, I thought. So I replaced the second image with the new JPEG, and sure enough, it went up to 35MB. And so on and so forth as I added the others.

    So I am curious, how accurate is the projection? I was under the impression that JPEG would probably be the smallest file size image useable.

    At any rate, I will get a new Capx and demo up hopefully later this evening. Thanks!

  • Hmm. It doesn't seem to be working. The condition I have is "when loading is complete" and when that condition is met, the action is 'Go to main menu". However, it just goes to the main menu regardless whether everything is loaded or not.

  • How do you make it so that the loading screen only disappears once everything is loaded, though?

  • On a related note:

    Playing with the Chrome dev tools, it appears that all of the game resources are not loading appropriately during the game's 'loading' time, and instead is loading everything while in the main menu. Anyone who tries to press Play before these resources are loaded, then the game hangs and nothing happens (or shoots an error). If you wait until the resources are loaded, then it works fine. So it appears anyway.

  • Link to .capx file (required!):

    dl.dropbox.com/u/13425402/Tough%20to%20Kill.capx

    Steps to reproduce:

    1. Fire up the game (can do so here: dl.dropbox.com/u/13425402/Tough%20to%20Kill%20v1/index.html)

    2. Click 'Play'

    Observed result:

    For most people, the game just 'hangs' and does nothing. In Firefox, a friend of mine reported that a script error popped up for him when he pressed 'Play': "c2runtime.js:51" "a script on this page may be busy or it may have stopped responding" - further, he managed to actually get the game to work in Firefox after refreshing the browser about 4 or 5 times randomly (though it still through the script error at him).

    All other people who have tried have reported that the game just hangs.

    I personally have not been able to reproduce any of these issues and the game works fine for me, making it difficult for me to figure anything out for this.

    Expected result:

    When pressing the Play button, it is expected that you transition from the Intro page to the game layout itself.

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Opera: no (one user, said it worked fine)

    Safari: unkown

    Internet Explorer: unknown

    Operating system & service pack:

    Varies; many users

    Construct 2 version:

    Latest version, 123.2

    Further Note: I never had this issue before when exporting with previous versions of C2. This only happened after the latest updates, though I did skip a few in the middle (I can't recall exactly, but I want to say 116 or 119 was the last version I successfully exported with).

  • A friend of mine attempted to test this out on Firefox and when he clicks the Play button, he gets a script error: " c2runtime.js:51" and "a script on this page may be busy or it may have stopped responding"

    I never get these troubles, personally, but maybe that means something to someone.

  • I just tried exporting it via Node-webkit. The game "works" in so far as I can get into the game itself from the main menu (but then again, I can do that anyway...) but now I can't do anything but move around (can't shoot or anything), and nothing spawns. So that doesn't seem to be working properly either.

  • Alright, I am out of ideas on how to fix this problem. Perhaps someone might be so kind as to take a look at the Capx and see if there is something obvious that I missed?

    You can find it here: Tough to Kill Capx

    The Intro Event sheet is labled as such, and that is where the handling for the Intro screen is. For the Play button, I just have it so when the mouse is over the Play button and left-mouse button is clicked, it will play a sound effect and go to the 'Play Game' layout. Pretty simple and should work. It works for me, but not for many other people.

    So any help would be greatly appreciated. Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok, I figured out what the problem was. I had a conditional branch for the sounds to be pre-loaded. An artifact from an older version. It has been cleaned up and now should work:

    Tough to Kill

    Sorry for the inconvenience!

  • Hmm, that's odd. I tried it out on both of my computers with both Chrome and Firefox and I am able to play them without any troubles. My desktop is newer and very powerful, while my laptop is rather middle of the road and a bit older, but both work just fine.

    Does anyone knowledgeable have any idea as to what might the issue be? A friend of mine had trouble when he tried Firefox, but was able to play using Opera.

  • What browser are you guys using?

  • Hmm, which browser are you using? I generally use Chrome and it works great. IE doesn't work well at all. I am not sure about Safari, I don't have any machines that have that.

  • Hello all,

    I completed my first HTML5 game, Tough to Kill.

    If you'd like to give it a shot (lol pun) you can do so here:

    Tough to Kill

    Thank you kindly and I hope you enjoy! <img src="smileys/smiley1.gif" border="0" align="middle">

  • Hello all,

    I was curious about something: would I be able to use Construct 2 to create a sprite generator?

    Basically what I would want is this:

    When you open the program, you are given the choice between male or female templates. Upon selecting whichever, it shows the template. Then you can select from a range of clothing, hair, accessory items and so forth to essentially 'dress' the template (these would just be 2D pieces of art layered over the template) I am pretty sure all of this stuff is relatively easy thus far. Now, what I am NOT sure would be possible, is being able to then output the template into a usable .png file, so you could then take the created sprite and use it.

    Further, say that after all of this is finished and works and then I later wanted to add additional templates, clothing, hair, etc, would it be possible to expand this with sort of 'add-ons' at a later date?

    Any thoughts/suggestions/comments are welcome!

    Thanks!