test2

  • Trang chủ
  • Trang chủ
Hiển thị các bài đăng có nhãn Code game android. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn Code game android. Hiển thị tất cả bài đăng

Thứ Sáu, 7 tháng 11, 2014

Code game Bầu Cua Android

By Unknown 12:08  Code game android, Code game Bầu Cua Android No comments
Code game Bầu Cua Android
Game Bầu Cua Kinh Điển. Bầu Cua hay còn gọi với một cái tên khác đó là Tôm, Cua, Cá . Một trò chơi giân gian ... Tải Bầu Cua cho android được biết đến xuất sứ từ những lễ hội, chợ , và ...
- Âm thanh sống động
- Đồ họa đẹp mắt
- Cách chơi như thật

Source Code game Bầu Cua Android
Source Code game Bầu Cua Android giao diện ngang

Source code game android , Code game Bầu Cua Android
Game Bầu cua tôm cá Android
Websites: http://www.studycoding.net/
Page: https://www.facebook.com/hoclaptrinh.it
Download: http://goo.gl/2hEUeH
Bạn nào cần source code game comment "Source code game android , Code game Bầu Cua Android" dưới bài viết kèm với mail để ad send source qua nhé. Thanks!

Download source code: --> Download Source code
Code game Bầu Cua Android

Code game Bầu Cua Android

Nguồn tham khảo: myclass.vn
Read More
SHARE ! Tweet

Thứ Năm, 16 tháng 10, 2014

Code game android Sudoku

By Unknown 09:40  Code game android, Source code No comments
Code game android Sudoku

Mỗi Sudoku có một giải pháp duy nhất có thể đạt đến một cách logic mà không cần đoán. Nhập một số chữ số 1-9 vào các không gian trống. Mỗi hàng phải có một trong mỗi chữ số. Và như vậy cho mỗi cột, như đối với mỗi hình vuông 3x3.
Code game android Sudoku

Màng hình chào của game gồm 4 tùy chọn: Countinue, New Game, About, Exit. Nhấn New Game để bắt đầu game Sudoku.
Code game android Sudoku
 Tùy chọn nhập mức độ chơi cho Game Sudoku: Easy, Medium, Hard

Code game android Sudoku
 Tùy chỉnh 1 số cài đặt thêm cho game Sudoku như: Music, . .
Code game android Sudoku
 Dơwnload:
   ▶  Code game android Sudoku: Tải xuống
Read More
SHARE ! Tweet

Thứ Sáu, 18 tháng 7, 2014

Built on Android Game Application Use AndEngine

By Unknown 08:40  Andengine, Code game android, Game Android No comments
Step 1: extends BaseGameActivity on AndEngine
PHP:
onLoadEngine
onLoadResources
onLoadScene
onLoadComplete
Step 2: Declaration variable
PHP:
    private static final int CAMERA_WIDTH = 720;
    private static final 
int CAMERA_HEIGHT = 480;

    private 
Camera mCamera;
    private 
BitmapTextureAtlas mBitmapTextureAtlas;
    private 
TiledTextureRegion mFaceTextureRegion;
Step 3: new variable on method
PHP:
public Engine onLoadEngine() {
        
// TODO Auto-generated method stub
        
this.mCamera = new Camera(0, 0, CAMERA_WIDTH, CAMERA_HEIGHT);
        return new 
Engine(new EngineOptions(true, ScreenOrientation.LANDSCAPE,
                new 
RatioResolutionPolicy(CAMERA_WIDTH, CAMERA_HEIGHT),
                
this.mCamera));
    }
Step 4: Load Resources on Method onLoadResources
PHP:
@Override
    
public void onLoadResources() {
        
this.mBitmapTextureAtlas = new BitmapTextureAtlas(64, 32,
                
TextureOptions.BILINEAR_PREMULTIPLYALPHA);
        
BitmapTextureAtlasTextureRegionFactory.setAssetBasePath("gfx/");
        
this.mFaceTextureRegion = BitmapTextureAtlasTextureRegionFactory
                
.createTiledFromAsset(this.mBitmapTextureAtlas, this,
                        
"face_circle_tiled.png", 0, 0, 2, 1);

        
this.mEngine.getTextureManager().loadTexture(this.mBitmapTextureAtlas);
    }
Step 5: Load game on onLoadScene
PHP:
@Override
    
