haruhi4's Recent Forum Activity

  • I am using a "On start of layout" condition to change the font of my texts(they are webfonts), load key values on WebStorage and other things. The problem is: Sometimes, the function isn't called. My fonts are not loaded, my data from storage is not obtained... I think there are some times that "On start of layout" isn't called.

    Is there any other condition i can use to make something happen every time a layout is loaded? A condition that i am sure it will happen?

  • Problem Description

    I am using a "On start of layout" condition to change the font of my texts, load key values on WebStorage and other things. The problem is: Sometimes, the function isn't called. My fonts are not loaded, my data from storage is not obtained... I think there are some times that "On start of layout" isn't called. Is there any other condition i can use to make something happen every time a layout is loaded? A condition that i am sure it will happen?

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES/NO)
    • Internet Explorer: (YES/NO)

    Operating System and Service Pack

    Windows 8

    Construct 2 Version ID

    r204.2

  • wow! It really worked! Thank you very much, RamPackWobble! I just changed the 8 to 9 because it was better for me, but it worked ^^

  • I have a text object. I have a "coin" sprite that should appear right next to it. Problem is: The text is dynamic, which means the object will change size depending on the number of characters the current text have. I want my "coin" sprite to appear on the right side of the text objetc, right next to it. How do i do it?

    My best guess was to set the position of the sprite to textObject.X + len(textObject.Text), but it is appearing over the textObject(i guess it´s because the length of the text object isn't so long enough)

  • i have solved it using tutorials for web fonts, but they only work if the user changes to landscape view

  • I want to use custom fonts on my IOS game. I have followed 4 tutorials i found on construct 2 tutorials page(i can´t post urls. Ugh >.<) All of them worked on web preview, but when i try the game on my IOS device, my custom font is still replaced with default fonts(not my custom ones). What do i have to do to make custom fonts work on IOS devices? Is it because i am only previewing and not exporting?

  • using web fonts. still didn´t work. On the web, it´s fine. But on IOS device preview, it´s not working

  • is there a way to test it on run layout(not the export)? Because with my font, the procedure didn´t work. Also, my font is called AR DELANEY

  • the tests could be like selenium too: I am testing my software and recording the button clicks and movements i make... Then, i stop recording and my test is built. I can re-run this test by executing it again and i don´t need to click on the buttons or move the character again, my test file wiil automatically move and click wherever i have clicked when i recorded me playing the game.

  • yeah, and using the game logic. For example: Test when character do gameover. Test if character completes phrase... But automatic, as in: I can test it without the user having to move the character using his keyboard. Just like in junit for eclipse in a java project

  • is there a plugin or any way to create automatic tests for my construct2 project? Or maybe a kind of test that´s not just executing the game and doing it manually

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thank you all. My team is developing using svn and beeing careful when merging the caproj file

haruhi4's avatar

haruhi4

Member since 24 Apr, 2014

None one is following haruhi4 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies