Gravi's Forum Posts

  • i have ipad M1

    im trying to open construct editor on ipad (tested in chrome, firefox, opera).

    but is not same as desktop version.

    anyone can guide me to how can i do desktop version on ipad.

    (using ipad keyboard and mouse)

    i tested on various browsers but result still same.

    hard to work on it on Non desktop version.

    help me if possible to open desktop version in ipad.

  • if i have 1000+ words as in spanish

    in the global variable

    SpanishWord = tres niños

    so i want to replace special letters and set as "tres ninos"

    i try script

    // Retrieve the value from the global variable 'SpanishWord'

    var text = runtime.getGlobalVariable("SpanishWord").getValue();

    // Define character mappings for conversion

    var charMap = {

    'í': 'i',

    'á': 'a',

    'é': 'e',

    'ó': 'o',

    'ú': 'u',

    'ñ': 'n',

    // Add other mappings as needed

    };

    // Function to replace characters based on the map

    function convertText(text) {

    return text.replace(/[íáéóúñ]/g, function(match) {

    return charMap[match] || match;

    });

    }

    // Convert the text

    var convertedText = convertText(text);

    // Set the converted text into the global variable 'spash'

    runtime.getGlobalVariable("spash").setValue(convertedText);

    but getting error

    please guide me right ans..

  • thanx bro

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • SpanishTextDisplayed without capitalization, punctuation, or special

    letter (á == a, é == e, í == i, ó == o, ú == u, ü == u, ñ ==n):

  • You do not have permission to view this post

  • Build failed

  • im trying to set values once time only

    but when i switch layout to another , trigger once start again

    how can i stop

    i want to set only once time when open game

    suggest me correct events

  • If i have panel added image points 2

    image point 1 and 2

    so i need to compare

    if panel image point 2

    is overlapping window > panel image point 2 set to position window

  • You do not have permission to view this post

  • thanks for suggesting

    hey Bro,

    i set image in loading logo

    But its looking circle

    but my image is in square

    Also i check other options like

    Splash Screen and foreground background

    but comes in a circle

  • i make a layout as name Loader layout

    and added image to show as loading screen

    and set properties as shown in image

    But When project launch , app shown 1st loading icon after that app gone to loader layout

    so i want to make

    when app launch show loader layout not icon

    how to make it guide me....

    Tagged:

  • Using browser addon you can check internet connectivity

  • Is this correct

    i tried but

    return value 0

    Tagged:

  • do you have c3p file ?

  • you won bro

    and i got it...