0plus1's Forum Posts

  • I can't make this work on iPhone, it looks like it doesn't register touch. "Normal" touch events works perfectly..

  • I had a an idea which I'm using for my project.

    It's not easy maybe, but I'm accustomed to working with arrays so for my mindset it's pretty easy.

    You do something like this:

    You write in a file

    Dog,Cat,Flower

    Cane,Gatto,Fiore

    Perro,Gato,Flor

    ..

    Then lerp to select language, if you name buttons and labels as numbers it's easier to then assign them using a for cycle.

  • Outsourced language files are not viable as they require constant internet access and possibily a json parser to actually divide the language file that comes from php.

    The array is a good idea but it's still in the same ballpark as making several if (ie not very "comfortable" to manage)

  • I know it's a bit of a stretch, but I'm trying several method for localization and one is to put labels on top of buttons, the problem is that I need to touch the button, not the text. Is there any way to make c2 ignore the existance of an object touch wise? Visible and only, only "untouchable".

    Thanks

  • I agree with stevenworks about the translation of c2. I'm also Italian and I don't want software in my language for the simple reason that when I need help I need also to translate from italian to english and hope it's the correct translation.

    That being said a translation OF c2 is useless, all the forums are in english and support also, unless you plan on offering multilanguage support in the forums I don't think it will really make a difference sales wise because it opens other issues.

    I too vote for a way to get application translations, that would be useful.

    About bugs I don't agree, Ashley is very quick at fixing things and there are ALWAYS solutions to the bugs on the forum, I really can't complain about that.

  • I searched the forum but couldn't find anything about this..

    Is there any way to offer multi-language (localization) support in c2? It looks like I'm doomed to put several if conditions at the current state? Is there any other solution?

    Thanks

  • Maybe there is a way already to do this and I'm just ignorant, but..

    Object1 set X = 100 [Copy-Paste][To change to object2 I need to delete and create a completely new event]

    I would be nice to have a way to simply swap an object for another without actually changing the event.

    Thanks for consideration

  • Congrats!

  • I'm making an educational application for mobile (phoneGap) there is a huge database of images that adds up to around 60mb exported (reduced by the wonderful png exporter of c2).

    In local preview it takes ages to load, then is really really smooth. But on iPhone that can keep everything into ram. What about other devices? Is there any way to stream sprites on demand?

    Thank you

  • ASHLEY.

    Thanks, after exporting the size decreases a lot I'm cool with that.

  • Is there anyway to avoid the resizing? And directly use my compressed images?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm making an application with around 10mb of images (originally 30mb) that I painstakingly compressed in photoshop to around 30kb of size each.

    Now I noticed that when I import them in c2 they go back to being around 100kb each. Why?

  • I have a big list of word, that I'm choosing with tokenat.

    At the end I need 4 DIFFERENT words taken at random from that list.

    The way I'm doing it:

    global list = "bread,table,spoon,cat,dog,house";

    local tmp_current = "";

    Set tmp_current to tokenat( list , floor( random( tokenCount(list ,",") ) ), "," );

    Set list to replace( Emotions_unset, tmp_current &",", "" );

    Set list to replace( Emotions_unset, tmp_current, "" );

    Set text1 to tmp_current;

    ---

    Set tmp_current to tokenat( list , floor( random( tokenCount(list ,",") ) ), "," );

    Set list to replace( Emotions_unset, tmp_current &",", "" );

    Set list to replace( Emotions_unset, tmp_current, "" );

    Set text2 to tmp_current;

    --- repeat for all text

    I don't think is an elegant solution and it give errors sometimes (like double commas) is there an easier (and safer) way to do something like this?

  • Ashley GameSalad is not an example of a good game maker.. Corona is using lua and is powering some of the most successful apps, Lua is a wonderful language supported by tons of people and project just looks at the stats on Stack Overflow to see how much is used.

    Javascript is not the solution, javascript is tied to browsers and that's the end of it. I like it and jquery has made life easier for programmers but this fact doesn't make it better than what it really is. And preferences aside my point remains: you are not using it a scripting language (like Unity does) but merely for what it is relying on browser engines to interpet it.

    I don't care if it's lua or javascript or haskell or whatever, you should be using it as a scripting language to be exported into native solutions, I suggested lua because it has already implementations in both openGL and webGL. But to be honest I'm the last person that could give you advice, I don't even know how to start in writing something as complex and wonderful as construct, I'm merely suggesting ideas for products that I would buy in a hearthbit.

  • Ashley

    That's the reason why you should move to an agnostic solution, like lua.

    Lua has proved to be the perfect language for scripting, it's easy to use but powerful and it has been used for everything gamewise: Corona, Love, ps3 and tons of other modding tools.

    I'm sorry but another dx exporter won't do any real good, as even in desktop field cross compatibility has become a must, indie games sales increase tenfold if they offer cross platform compatibility.

    Just look at this list: en.wikipedia.org/wiki/Category:Lua-scripted_video_games

    If you can convert construct to lua the exporting part is way easier as there are already solutions. Just my 2cents.