warville's Forum Posts

  • the app made with C2 it defines itself as a game for example when i export an app and export it , and try to play it offline , it prompt me , this game wont work until you upload it.... this is just an example.

  • this is a huge problem, i want to load nimation by number like i do for frames or name the frames using text or give the frames the number i want, like giving the 1st frame a number like 95 , is there any solution for this probleem

    why i need it , i have some sprites each sprite have 3 animations at least each animation have only 1 frame

    each time i pick a sprite i get the animation name from it. i have another button when i click i want all the sprites to change to 2nd animation for each another button to change to animation 3 it's a keybord system the sprites are keys and the buttons are making it toggle to lowercase , uppercase and special character that mans 3 layers for the keyboard. or using frames and give it text name or costum number name?

    is there any solution ?

  • By platforms do you mean android and ios? My guess there is a tag in the manifest that says if it's a game, app or anything else. That said I'm unfamiliar with the export process, and weather or not you can access it or if the process is fully automated.

    it's the same here , still not very familiar with the export process. but thanks anyway

  • let me tell you why i need it you might suggest me easy solution to my problem, i hade problem with Android keyboard when it shows it scales my page down and make it very small , but i some element are important i need them to still looks big , generally i don't want the page to scaldown. i couldn't figure out how to fix that . so i decided to make my own costum keyboard , i wanted to make buttons for the keyboard but you can't text from button unless you use values don't forget each button have many layers ( i mean lower case , uppercase and special character ) so picking up a value and changing the button text each time isn't a good idea , i thought to make the buttons as sprites, and make 3 different animations for it ( lower case , apper case and special character) i used animations not frame because it have text name while frames uses numbers , so each time you touch the sprite gives you the animation name , and i will name the animations like ( char_91 ) a special text followed by the ascii code of the character shown in the animation then i will remove (char_) , why i use ascii ? because you can't name the animaton with special characters unless you name the button's animation like ("doublecotes") then make text replace and replace that part with doublecotes and that would be a pain to make a special action for each button .

  • I guess this link can help...?Or do you mean during runtime in Construct 2...? Is yes, I'd probably have one textfield replace the corresponding sprite at the same coordinate...

    thats not what i'm looking for , but thanks man! yes i need it in runtime ,

  • stackoverflow.com/questions/94037/convert-character-to-ascii-code-in-javascript

    Add the browser object and use these expressions to convert over and back.

    Browser.ExecJS("'"& char & "'.charCodeAt(0)")

    Browser.ExecJS("String.fromCharCode("& ascii &")")

    thank you i will try that now , i know about execute js in the browser object but never thought to you it :3

  • how can i convert a character to Ascii and vice versa ?

    i really need that ,it would save my week because if i don't find a solution i would spend the next week doing it manually.

    any help please ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • what do you need the first text for ?? you areleady have the math task just set it to the second text ? please explain so we can help!

  • the topic question may look weird and silly , but what i want is :

    i want the platforms to detect my app created using C2 as another app category rather than a game.

    please any helpe

  • i'm working on a IM application for multiplatforms . it's called Openair of Oa as abriviation currently i'm not sure if it's the final name. i'm stuck in some problems. like the android keyboard resizing my window and the text and send message buttons becoming soo small it's annoying i'm thinking of creating my own keyboard in the project because i couldn't finde a solution maybe replace the objects and scale them up it doesn't really work i'm still stuck and looking for an easy solution rather than creating a keybaord. i will post my problem on the forum , anyway it's still basic no real network job i'm still working on the client UI precisly the conversation screen.

  • you are welcome

  • i couldn't open your project file the zip file is damaged or somthing.

    first the array index starts from 0 not 1 saw you are loading from 1. you might be loading the wrong position.

    i don't know maybe you stored it in 1st pos . so i don't know what data you stored in the array i couldn't answer you properly.

  • after performing action on that sprite ( on tocuhed object for example) add another second condition ( pick instanc's unique id UID ) and add the actions , it will only affect the picked instance.

  • you can add another condition to the first event like this :

    Bird is overlapping Sprite1 & Bird is NOT overlapping Toppipe >>>>> set collisions Enabled

    if you don't know how to make a NOT condition it's simple just add the second condition ( Bird is overlapping Toppipe) mouse left click on it and from the popup menu select ( invert ) it will become Bird is (NOT overlapping Toppipe).

    here is an explanation why to do this : because you want to make collision enabled only when the bird is overlaping sprite 1 if you add ( not overlapping toppipe ) the event won't work when the bird is overlapping both objects. because the second condition is false, and for second event you don't need to change anything because when the bird overlape toppipe it's already destroyed no need for another collision test.