Windows platform resolves issues that quick3.5final + SUBLIMETEXT3 emulator cannot find

Source: Internet
Author: User

Download quick3.5 ready to be developed on the sublime, and found that the player emulator in quick3.5 was missing and the emulator moved to the Quick Engine home directory

/tools/simulator/runtime/win32/below, the name also changed, called Simulator.exe. So down in the sublime installed Quickxdev, open the new Cocos Lua Project, right-click Run with player will error, said the player could not be found.

What do we do?

Later, I looked up and said to modify the quickx.py in this Python script file in the Quickxdev home directory:

Playerpath= ""    if sublime.platform () = = "OSX":        playerpath=quick_cocos2dx_root+ "/player3.app/contents/macos /player3 "    elif sublime.platform () = =" Windows ":        playerpath=quick_cocos2dx_root+"/quick/player/win32/ Player3.exe "    if playerpath==" "or Not Os.path.exists (Playerpath):        sublime.error_message (" Player no exists ")        return

We modified the Windows platform corresponding playerpath to: playerpath=quick_cocos2dx_root+ "/tools/simulator/runtime/win32/simulator.exe", Which is the simulator's

Path, save.

At this point, the right-click Run with player found that the error did not pop up but did not respond.

Later found in the example of the quick engine quick/samples in the project there is a win_debug.bat this batch file. After clicking, you can run the sample in the simulator. Make a decision to copy and paste this file into your own LUA project's home directory.

When clicked, the simulator popped up and ran my quick project.

At this point, if you go to sublime Text3, right-click Run with player will find this quickxdev function.

Windows platform resolves issues that quick3.5final + SUBLIMETEXT3 emulator cannot find

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.