arrall's Recent Forum Activity

  • I noticed that issue with the single shape, but not until having moved on to other projects.

    -I've done beyond rainbow cycles in other versions. It does make for some great visuals.

    -More built-in, intricate designs is a great idea. Were you able to use your own images? (usually small ones containing red work best)

    If anyone wants to play around with it the source for this project is at http://sourceforge.net/projects/colormorphing/

    (it may not be the most recent version. It is zipped under Files. 1.6 I believe. Sorry for the disaster that is my coding style.)

    I am never sure which open source license to go with. MIT sure seems to be the most straight forward. I do not even know if sf.net and Construct 2 are compatible licensing wise...

    I'm fairly new at C2, and even more so to this forum. It is GREAT to get feedback. Would it be better to just upload the .capx as an attachment, if anyone is interested?

  • **I'm going to leave this post as is, but make a new post for endrage under works in progress since I keep editing it.

    I used Construct 2 to remake an iOS wallpaper/screensaver app of mine. The Objective-C version was thousands of lines of code. The Construct 2 version is less than 120 events! Colorful shapes swirl around in formations. I have been told it pairs nicely with music. Alternatively, you can save an image to use as a wallpaper (or for whatever purpose.) Construct 2 also enabled me to allow people to use their own small images in the designs.

    http://endrage.com

    http://endrage.com/extreme/

    The app is free:

    On the Chrome Web Store:

    https://chrome.google.com/webstore/detail/colormorphingcom-wallpape/pimcfpgdppdcomdkhondebhlbgclnien?utm_source=chrome-ntp-icon

    Or directly at http://www.colormorphing.com

    *Edit: The "endrage" C2 version is now 209 events, but it does both the whirl and spiral now. There are some bugs...

    ** with clouds

  • (post edited to remove references to the old code)

    Some examples people have made:

  • http://part2art.com

    Part2Art: a Construct 2 web site for piecing together sprites from parts.

    The old site has been taken down, so I am updating this to reflect the changes being made. The new version is still being rewritten from scratch. Expect bugs. Use throw-away username and password.

    -Easily upload parts with drag and drop. (with permissions)

    -Ongoing redesign for desktop

    -Fewer enormous ugly buttons

    -Mouse-over instructions

    -Projects saved as both a sprite and a thumbnail

    -Use any other project's sprite you've created as a part within the current project

  • I wanted to pass a variable into C2 via the URL to load the page (like youtube.com/?v=###.) I used the method explained here to call doIt(); in my loading screen and extended it using a tiny amount of php. Thankfully, C2 did not complain when I changed index.html and game.html into php files.

    This (should be) a working example:

    http://arrall.com/c/?i=13

    In the example, the code checks to see if a variable was passed. If so, it skips the login screen, silently logs in as the guest/guest user, and then loads the correct node.

    I realize this post is old, but if I had found this post while reading the FAQ post it would have saved me some time.

  • It is not a large app. Here is the source. When I push the Distance slider to the max and continually click the camera icon to save a picture, the page crashes close to when the swirl reaches the edges of the screen. It handles PNGs close to 1.5MB. It has no issue with 90% JPGs.

    I assume it is something to do with file size, but it could be anything. I have been testing in Chrome.

  • I am working on a wallpaper making app. It seems to crash when saving a snapshot with the art on the screen being very complex (big PNG.) At first I thought it was an issue with sprites bleeding off the edge of the layout, but it would crash before that occurred at times. For now, I have simply switched to saving the screen as a 90% jpg which always seems to work.

    I just published this temporary fix to the Chrome Web Store and ColorMorphing.com, but I would eventually like to save the image with a user chosen-background, including an option for transparent.

    Can anyone shed some light on how I could get around this issue with large PNGs? Is it a known issue? A limitation of C2? HTML5? Certain browsers?

    Or perhaps it is another issue entirely?

  • It seems to have been that the first time the mainLayout was loaded, the left/rightSprites used 1:1 size. There after, on any mainLayout load, they used the scaled down size I had unknowingly, randomly chosen when I attached them to the layout/layer.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks to the helpful community I can now load my art projects properly, but only the first time the parts are referenced. The second time the same project is loaded, all the parts have been shrunk down. It looks like they load at their appropriate positions, and the per-part scaleX/Y variables are being passed and saved properly, but they do not seem to be applied properly.

    If this helps:

    arrall.com/beta shows the issue. test/test, then go to top projects to find one to look at, twice(?)

    I tried making 10000 sprite frames, and then setting the frame to some random, huge offset thinking it was a sprite frame issue. No change.

    The "left" and "right" sprites that get system->create object-ed are not global. The layout switches to the mainmenu and then back to mainlayout properly. I am assuming all the extra duplicated sprites are destroyed when the layouts change(?)

    I did try making them global. In this case, the big parts stayed on the screen after switching between layouts, but loading the project again created new, tiny versions of the parts on top of the original, large parts.

  • Thank you!

    Looks like the animation frame solution will work for me. It has the 'on image url loaded' event that I seem to need to use to adjust height/width.

    I tried paster, which looks incredibly useful for another aspect of what I want to make, but I could never get the size/height/width to update. Paster does not seem to have an 'on image url loaded,' so setting it's size right after the action to load image from url seems to operate on an empty Paster object. Or I'm just very tired.

    Thanks again!

  • I need to be able to load images from URLs. When a user loads one of their projects, I use AJAX and php to retrieve:

    # of parts|partid1|partURL1|partid2|parturl2| etc...

    Thanks to the chrome debugging tip, I learned how to avoid the cross-domain issue, temporarily.

    I'm not sure how to approach this next step:

    At first I tried attaching a single tempSprite to the layout and using System>Create Object, then calling Load image from URL on (what I think is) a new copy of the sprite? The result was all the sprites ended up changing image, not just the newly created one.

    Next, just to see if it would work, I created two separate tempsprite1 and tempsprite2 sprites and attached them to the layout/layer. This approach works (as far as each sprite loading a different image/url), but so far, all I can see to do is set values (positions, scaling, custom zindex, rotations, etc) through actions attached to each individual sprite. This route means I would have to pre-define a large number of sprites and value setting actions to each sprite. Should I expand on the app (say color offsets etc) I would have to go back and edit every tempspriteX's 'set' actions. I tried functions as well, but to no avail.

    I tried using Families. I tried creating a new Family "parts" where parts contained a tempSprite sprite, but this had the same problem as the first approach, everything was the same image.

    I'm coming/converting from pure actionscript3 where I just create a loop that defined a temporary sprite each iteration, set its image and attributes, then pushed it to an array of sprites and continued until there were no more images from the php/url request. I do not know if anything like this is possible in C2.

    I have searched the forums a few times with no success. C2 is great. I've learned a lot in the few days I have used it. I'm amazed by the # of sprites I can manipulate on a desktop/html5 app compared to Flash. Even if I cannot find a good solution to this particular problem, I'm already happy to have paid for it.

  • Thanks! That console will be very helpful. It is a cross domain policy between and just arrall.com. Not sure how to fix that, so for the time being, I just string replaced with "" when fetching urls from the database.

    Now the issue is all of the copies of the tempSprite seem to share the same image data but allow for different positional data. What should I use if I want to create sprites with their own image data programmatically while the app is running? (short of declaring a ton of tempSprite1, tempSprite2, tempSprite3... etc) Sorry I have not gone through all of the tutorials, I was hoping to just verify that a few techniques are possible in Construct 2 vs Flash, before purchasing it.

arrall's avatar

arrall

Member since 24 May, 2014

None one is following arrall yet!

Connect with arrall

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies