SebastianOs's Forum Posts

  • A .capx shouldn't be necessary. I've programed it literally as simple and easy as it should be. Only like 2 lines of code. I'm not sure how to post an image.

    But my code is:

    On left button clicked on (the object) --- > Browser | Go to (the url on YouTube)

    ----> Browser | Request full screen | Centered

    It's that simple. Can I not play YouTube videos in the window it creates? Keep in mind that this window is not a normal browser like Firefox or Chrome. It's a window made from the export (the application) itself. This might be why it doesn't work. But there seems to be no option for changing it to Firefox or Chrome.

    The whole point in linking to a video (as opposed to the video being in the file itself) is to help prevent the exported file (the application) from getting too large.

    I'm not sure what you mean by "browser error console".

  • I created an object that when pressed, opens a browser window and brings the user to YouTube. The problem is, the video does not play. The video is just a black screen. Does anyone know how to fix this?

  • My program keeps track of my time. It runs in the background while I do stuff. For some reason, sometimes the program randomly closes. Not very helpful when I'm trying to time myself and see now long I've been doing something. It kind of defeats the purpose of the program itself. It might be crashing, but why? Here is a link to my program: https://www.dropbox.com/sh/lveun7fyiykr ... saJta?dl=0

    Included are the capx single file of my project, and the executable application itself.

    Please, if someone could check for errors, please let me know!

  • My program keeps track of my time. It runs in the background while I do stuff. For some reason, sometimes the program randomly closes. Not very helpful when I'm trying to time myself and see now long I've been doing something. It kind of defeats the purpose of the program itself. It might be crashing, but why? Here is a link to my program: https://www.dropbox.com/sh/lveun7fyiykr ... saJta?dl=0

    Included are the capx single file of my project, and the executable application itself.

    Please, if someone could check for errors, please let me know!

  • Do games created from Construct 2 normally close if they have been open and idle for too long? This seems to be the case for me. Is it a built in script? Is there a way to tell the program to keep it running when idle? Either that or it is crashing. Please help!

  • I created a time management program and it records my time. It is absolutely vital that the program stays running all day, so it can record my time accurately. But for some reason, the program sometimes randomly closes. Does anyone know why? Is there a way to keep it from doing this? A script? I would love to know why and how to fix it if possible. Any and all help is greatly appreciated!!!

  • Thank you so much! It worked!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It says the file has either been removed or is private. I can't access it. Is there no way to do this in Construct 2 by itself?

  • I am creating a timer program and I want it to run in the background while the user is doing other things. The the problem is, the program pauses when it is minimized. It does, however, run even when another window is in front of it. But when it is minimized, it pauses. How do I keep the timer program running while being minimized? I would so greatly appreciate the help!

  • It worked! Thank you so much!!!

  • I already know you have to turn off Auto Font Size. And I know you have to use the "Set CSS Style" action. But when I add the action "Set CSS Style", what do I type into the top field and the bottom field to change the size of the text font? What are some other commands I could use as well? Any help would be greatly appreciated!

  • I don't really understand arrays that much. All I know is, they allow information to be transfered between different layouts and event sheets, unlike global variables, which are limited to just the event sheet they are on. I am trying to keep the score going for the game as the player progresses through each layout/level. I use a text to display the score. When he gets to level 2, how do I tell it to use level 1's "Score" global variable's information and transfer it to level 2? And same for other levels, I would like to make level 3 use either level 1 or 2's "Score" global variable. I don't know how I would do that. I made separate score variables for each level. i.e. "Score" for layout 1/level 1, "Score 2" for layout 2/level 2, and so on. I tried setting "Score 2"s information to "Score" so it can keep the same score using an array. I don't know. This is how I tried doing it and it didnt work, but then again I don't really understand arrays. Does anyone know how to do this? I would greatly appreciate the help!

  • Thank you so much! It worked! It's awesome that there is so much support on this website!

  • I am a little frustrated with Construct 2 at the moment, and I don't know what happened. It says:

    Failed to open project

    Cannot find object texture file 'TiledBackground.png' in the project texture folder. Check the file has not been renamed or removed. Under element: c2project \ object-folder \ object-type Line 62, column 9.

    The file may be invalid. Try checking the file in a text editor (projects are saved in XML format).

    I checked the folder and the TiledBackground.png file IS in the texture folder. I did not rename it or remove it. This is so completely random, I don't even use this image anymore, I haven't tampered with it so this can't be directly a result of what I've done... perhaps indirectly. I don't know what this "Under element: c2project \ object-folder........." thing is all about. The problem must be that the file is invalid (the project file, based on what it is saying). But it does not appear that projects are saved in XML format, they are saved in "Construct 2 project (.capx)" format/file type. And if I try opening it in notepad, it looks like a foreign language! I don't understand "¥YñÅýÿýŸÿûÕ¿þ~3ì½Ï&ÓÁxôõ<5½lt5¾ŒÞ~}q7{s.zÿúì?ÿ§" symbols. I don't know what to do, and I don't want to lose this project. I have not made any other saves either. Is there a way to fix this? Is there a way to use the backup file Construct 2 makes for every project? Please, any help is much appreciated.

  • Yes, thank you Vega. You have some good suggestions. I came up with a solution for now, and it seems to be working. The reason I was asking this is because I followed a tutorial a while ago to begin the project I am currently adding on to. The tutorial showed me how to make a basic platformer came. One thing they showed me is how to keep the enemy on the platform by using 2 blue squares on each end of the platform to basically change its direction when collided with it. But for some reason, when I added a new animation, it created a bug in the game and this "blue-square-on-each-end-of-platform-to-keep-enemy-on-platform" method doesn't work anymore and glitches. I don't know what happened, and I am quite frustrated with it. I used the debugger and it appears to be mirroring the enemies but not changing their direction unless they 'land' on the square rather than just simply colliding with it. This makes no sense and their is no reason for it not to be working. This new animation I made should in no way, shape, or form messed with the collision detection of the blue squares and the enemy. Anyway, so I made the squares solids to keep the enemy from going passed them, and they now seem to turn around like they're suppose to, but I have this invisible square my player keeps standing on and running into on the platforms with enemies... so that brought me to the question I asked you. My solution was just to make the squares really small and put them on the ground --- big enough to stop the enemy, but small enough with the help of shaping the bottom of the player's collision polygon to more of a circle to make him pass right over it. So thanks for your help, and now you understand better what my real problem was.