public Scene onLoadScene() {
        
// TODO Auto-generated method stub
        
this.mEngine.registerUpdateHandler(new FPSLogger());

        final 
Scene scene = new Scene();
        
scene.setBackground(new ColorBackground(0.09804f, 0.6274f, 0.8784f));

        final 
int centerX = (CAMERA_WIDTH - this.mFaceTextureRegion.getWidth()) / 2;
        final 
int centerY = (CAMERA_HEIGHT - this.mFaceTextureRegion
                
.getHeight()) / 2;
        final 
Ball ball = new Ball(centerX, centerY, this.mFaceTextureRegion);

        
Log.d("FishingonLoadScene",  "onLoadScene dx = " + ball.getX()
                + 
"dy = " + ball.getY());

        
scene.attachChild(ball);

        return 
scene;
    }
Insert class Ball:
PHP:
private static class Ball extends AnimatedSprite {
        private final 
PhysicsHandler mPhysicsHandler;

        public 
Ball(final float pX, final float pY,
                final 
TiledTextureRegion pTextureRegion) {
            
super(pX, pY, pTextureRegion);
            
this.mPhysicsHandler = new PhysicsHandler(this);
            
this.registerUpdateHandler(this.mPhysicsHandler);
            
mPhysicsHandler.setVelocity(DEMO_VELOCITY, DEMO_VELOCITY);
        }

        @
Override
        
protected void onManagedUpdate(final float pSecondsElapsed) {
            if (
this.mX < 0) {
                
this.mPhysicsHandler.setVelocityX(DEMO_VELOCITY);
            } else if (
this.mX + this.getWidth() > CAMERA_WIDTH) {
                
this.mPhysicsHandler.setVelocityX(-DEMO_VELOCITY);
            }

            if (
this.mY < 0) {
                
this.mPhysicsHandler.setVelocityY(DEMO_VELOCITY);
            } else if (
this.mY + this.getHeight() > CAMERA_HEIGHT) {
                
this.mPhysicsHandler.setVelocityY(-DEMO_VELOCITY);
            }
            
Log.d("FishingonManagedUpdate", "onManagedUpdate dx = " + this.getX() + "dy = "
                    
+ this.getY());
            
super.onManagedUpdate(pSecondsElapsed);
        }
    }
Notes library on using project:
PHP:
package studycoding.net.movingball;
import org.anddev.andengine.engine.Engine;import org.anddev.andengine.engine.camera.Camera;import org.anddev.andengine.engine.handler.physics.PhysicsHandler;import org.anddev.andengine.engine.options.EngineOptions;import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation;import org.anddev.andengine.engine.options.resolutionpolicy.RatioResolutionPolicy;import org.anddev.andengine.entity.scene.Scene;import org.anddev.andengine.entity.scene.background.ColorBackground;import org.anddev.andengine.entity.sprite.AnimatedSprite;import org.anddev.andengine.entity.util.FPSLogger;import org.anddev.andengine.opengl.texture.TextureOptions;import org.anddev.andengine.opengl.texture.atlas.bitmap.BitmapTextureAtlas;import org.anddev.andengine.opengl.texture.atlas.bitmap.BitmapTextureAtlasTextureRegionFactory;import org.anddev.andengine.opengl.texture.region.TiledTextureRegion;import org.anddev.andengine.ui.activity.BaseGameActivity;
import android.util.Log;

  Step 6: Buil applition: 
Xây Dựng Ứng Dụng Game trên Android Sử dụng AndEngine


Read More
SHARE ! Tweet

Thứ Năm, 15 tháng 5, 2014

Source Code Game Android

By Unknown 21:23  Android, Code game android, Source code No comments
Mình có tổng hợp 1 số source code game đơn giản trên android giúp hỗ trợ học tập , làm đồ án, làm quen với làm game 2D trên android.
1. Game 2048
Với giao diện  đơn giản - code xử lý không hề phức tạm nhưng 2048 là 1 game "sôt"  trên cộng đồng game di động gần đây.
Download Source Code
2. Game Pikachu 
Thể loại game rất quen thuộc. Với giao diện thân thiện với nhiều icon pikachu đẹp.

Download Source Code
3. Game trúc xanh 
Với luật chơi đơn giản với 2 hình lật lên giống nhau thì đuợc tính điểm
Game 2 hình giống nhau là nên tản để viết các game phức tạm 

Download Source Code
 3. Game xếp hình
1 tậm hình đuợc cắt ra thành nhiều tấm nhỏ. Nguời chơi phải sắp xếp lại cho đúng thứ tự
Download Source Code
 4. Chuyển số
Là nền tản của các game sắp xếp theo 1 quy luật nào đó.
Bản game demo trên ma trận các button -> sắp xếp theo số tăng từ 1 -> 9
Download Source Code

