Moongaze's Forum Posts

  • Thanks for your reply Ashley!

    I was looking at the 'Approx. download:' text in the status bar at the bottom of the window. Assuming this is reliable I noticed that I could reduce that by a lot by replacing the images (ie 000.png) by original ones manually. The image I import is a PNG-32 to begin with , so I fail to see why this happens. It is a different compression when editing and runtime than when exporting?

  • Hi,

    As far as I know it is only possible to create a sprite/object by picking one from a determined list.

    Being able to create/manipulate an object by using a variable (that holds a string that matches a certain object name in the project window) would seriously improve flexibility and reduce code.

    As such one could make a function that creates and manipulates different sprites in the same way in 1 routine instead of having to copy the routine for each object. Using UID's doesn't cut it, because it is not always pre-determined what object needs to be created/manipulated.

    My use case is skinning. I want the user to be able to choose between various skins for a card deck. Each card in my project consists of 4 sprites (to be flexible in animations and overall filesize).

    The sprites are obviously used throughout the game logic.

    So in my case at this time, it would mean that I need to copy +150 events and many more actions for each skin to complete this task.

    I'm at 206 events total, and the game is not nearly finished. If I want 4 skins this would easily become 650 events, instead of the 215 or so when being able to use a variable type: Sprite.

    I hope you will seriously consider looking into this Ashley! I can think of many more cases where one would tremendously benefit from a Sprite variable.

    Thanks!

  • Hi,

    I would really appreciate the option of using the original image when importing files.

    I've noticed that sometimes Construct 2 imported files are between 10% and 500% larger in filesize compared to the original.

    example: I have a background image that is a 145Kb 32b PNG when saved from photoshop. When I import it into construct2 it becomes 745Kb...

    Same happens with small files. 70Kb becomes 99Kb, 15kb becomes 20Kb, 13Kb becomes 15Kb.

    I have to manually replace and rename the images in the project folder one by one to get the smallest filesize possible.

    Sometimes filesize is equal, sometimes construct compresses slightly better, sometimes it blows up the filesize.

    A 'keep original' setting would be beneficial to resolve the latter.

  • There also seems to be built in support of some kind for this:

    scirra.com/tutorials/73/supporting-multiple-screen-sizes/page-2

    I think I would still use the manual sizing and positioning to make everything responsive to many screensizes and retain full control over values.

    Please correct me if I'm mistaking on anything dear forum members.

    I've only been working with C2 for a couple of weeks.

  • You can check for the height and width of the display and layout.

    scirra.com/manual/126/system-expressions (sorry, I'm not aloud to post full URLs)

    These values change when setting your project to fullscreen.

    Set the width, height and position of your objects to relative values instead of fixed values and it should work.

    (I've done this with size only, but it logically should also work with position)

  • It depends what your definition of art is.

    If you read the dictionary's definition, then yes; A lot of games can be described as art.

    Art is as much about creativity as it is about making use of a skill and conveying an emotion or feeling.

    I know many games that are enourmously immersive, made with mastery and creativity on technical as well as visual and auditive levels.

    oxforddictionaries.com/definition/english/art

    To me, skill is a necessary element amongst other to categorise something as being art. I can admire the skill that is needed to make something without having to like the end result.

    Old paintings by the masters might have been propaganda etc, they might be old and dusty, but you can not deny that they are painted with enourmous skill and talent.

    Even WW2 posters can be admired for their typography typical for the era.

    As pointed out in previous posts, beauty is in the eye of the beholder.

  • I agree with Jeansson.

    A variable that can hold an object could come in handy in different situations.

    Creating an object by UID is not possible as far as I know.

    A possible use case is what I'm trying to accomplish in my current project:

    I create 1 or multiple decks of cards, each card consists of a background, value, suit and face sprite.

    This reduces file size considerably and offers much more flexibility in animating etc.

    Now, I want the user to be able to choose different skins for the game. Instead of having to duplicate the function that creates the deck for each different skin, a variable referencing an object in the projectbar passed on to the function would do the trick.

    Being able to create an object dynamically by string/name or UID would make that possible too. But another variable type for e.g. sprite/audio etc would be the best and would open up many more possibilities.

  • Hi there everyone!

    I'm a schooled musician making a living using flash, photoshop and illustrator. Currently employed by an agency as an online producer (mostly advertising)

    I made a game for android with my dad last year.He programmed most of it and I did the graphics/sound/music.

    That adventure seemed to have been a one off for him, but I want to make more entertainment! :)

    This nice piece of software will hopefully enable me to try out some ideas I have for games. Currently learning its capabilities, I hope to have a prototype ready soon!

  • I would be happy to provide any other information needed.

    Getting this plugin working would be a real timesaver for me.

    thanks!

  • Also, when i run container_tag.capx I get the following:

    Javascript error!

    SyntaxError: illegal character

    ...localhost:50001/data.js, line 144 (col undefined)

    ----------

    followed by the same stack trace as my post above.

    When implementing the plug/behaviour in a new project it also crashes.

    Chrome and firefox both crash.

    I have a Win7 machine

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi rexrainbow,

    Thanks for all the effort you are putting in making all these plugins!

    I have an issue which I should report.

    When I try to run container_pickinsts.capx which you provide I get an error:

    Javascript error!

    SyntaxError: illegal character

    ...localhost:50000/data.js, line 61 (col undefined)

    -------

    followed by

    -----------

    Assertion failure: Unable to load project: no JSON model available. Usually this means an error has prevented the browser loading a script. It may be a bug in Construct 2 or a problem in a third party plugin. Check the browser's error console for more information.

    Stack trace:

    assert2@...localhost:50000/preview_prelude.js:12

    Runtime.prototype.load@...localhost:50000/preview.js:707

    Runtime@...localhost:50000/preview.js:218

    cr.createRuntime@...localhost:50000/preview.js:4315

    :50000/:111

    x.Callbacks/l@...localhost:50000/jquery-2.0.0.min.js:4

    x.Callbacks/c.fireWith@...localhost:50000/jquery-2.0.0.min.js:4

    .ready@...localhost:50000/jquery-2.0.0.min.js:4

    S@...localhost:50000/jquery-2.0.0.min.js:4

    Is there something wrong at my end? Other plugins work fine though.

    Thanks for your time!