Java Nio – Java Nonblocking I/O

28 Oct

http://www.javaworld.com/article/2073344/core-java/use-select-for-high-speed-networking.html

Unity good links

3 Oct index

Ta:
http://vietunity3d.blogspot.com/
http://congdongandroid.vn/showthread.php?tid=1715
https://tuananhict.wordpress.com/page/2/
http://unityviet.com/ultimate-mobile-gan-admob-vao-game-trong-unity/

Dua xe:
http://vietgamedev.net/blog/97/m%E1%BA%A7n-game-mobile-v%E1%BB%9Bi-unity3d-ph%E1%BA%A7n-2-scripting/

Running man:
http://sachdayunity.blogspot.com/2014/06/tai-lieu-lap-trinh-game-mobile.html
GUI: button, label… Có thể xem qua ý tưởng trong tài liệu luận văn tiếng Việt về Unity3D rồi search tiếp

Tây:

http://www.powenko.com/en/?p=71

http://code.tutsplus.com/tutorials/working-with-unitys-2d-tools–cms-20305
http://www.unikronsoftware.com/2dtoolkit/docs/latest/tilemap/tutorial.html

Pause menu:
http://answers.unity3d.com/questions/30858/in-game-pause-menu.html
Send SMS:
http://answers.unity3d.com/questions/177634/is-it-possible-to-send-sms-from-an-action-in-unity.html
Save data (HighScore….):
http://unitygems.com/saving-data-1-remember-me/

Rotate around:
Transform.RotateAround
http://docs.unity3d.com/ScriptReference/Transform.RotateAround.html

Design pattern:
http://answers.unity3d.com/questions/31050/unity-design-patterns.html

Create and Destroy Game Object:
http://docs.unity3d.com/Manual/CreateDestroyObjects.html

Joystick:
http://www.raywenderlich.com/25349/how-to-get-started-with-unity-part-23

Tiled:
https://www.assetstore.unity3d.com/en/#!/content/19038

Scaling:
http://gamedesigntheory.blogspot.ie/2010/09/controlling-aspect-ratio-in-unity.html
http://answers.unity3d.com/questions/340518/fixed-aspect-ratioresolution-independence.html
http://answers.unity3d.com/questions/666556/android-auto-scale-backgorund-for-any-resolution.html
http://www.artdesign4you.com/Aspect-ratio-Smartphones/
Resolution:
Camerasize:
H = Hmongmuon/2/Pixel to Units (thuong la 100)
W = H*ratio

Zoom/Pan:
http://www.theappguruz.com/sample-code/pinch-zoom-panning-unity/

*********************************************************************************************
*********************************************************************************************
Awsome Tools:( PixelCamera, ScreenFade, Background, StateSaving)
http://pixelplacement.com/2010/12/17/the-solution-to-image-backgrounds-in-unity/
http://forum.cgpersia.com/f79/unity-assets-2d-game-making-66700/#ixzz2KHHL2KZ2
*********************************************************************************************
*********************************************************************************************

Site:
http://wiki.unity3d.com/index.php?title=GuiRatioFixer
http://unitygems.com/
http://www.reddit.com/r/Unity2D/comments/2eeo4n/pixel_perfection_in_2d_xpost_from_unity3d/
https://github.com/pixelnest/tutorial-2d-game-unity/
http://www.third-helix.com/2012/02/05/making-2d-games-with-unity.html
http://anwell.me/articles/unity3d-flappy-bird/
http://www.benbarefield.com/blog/2013/01/28/orthographic-camera-in-unity/
http://www.rocket5studios.com/tutorials/creating-2d-games-with-unity3d-part-2/
http://pixelnest.io/tutorials/2d-game-unity/
http://noobtuts.com/unity/2d-tetris-game

Đây là những list website mà mình hay tìm kiếm những âm thanh cho game, miễn phí:

8bitcollective.com
ccmixter.org
flashkit.com
freesound.org
hartwigmedia.com
incompetech.com
musopen.com
newgrounds.com
openmusicarchive.org
openmusic.linuxtag.org
indiegamemusic.com

HighScore:
http://answers.unity3d.com/questions/20773/how-do-i-make-a-highscores-board.html?page=1&pageSize=5&sort=votes

Sample:
https://github.com/pixelnest/tutorial-2d-game-unity/
http://noobtuts.com/unity/2d-tetris-game

Q: Có những cổng game trên web nào hỗ trợ cho đăng game Unity không ?

A: Có rất nhiều, dưới đây là những web mình thu thập được

http://shockwave.com (web + standalone)
http://facebook.com (web)
http://candystand.com (web + standalone)
http://miniclip.com (standalone)
http://kongregate.com (web)
http://wooglie.com (web + standalone)
http://gamejolt.com (web + standalone)
http://blurst.com (web + standalone)
http://bigfishgames.com (standalone)
http://realarcade.com (standalone)
http://boonty.com (standalone)
http://reflexive.net (standalone)
http://musegames.com/ (web + standalone)
http://www.indiepubgames.com/ (web + standalone)
http://www.tinyutopia.com/
http://dimerocker.com
http://store.steampowered.com/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Others:
Swipe/Slide: http://answers.unity3d.com/questions/226683/how-to-create-a-swipe-page-slide-page-effects.html
Zoom In/Out: http://wiki.unity3d.com/index.php?title=DetectTouchMovement
Destructible
https://www.assetstore.unity3d.com/en/#!/content/18125
ICON:
http://www.iconza.com/
http://www.iconeden.com/icon/milky-a-free-vector-iconset.html
http://91techz.com/blogs/top-10-gui-icons-web-designers/

Java scan file trong thư mục

22 Sep

package javaapplication13;

import java.io.File;

/**
*
* @author pmdv_anhdt8
*/
public class Main {

/**
* @param args the command line arguments
*/
public static void main(String[] args) {
File folder = new File(“d:/Projects/Telecom Portal/Doc/Viettel Telecom Portal/Upcode21092011/cms/apps/front/modules/vtpSelfcare/templates/views/tbc/”);
list(folder);
}

public static void list(File parent) {
File[] listOfFiles = parent.listFiles();
for (int i = 0; i < listOfFiles.length; i++) {
File file = listOfFiles[i];
if (file.isFile()) {
if (file.getPath().indexOf(“.svn”) < 0) {
System.out.println(file.getPath());
}
} else if (file.isDirectory()) {
list(file);
}
}
}
}

Theo dõi

Get every new post delivered to your Inbox.