SOURCE CODE DÙNG HỖ TRỢ HỌC TẬP, LÀM QUEN VỚI LÀM GAME ĐƠN GIẢN TRÊN ANDROID. 
CAC BẠN DOWNLOAD THÀNH CÔNG SOURCE CODE NÀO ĐỂ LẠI CMT Ở DUỚI  ĐỂ CÁC  BẠN KHÁC CHECK NHÉ
THANKS!
Ví dụ:
Mình cần source game 2048  
Read More
SHARE ! Tweet
Bài đăng cũ hơn → Trang chủ

Social Profiles

TwitterFacebookFacebookFacebookGoogle Plus Youtube Email

Bài đăng phổ biến

  • Quy tắc dùng để thiết kế nên các giao diện cho phần mềm
    Để có 1 phần mềm được gọi là "có khoa học" nhiều  developer  đã phải bỏ ra không ít thời gian cũng như trí não cho nó. Nếu trong t...
  • WPF
    Video: Tài liệu full tiếng việt cơ bản + Ebook English: Download  Gửi email bài đăng n
  • Lập trình game Flappy Bird với Unity Engine - Share project Flappy Bird
    Lập trình game Flappy Bird với Unity Engine: +  Download phiên bản Unity Engine mới nhất  tại đây + Project hoàn chỉnh Flappy Bird tại đây...
  • Cài đặt gõ tiếng việt có dấu trên fedora
    Đối với hệ điều hành Fedora đã có hỗ trợ gõ tiếng việt có dấu sẵn. => Cài đặt gõ tiếng việt có dấu Xong gõ tiếng việt  => Kết nối Wi...
  • Đổi màu chữ trên màng hình Console với C/C++
    Đối với mỗi lập trình viên thì việc bắt đầu học lập trình chắc hẳn không thể không biết đến màng hình Console. Thế nhưng ít ai biết đến làm ...
  • Bài 4 - Cấu trúc 1 project Android
    1. src   thư mục chứa code xử lý của toàn bộ ứng dụng ( JAVA) 2. gen thư mục tự động sinh của eclipse ( chứa id của các control được ánh x...
  • Trào lưu ASK.FM
    Gần đây mạng xã hội xuất hiện trào lưu "hỏi xoáy - đáp xoay"   ASK.FM trên các trang mạng xã hội, đặt biệt là trên facebook . V...
  • Bài 1. Nhập môn Xcode và Objective-C
    NHẬP MÔN Objective-C ​ ​ Xin chào tất cả các bạn.​ ​ Lập trình cho MacOS và iOS chưa lâu, nhưng nhận thấy cần góp phần vào việc chia sẻ kiến...
  • Tổng hợp bài viết nhập môn lập trình android
    --- Để tiện việt theo dõi các bài viết huớng dẫn học lập trình android  mình sẽ tổng hợp các bài viết theo thứ tự. Các bạn có thể trao đổi ở...
  • Khoa Học Lập Trình Udemy free 100% dành cho lập trình viên
    Giảm 100% khóa học trên UDEMY (HTML, CSS, JavaScript, Bootstrap) 1. The Complete JavaScript Course For Web Development Beginners 2. The Comp...

CẢM NHẬN VỀ SƠN ĐẸP TRAI

FANPAGE HỌC LẬP TRÌNH

Lưu trữ Blog

  • ▼  2020 (1)
    • ▼  tháng 6 (1)
      • Nhận mã giftcode tặng ngay 200.000 VNĐ từ Anh Sơn ...
  • ►  2016 (6)
    • ►  tháng 6 (1)
    • ►  tháng 3 (1)
    • ►  tháng 1 (4)
  • ►  2015 (15)
    • ►  tháng 12 (2)
    • ►  tháng 10 (1)
    • ►  tháng 8 (2)
    • ►  tháng 6 (1)
    • ►  tháng 5 (3)
    • ►  tháng 4 (1)
    • ►  tháng 3 (1)
    • ►  tháng 1 (4)
  • ►  2014 (228)
    • ►  tháng 12 (2)
    • ►  tháng 11 (3)
    • ►  tháng 10 (10)
    • ►  tháng 9 (2)
    • ►  tháng 8 (19)
    • ►  tháng 7 (20)
    • ►  tháng 6 (41)
    • ►  tháng 5 (35)
    • ►  tháng 4 (26)
    • ►  tháng 3 (60)
    • ►  tháng 2 (10)
Được tạo bởi Blogger.

Giới thiệu về tôi

Unknown
Xem hồ sơ hoàn chỉnh của tôi

About

 
  • Tổng số lượt xem trang

Copyright © test2 | Powered by Blogger
Design by thanhbpc