1. For the entry level, refer to the unrealscript code.
Unrealscript imitates Java, but there is a huge difference, mainly because it has a complete structure, it seems that udk has arranged everything, just like in the building, in the face of a well-designed building, you do not know how to put your design into practice in the original building. When you first came into contact with unrealscript development, it was also difficult to read the tutorials, we recommend several entry-level guides to help you get a rough idea of unrealscript. In particular, the recommended role technical guide and camera technical guide. Game programming: http://udn.epicgames.com/Three/GameplayProgrammingHomeCH.html
Recommendation: basic game Quick Start: Success
DLL binding: http://udn.epicgames.com/Three/DLLBindCH.html
2. compile your own projectWhen writing your own game type, you must first configure the development environment. You can refer to my previous article and modify the INI file so that the udk editer can recognize it and find it.
DefaultEngine.ini
File
[UnrealEd.EditorEngine]
In Section
EditPackages
Array complete. Add a ccgame Project (your own udkgame) and add your project name syntax as follows:
+EditPackages=CCGame
After the script or INI file is modified, recompile and run the command line udk.exe make-full to ensure no warning or error.
3. Packaging and publishing processCompile, debug, compile, and run udk game in the compiler, and finally release the script into an EXE file. To release your project as an EXE file, note the following:
1. cannot start lanchq: udkgame.exe is not your own game type. A: First, modify the defaultgame. INI [engine. gameinfo] defaultgame = cameracustom. ccgamedefaserverservergame = cameracustom. ccgameplayercontrollerclassname = cameracustom. ccplayercamera
Defaultgametype = "utgame. ccgame ";
Lanchq: After packaging, the game type is not the one you want.
A: Put this section in the game type class you defined:
Static event class <gameinfo> setgametype (string mapname, string options, string portal)
{
Return default. Class;
} Reference: http://tieba.baidu.com/p/2343565767
2. lanch is supported, but it cannot be packaged.
Some students reported that they still need to read the official UI before entering the game.
Solution:
Create a new start map to replace theudkfrontendmap
Open defaultengine. ini
Mapext = udk
; Any additional map extension to support for map loading.
; Maps without an extension always saved with the above mapext
Additionalmapext = Mobile
Map = udkfrontendmap. udk (change)
Localmap = udkfrontendmap. udk (change)
Transitionmap = envyentry. udk
Exenameututgame.exe
Debugexenameappsdebug-utgame.exe
Change equal sign plus your new Map Name Reference: http://tieba.baidu.com/p/2166535374
3. Enable resolution defasystemsystemsettings. iniresx = 1920 Resy = 1080
4. manually move the DLL file to the usercode folder after installation.
5. Remove the startup animation ?? Find the fullscreenmovie item in udkengine. ini and change bforcenomovies to true.
X: \ udk \ engine \ config \ baseengine. ini
Find [fullscreenmovie] item bforcenomovies = true
6. Start full screen X: \ udk \ engine \ config \ basesystemsetting. ini
Set fullscreen = true