zenox98's Forum Posts

  • What do you mean by 'more resistant'?

    If you mean more resistant to damage then:

    Can you follow and understand the code?

    Have you looked at the 'Damage' group.

    As an example, disabling Events 33 and 34 will allow more leeway in damage.

  • Nandynho

    Download - waiting . . . -

    I can not post links here

    If your link to the .capx is blocked, either remove the http and www parts, or insert a <SPACE> or * characters through them, e.g.

    example.com/myproject.capx
    or
    h*t*t*p://w*w*w.example.com/myproject.capx[/code:bi0kjwbq]
  • BUMP*

    Why the bump?

  • Sorry, but where I can find download link to this plugins?

    On website only capx, which requests plugins

    All the links on the OP are valid.

    At the top of the linked page is a link to the 'plugin' (one of the headings at the top of the linked page) - a 7zip file.

  • I have a sprite with bullet behaviour and 2 animations , both at the same speed 10fps , 5 frames each .

    This sprite spawns randomly and every time it does , randomly chooses one of the 2 animations to play ( to give the impression of different sprites) .

    In both animations loop is set to yes , repeat to 0 , repeat count 0 and ping pong to yes .

    When i set an event that changes bullet speed and animation speed to match the new bullet speed ( bullet speed by 10% and animation speed 11fps ) ,

    both animations seem to play only few frames (3rd and 4rth ) to be more precise .

    Any idea if it is a bug of the new update or i made something wrong .

    The case is easy to replicate .

    I hope there is something i could do ... would really appreciate some help .

    Thanks for reading !!

    Please follow the bug reporting requirements, or Ashley will likely close this automatically.

  • Hello,

    I've read this manual https://www.scirra.com/manual/126/system-expressions

    and search the meaning of len, but i still didnt get the meaning of.

    it says like this,

    [quote:3k045uym]len(text)

    Return the number of characters in text.

    Could anyone describe it to me, please?

    Thanks very much <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    Hard to explain further. It counts the number of individual characters, e.g.

    Different example using a variable to RamPackWobble.

    If you had a variable called 'howmany' that had a text string of "countme", then

    len(howmany) would return 7
    [/code:3k045uym]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I just need examples, I am having trouble finding any. The save and load function is useful, but I need to save specific data tied to tables for Objects and pull data out of this and even write BACK TO IT. I can do this in other languages, maybe not the easiest, but is totally possible using logic like

    write [object.VarStat##] path: $APPDIR$ + "/data/" line: ##

    same thing with loading. And line: ## can be arrayXYZ: #, #, #, #### (X, Y, Z, length/position to start reading/token/etc}

    Now regardless of the real syntax or fake syntax here I just want to know if anyone can point me out examples since I'm having a very hard time and this is pretty important, being able to manage local data to object tables that is.

    There are numerous examples of using everything from arrays, ajax, json, dictionaries and local storage both in the Tutorial section and throughout the forum.

    For example, the excellent tutorial from Kyatric: Asteroid clone in less than 100 events includes (on page 6) a thorough example of using 'Local Storage' to store information.

    Maybe this will help?

  • This doesn't really seem to me to be a C2 related question.

    As you say, it seems a little 'niche' to me also, although there may be one or two interested in any response, if there is anyone who even can :/

    In the meantime, maybe a more appropriate place to ask such a question would be a proper Android dev forum?

  • imothep85

    Rather than multi-post, why not use the 'pencil' icon and just edit your post. It causes much less forum 'static'.

    Also, Gigatron has kindly created a raft of very useful plugins. For you to then post:

    [quote:2bg0dhxm]

    i have JUST a HUGE problem your plugin is making me mad, each time i try to enter a value in my events with the number 2, 22, 20 etc, IT select the NAME of your plugin as a value, and thats is really really boring to change everytime.

    please CORRECT correct that problem.

    ... is a bit impolite. No-one else seems to take issue with it.

    If you have an issue with it, then politely state it. Don't use capitals to insist on action.

  • I've always used the exception list - I like to be the one in control.

    It just seems that firefox now no longer takes note of the exception list for this case but just checks for the tick in 'Allow cookies'.

    This wasn't the case prior to release 42.0 and onwards.

  • I've seen this error before in Firefox mobile:

    Ashley asked me to post this here to remind him.

    He is going to try and make this

    [quote:1drxlx2x]...storage exception-proof.

  • Hello there, I'm completely new to Construct2, but experienced in javascript and html5 development and game development in general - just in Unity as of late. Anyways, a client approached me with a "halfdone" project in order for me to finish it, but he only seems to have the "build output", meaning the game itself is operational and the source code is there, but I do not and seemingly cannot get my hands on the construct2 project that created this game. Is there any way to "reconstruct" the project with this output? I of course do not expect to magically get my hands on PSD files that created the graphics, but it would be very nice not to have to work on a 768 kb single source file named "c2runtime.js" where I have to sort through the parts that belong to the engine and those that belong to the actual game by hand.

    I am well aware that the most probable response is "you can't", but I thought that it can't hurt to ask. Thank you for your help!

    I would be suspicious of anyone that only had access to the "c2runtime.js" and not the pre-exported project, as that file can easily be ripped from the webpage.

    This would generally be the case if you haven't also received the accompanying exported files.

    Did you receive all of the exported files? If so, then at least you will have access to all the graphics, audio etc.

  • Problem Description

    If cookies are disabled in Firefox 42.0 and onwards - even the latest nightly builds - then C2 will throw a javascript error on preview. The error can be acknowledged and the preview will then work.

    Attach a Capx

    https://dl.dropboxusercontent.com/u/343 ... tform.capx

    Description of Capx

    This is just a .capx - not relevant, as any .capx would throw an error.

    Steps to Reproduce Bug

    • Load .capx in FF 42.0 or newer
    • Go to Privacy settings in Options and remove tick from 'Accept cookies from sites'
    • run preview - javascript error
    • Put tick back in the 'Accept cookies from sites' Privacy option
    • run preview - no javascript error

    Observed Result

    You receive the following error:

    This refers to the following in 'preview_prelude.js':

    watch = JSON.parse(localStorage.getItem("__c2_watch") || "{}");[/code:2fjdboea]
    
    REMming the line allows FF to preview without the security error.
    
    [b]Expected Result[/b]
    No error.
        
    [b]Affected Browsers[/b]
    [ul]
        [li] Chrome: (NO)
        [/li][li] FireFox: (YES - 42.0 and newer)
        [/li][li] Internet Explorer: (NO)[/li][/ul]
        
    [b]Operating System and Service Pack[/b]
    Windows 7 Pro SP1
        
    [b]Construct 2 Version ID[/b]
    r217. Version has no relevance as 'preview_prelude.js' hasn't changed since Feb 2015.
  • I did that before asking this question, and i did not find the way that i need

    It's doubtful you will find exactly what you need, but you should develop enough understanding to be able to adapt one/some of the many inventory systems in the forum and tutorial sections to what you need.

    If not, post a link to your .capx with what you currently have and what needs amending.