My son is trying to create his first game using Game Maker Studio 1.4. We followed all steps in the book we are using (Game maker for kids). We now want to try to run the game, but it does not work.
Game Maker shows a Windows dialog that says "Open.." in the title and where you can select "Exe files (*.exe, *.ios, *.psp, *.win, *.droid)". I have no clue what file I should select here? If I cancel, I get a dialog that says "Compile failed, please check the compile window". But there is no error in the compile window, just a message "Compilation finished"
I am assuming you are trying to make the game run on Windows OS, so these steps should work for you.
(Clicking the blue numbers will dispaly and image relevant to the step)
1. Firstly make sure the platform target is for Windows and not a different platform as shown here:1 You click on the drop-down arrow to change the platform you wish to run/export your game too.
2. Now that we have that out of the way near the top left of the screen there should be a green play button. I have circled the button on this image to help you.2 You need to click this Green Play button.
3. After that Game Maker Studio will compile the code (this may take some time depending on how fast your PC is and how big the game is). You can tell if it is compiling if there is a loading box in the centre of the screen. Also remember to be patient as it could take a while.
4. If you have no errors in your code the game will successfully launch and you will be able to play it. If it didn't launch then Game Maker Studio will point out where errors in the code are to make fixing them easier.
I hope this guide helps and if you need any more help then just ask on the forms and I'm sure someone will be able to help you. Have a nice day and happy game developing!
On the GM:S settings (File -> Preferences) on the window view, press "check Windows sdk".
If it turns red => reinstall Windows sdk and Windows visual studio 11 then specify path.
Let me know if it solved your PB
In the Files -> Preferences there's a Temp directory box and mine was set to a dummy drive.
I set it to the actual Temp directory of my computer and now it works well.
Related
I am using VS CODE to develope a Robot with Robot Framework and Sikuli. When I run my script I get an error
"could not find P(sage.png)"
This happen because the current screen is the VS CODE's screen and not the desktop where the "sage.png" is.
What I can use in my script in order to focus on desktop screen first of all?
I just looked at the documentation of sikuli.
You can make use of the below method, where they have specifically talked about your issue.
classmethod focusedWindow()
On Windows, this method always returns a region. When there is no
window opened on the desktop, the region may refer to a special window
such as the task bar or an icon in the system tray.
# highlight the currently fontmost window for 2 seconds
App.focusedWindow().highlight(2)
# save the windows region before
firstWindow = App.focusedWindow()
firstWindow.highlight(2)
I want to know if you can put authserver and worldserver to the background. I know mangos do this and since in the end, Azerothcore is based on mangos so I'm wondering if Azerothcore can still do this.
Or another way I do it for windows is use RBtray
RBTray is a small Windows program that runs in the background and allows almost any window to be minimized to the system tray by:
Right-Clicking its minimize button
Shift-Right-Clicking on its title bar
Using the Windows-Alt-Down hotkey
Note that not all all of these methods will work for every window, so please use whichever one works for your needs.
Just a guess that your trying to move console windows to system tray?.
I created a simple clipboard(desktop app) using JavaFX. Now I want to run the clipboard in the background when user minimizes or closes the app. For example, 'XAMPP' or 'μtorrent'. Of course, user can reopen or completely close the clipboard from hidden icons(in windows) or from the top panel(in ubuntu). From THIS question, i found
Platform.setImplicitExit(false);
which runs the clipboard in the background. But i want to show it in the hidden icons(in windows) so that i can reopen or completely close it from there.
I know how to get and modify the window OnCloseRequest. I just want to know what i should do to run the clipboard in the background.
I searched in the google and StackOverflow for any related tutorial or blog post but found nothing. Any suggestion will be highly appreciated.
I didn't share my code because my clipboard app has no problem. I just want to add the above-mentioned feature.
I was about to add a new app icon in Xcode 4.3 when I accidentally clicked something in the project inspector (the joys of using the touchpad and not a mouse). I had my project selected and was about to add a new image for iPhone retina icon when I accidentally selected something and now I cannot see anything of my project. The last thing I remember seeing was a drop-down menu change to "Absolute" (I think as I only saw it for a moment) and I think the label was something to do with paths. The screen flashed and the entire project disappeared from the Xcode UI even though it is open.
The folder created in my Documents folder by Xcode is still in tact and all files are present. Even opening the project from here renders the same result - a completely empty Xcode except for appdelegte.h and .m.
I have even tried restoring an earlier snapshot but it does not help. When I open my project all I see is the AppDelegate.m and .h and nothing else. The only item in my project navigator where I used to see all my files is my app name .xcodeproj in red text. I cannot find anything to help me get my project back.
Can anyone help me to reverse this simple mistake?
I was able to reproduce this problem consistently and cause Xcode to crash in the process.
1] Start Xcode (Quit and re-start) and create a new utility project named TestProj. I don't believe the project type or name makes a difference but I didn't try any other combinations. Do not create a GIT.
2] After the project is created, simply click on "Location" which is greyed out because the project is selected in the project navigator. Once you have done this, the project is hosed and you can't get the project to open in project navigator again - it simply shows "TestProj.xcodeproj" where the project used to be listed in the project navigator.
3] To see Xcode crash, selected "Relative to SDK" and Xcode dies.
I have accidentally clicked on that greyed out location twice simply due to my apparently terrible mouse skills.
Apple, please fix this!
After reading:
Accidentally changed location of project file in file inspector, now can't see any project files in Navigator.
I went to Xcode (4.3 on Lion in my case), selected the project on the Project Navigator (left Xcode panel) and in the File Inspector (right Xcode panel) I updated its location to the Relative to Group value and then clicked over the little image button (underneath the location line) and selected my project.xcodeproj from Finder. It also solved the problem.
Best regards.
Ok - problem solved.
Eventually Xcode opened without crashing and with a seemingly useless file listed on the left in the navigator. I highlighted it (which is when Xcode was crashing all the time) and immediately clicked the in the project name text box in the inspector and entered my project name. Then selected the drop-down beneath it and selected relative to SDK. As soon as I let go (mouse-up) it changed to "Not Applicable" and my project re-appeared. Happy days! Only lost a day worth of work - but could have been worse...
Thanks to everyone who gave this some time...
I've written a small Processing App which I'm planning to release soon. What's still missing is a sweet custom icon for Titlebar/Taskbar (Win) and Dock (Mac). Any suggestions how to do this?
Thx!
Meanwhile I figured it out on my own:
Obviously this works for Mac OS by replacing the sketch.icns file within the exported app, for win & liunx is done by adding this line to your setup method:
frame.setIconImage( getToolkit().getImage("sketch.ico") );
It depends if you have any artistic ability or not.
If not, then you can hire an icon designer to do one, or search the web for free icons - there are billions.
If you have a modicum of artisticness, then you could grab a free icon that is almost what you want and then tweak it. IcoFX is a great free application for doing this sort of thing.
If you think you have what it takes to draw an icon from scratch, then a good plan is to use a vector art package. This allows you to export the same graphic at multiple resolutions so you can get top quality at every icons size you need (from 16x16 to 256x256). Alternatively, draw a large (512x512) verison in a bitmap editor and then downscale it as required. As long as you start big and downscale, you shouldn't have any problems (although to get a good icon at 16x16 and 32x32 you will still need a good eye and a lot of manual tweaking).
In your code, just type this line:
frame.setIconImage( getToolkit().getImage("sketch.ico") );
For Windows/Linux, this will do it. For Mac/OSX, follow these steps:
Find your sketch in Finder
Right click > info, or CmdI
Find your icon and open it in Preview
In Preview, click on your icon and press CmdA or right click > select all
In Preview, press CmdC, or right click > copy
Go back to Finder. Click on the current icon of your sketch. You'll know you've selected it when a blue outline appears. Press CmdV, or right click > paste
Tips:
The standard icon size is 512x512
When making your icon, make sure that your transparencies are working