Aphrodite's Recent Forum Activity

  • If you insist on Illustrator you may try CS2 version. Adobe giveaway them free, don't know why! Only thing i know is they stop supporting that release.

    I strongly recommend CorelDraw for vectoral drawings.

    CS2, as far as I know, is not usable for free by anyone, only those whom actually possesed a license of it before, it just is not clear and poorly executed(as anyone can go ahead and download them from their website with nothing preventing them), but actually it is not legal to do so If I remember correctly.

  • This question seems a bit confusing, if you want no scaling at all, you can set the fullscreen mode to crop, which effectively scales nothing but show more or less, but I doubt it is what you actually want

  • > There is no need for a preload feature. Construct 2 already preloads any objects placed on the layout. If you create an object at runtime which is not in the layout, it has to load it then and there, which can introduce a jank - so just place the object in the layout and destroy it on start of layout. They will still be preloaded. Any objects placed in the layout will not be unloaded until the end of the layout. Objects loaded at runtime may also be unloaded at runtime if the last instance is destroyed.

    >

    Ashley I am a bit confused here. Say that the layout does include one instance for each required object. Naturally the objects will load with the layout. But immidiatly after that you suggest to destroy the objects. Wouldn't these objects be unloaded since the last instance is destroyed???

    The suggested method is not very practical in my case. It is not reasonable to load all presenter animations when the layout will eventually use only one (randomly selected). My solution is to create a random presenter animation and place it offsscreen while the layout is being played, so it is ready for use when needed. This is actually an a bit lame but effective gfx preload procedure.

    As far as I am aware, if the instance is placed on the layout view, it will exist on start of layout, and so will be loaded into memory for the whole duration of the layout, same if you create the object at runtime.

    If you do not need an object to be loaded into memory, just don t create it and by extension do not place it inside the layout view, as for using a unique sprite with a lot of animation, I am pretty sure this is the exact reason why you should not use that unless the number of animation is not high.

  • This also works for any key control that does an action inside the browser (like space scrolling down the page), so if there are other keys that have problems, you can use this method.

    https://www.scirra.com/manual/113/keyboard

  • This may not be related, but last time I checked, the volume of sounds and volule of music on chrome for android wasn't controlled by the same system volume setting (the sounds were controlled by the phone call volume, and the music by the applications sound volume).

  • You would have to compare lowercase(myArray.CurrentValue) is equal to lowercase("a").

    As for the equal to "a"|"A", | is a logic operation, it will do "a" OR "A" which returns 0 or 1, so you were actually comparing the value to 0 or 1 (not sure what it should even try to return int hat case)

  • Basically, everything that is ingame is better on layers, pause menus for exemple are better done that way, however, a menu that is not tied at all with a level would be easier to do inside it's own layout, without every other assets being loaded with it (title screen menu for exemple), however if a menu can be accessed in the level and also the title screen, you can have both (an option screen for exemple can be availiable on both).

  • Ashley, Actually it doesn't make sense... I know nothing about box2d other than alot of assumptions on how it works but decided to add kinematics myself because I need them. I changed the Immovable property to body type in edit time and provided 3 options (static, kinematic, dynamic). Then, in run time, I declared the body definition to be whatever it was declared as in the property and presto: I have kinematic bodies. This took 30 minutes, most of which was finding the things I thought needed to be done and learning a bit about box2d. Obviously I need to create some expressions/modify some older ones for full functionality... but ultimately I don't see the complications everyone was saying would exist? Grant it, I only changed asm and not the other two. Is it really more difficult than simply exposing box2d functionality to construct? It seems really strange to me to have all the code in the behaviour to do these things but not be able to access it in construct.

    The question being: will that also work in the cocoonJS physic engine, since it does not have the same functionnalities as box2D (and you cannot just throw it away, nor do things only for box2D I think, or else people will again be complaining that their precious cocoonJS is once again the victim)

  • The graphics are loaded layout by layout, however, if a sprite with a new graphic is created on the layout, it is effectively loaded, but it will not be unloaded later If my understanding of C2 is correct, unless you change to a layout that don't have them.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The game now works, but the arrow is not following the touch, when the screen is touched, it would be nice to be able to make the ball follow the touch.

    As an advice, I recommand to try regularly on chrome or/and firefox for android as your main test, and the stock browser after that works first on chrome / firefox, since the stock browser is just bad (but people seems to like it).

  • I think the engine won t update the frames faster than it updates the game itself, which is in most cases about 60 times per seconds

  • troublesum ... Sorry to bother you again but you seem knowledgeable on this stuff, so any ideas why this is happening? Pasting this from my other thread...

    I know this should be fairly basic so I must be doing something wrong.

    I'm sending a json_encoded string from my php file to C2. The string shows [4,3,1,3,1,2,1,1,0,3] when C2 receives it (when set in a text object). It's just 10 numbers in PHP.

    I then try to load it into my C2 array with Array -> Load from JSON string (String).

    The array is still empty, so I'm doing something wrong. Any ideas?

    Can you identify which stage this is going wrong at? Does that string [4,3,1,3,1,2,1,1,0,3] look like a json string to you? That's what it's showing when I echo it from php to a browser, then when I show it in a text object in C2, but when I convert it into my C2 array it's just empty.

    This [4,3,1,3,1,2,1,1,0,3] cannot be loaded inside the array via the load from JSON since it is not correctly formatted, I think using a tokenat and removing the [ and ], you could load the values inside an array.

Aphrodite's avatar

Aphrodite

Member since 20 Dec, 2011

Twitter
Aphrodite has 2 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies