Sogou C# SDK LZMA Zi Xiancheng compression and decompression Unity3d instance

Plans to use the Assetbundle in the project is not compressed, so you need to manually compress the Assetbundle package, because there are one hundred thousand cold jokes on the package before the analysis, so the firm chose LZMA compression algorithm to compress Assetbundle. ...
Read(1167) Comment(0)

Sogou Cocos2d-x game resources (images, TXT, XML, etc.) to encrypt and decrypt the encryption and decryption

A unity3d game resource package encryption (picture /XML/TXT) C# code (a) introduced how to package encryption game resources has been a few months from the, but no detailed description of how the game to read encrypted resources, although clever programmers see one eye knows what to do to reverse coded, but details about to end. Cocos2d-X resource encryption and decryption Only one encryption can be divided into two, Cocos2d-x and Unity3d. The first...
Read(1208) Comment(0)

Sogou Unity3d game installation package limit reduction of four points, two points (NGUI)

This wine is also afraid of deep alley, the game does not advertise not to buy the user brush list will be dead time. Each game agent wants to make the installation package as small as possible to make the CP 99M, it is absolutely not 100M. But game developers in again kicked out useless resources, bit by bit to the game pack a small button, found that size is reduced down, what to do, then only take art resources to operate. ...
Read(801) Comment(1)

Sogou Unity3d game resources packaged encryption (picture /XML/TXT, etc.) C# encoding

For Unity, although the Unity itself will be compressed encryption, but its encryption algorithm in the Internet can be seen everywhere, if you feel that the game inside the information has the nature of confidentiality, please. This article is just about the process, the use of a very simple package encryption method, as to what kind of encryption results, please follow the requirements to modify, byte offset, and reverse the algorithm can be, but generally do not need to be so complex, and too complex encryption for the game is extremely efficient, but also a heavy burden. ...
Read(1401) Comment(4)

SLua binding Protobuf-Lua (protoc-gen-lua) used in Protobuf SLua

Games to migrate to the Lua, choose the SLua the open source library to do, SLua very clean, provide only the support of unity to Lua, contains no other libraries, such as protoc-gen-lua. Since there is no, that we will own the protoc-gen-lua compiled into SLua Library in. 1, protoc-gen-lua compiler installation First download the protobuf-2.4.1 compiled proto tools, and then download the protoc-g...
Read(5) Comment(0)

2.0.4 Luajit binding protoc-gen-lua (Windows platform)

The last part of the paper describes the use of protoc-gen-lua compiler, but the last example, I was the pb.c protoc-gen-lua source code to add to the project to compile. So what if we wrote the Lua code to use the Lua command directly? At this time, the total can not take vs of the project to compile and run, but we have 2.0.4 Luajit source code and protoc-gen-lua pb.c source code, the code in the hands of the world I have, I come to the two together, that is, pb.c protoc-gen-lua 2.0.4 Luajit. ...
Read(17) Comment(0)

Protoc-gen-lua compile, install, use the tutorial

Did not version of the Lua official Protobuf and Netease procedures apes developed the protoc-gen-lua can let us proto file turn into Lua script in Lua, the following is detailed compile, install, use the tutorial. Use the code, the tool has Baidu SkyDrive download. ...
Read(15) Comment(0)

Lua Protobuf version and C# version of the serialization data is not consistent

Using protobuf to embed Unity into the project, the original use of the project is the protobuf version of the protoc-gen-lua, the need to coexist, so the test of protobuf in the two platforms are the same as the data serialization. ...
Read(13) Comment(0)

Lua single case

There is no concept of class in Lua, but the program ape says it is object-oriented, and then there are classes. Program ape said to inherit and override, and then have the inheritance and override. Program ape said to have a single case and then have a single case...
Read(8) Comment(0)

Inheritance and function of Lua class override

There is no concept of class in Lua, but the program ape says it is object-oriented, and then there are classes. Program ape said to inherit and override, and then have the inheritance and override. ...
Read(12) Comment(0)

C# packaging model

System using; System.Collections.Generic using; System.Linq using; System.Text using; System.Threading.Tasks using; ConsoleApplication15 namespace { Public class Component Abstract { ...
Read(9) Comment(0)

Lua implementation class

There is no concept of class in Lua, but the program ape says it's going to be object-oriented. ...
Read(10) Comment(0)

Call Lua function in C++

Use the code Http://prog3.com/sbdm/blog/huutu/article/details/49594469 In function call C++ Lua in processing and return value Main.cpp #include #include C "extern" { Lua.h "#include" Lualib.h "#include" #include "lauxlib...
Read(8) Comment(0)

Tolua++ compilation and use of simple

Tolua++ is a tool used to generate the C++ code used in Lua...
Read(11) Comment(0)

Vs2012 || Vs2013 suggested that the application cannot start access denied

Vs2012 || Vs2013 suggested that the application cannot start access denied If you start the game, the game will appear this problem...... Restart the next line...
Read(8) Comment(0)

C# regular expressions allow only letters, Chinese

/ / cannot contain special characters; Reg new = Regex Regex (@ ^[\u4e00-\u9fa5a-zA-Z]+$); M Match = reg.Match (name); If (m.Success) { UIManager.Instance.ShowTip (...
Read(33) Comment(0)

To resolve base type System.Security.Principal.GenericIdentity for type System.Net.HttpListen Failed

Update the latest Unity5.2, then decided to ULua code play package in the IL2CPP run there is no problem. The result was a mistake. To resolve base type System.Security.Principal.GenericIdentity for type System.Net.HttpListen Failed Running /Applications/U Failed...
Read(50) Comment(0)

Sprite Unity2d is not a real problem.

The first time with Unity2D, drag a Sprite into the scene, found the problem, the 640 width of the picture, but can not account for the full 640x960 resolution of the screen. To Momo's blog to see related articles Http://www.xuanyusong.com/archives/3254 The original Unity2D default camera Size = 5 In fact, we need the camera's Size = Max (Width, Heig...
Read(58) Comment(0)

HTTP iOS9 is not a solution to the normal use

Http://segmentfault.com/a/1190000002933776 Resource could not be loaded because the App Transport Security policy requires the use of a secure connection. The Google after verification, iOS9 introduced the new feature Transport App...
Read(131) Comment(3)
285 data were 19 pagesOne Two Three Four Five ... Next page Shadowe
    Personal data
    • Visit248747 times
    • Integral:4469
    • Grade
    • Rank:3358th
    • Original177
    • Reprint:102
    • Translation:6
    • Comment:60
    Article classification
    Latest comments