Sunday, July 29, 2012

Notes for the next Game Jam I go to

I'm rarely a fan of posts that are in list form (e.g. "Top 10 tips for writing top 10 lists") but I seem to be in "list making mode" right now so expect some lists in this post.



I recently went to a local Game Jam. What's a game jam? I'd describe it as an event where people meet and come together to attempt to prototype an innovative game idea, fiting a common theme, and then share their results, no matter how embarrassingly incomplete, with others. All within a few hours.

Here's what I wanted to get out of it, from most important to least important:
  1. Meet cool people. I program at home and with coworkers all the time; this is a chance to meet others.
  2. Work together. I can work by myself any day.
  3. Fit a theme. I can follow my own ideas any day.
  4. Prototype a mechanic or idea. Because doing something boring is boring.
  5. See something cool. It can be really inspiring to see something created in such a short time.
  6. Show something cool. I need to share what I come up with more often.
  7. Make a game. Another thing I can do on my own time.
  8. Network/connect. If it happens, it happens; if not, I'm fine without it.

I'm sure everyone has their own criteria and there's probably someone with the exact opposite list writing a blog post right now about how they went to a game jam and ran into someone who spent all his time socializing and coding and didn't even bring business cards to hand out.

I certainly met some cool people, saw some really neat games, and even got a few business cards from other local developers and artists. The other things? Well... maybe next time. I was looking at the team I was on and the other teams and it seems like there's three things you need to do to accomplish the things on my list:
  • Pick an acceptable team
  • Pick an acceptable idea
  • Contribute

Notice I said "acceptable" team and idea. Not even "great", not even "good", just acceptable. You only have a few hours and everyone there will be quite impressed if your game is a slight variation of "avoid the red squares and collide with the green squares."

If those three things can make a gam jam experience good, then I suppose the opposite would probably lead to a less fun time:
  • Actively break up the team
  • Push or accept an idea that totaly misses the point of a game jam
  • Contribute nothing but your dumb idea

Yup, those were the three things I ran into. I suppose I should have stepped up and tried to keep the team together, make sure we we're doing something worth doing, and make sure everyone had something to do. So, if you're the proactive type of person, the three things you really need to do to prevent someone from sabotaging your efforts to accomplish the things on my list are:
  • Pick (and maintain) an acceptable team
  • Pick (and maintain) an acceptable idea
  • Contribute (and help others)

Here's another list of random observations:
  • UnityScript sucks. Not thoroughly statically typed, not thoroughly dynamically typed. If you have to explicitly cast every time you get something from an array then your language has the worst of both worlds. And that's the easy way. I had to sum an array of floats and since floats are primitive, I couldn't cast them. I looked online for about 15 minutes and in the end, I had to convert the object to a string then parse it as a float.
  • Pick a team you can quickly get started with. When you only have 6 hours you don't want to spend the first 2.5 hours downloading and setting up Unity and Dropbox.
  • Teams that stick to the spirit of game jam do better than people sitting near each other half-working toward a dumb idea.
  • Dropbox sharing made integration easy but also more painful: you constantly get updates in the background but when someone is stuck on a compiler error or obvious bug, everyone knows within thirty seconds. Ultimately, instant feedback, and help from others, was a better way of maintaining progress on such a short iteration.
  • Control-z is good enough version control if you're only programming for one session.
  • Unity may be better for weeklong or monthlong jams, but not good at all for 6 hour jams. The best games used Flixel.
  • Working in teams would be better without all the other people. I really hate to say it but I've never been a fan of teamwork and it rarely works out. Sometimes it does, but the end results are mostly beyond my influence and usually disappointing. It always reminds me of high school group projects.
  • Whatever you create is going to be buggy and incomplete and almost certainly not even fun. That's ok. Everyone there is in the same situation and we're all there to have a good time. There was definitely an air of cooperation and support. It was fun and strangely adventurous to see what so many small groups of people could come up with under such constraints.


I still plan on going to the next game jam in my area - I'm just going to do it differently.

Monday, July 23, 2012

Topphimtuan Blogger Templates

Topphimtuan Blogger Templates - Templates sử dụng làm site xem phim online .

Templates đã tích hợp sãn bản AncMedia Edition hộ trợ play khá nhiều server .
Nếu ai mới tham gia blogger vui lòng Xem hướng dẫn tại đây để hiểu cách sử dụng.

Để nhìn chuyên nghiệp hơn ở trang chủ và tranh nhãn mình gắn ảnh vào thumb phim thông qua các nhãn tương đương : Phim HD, Phim cấp 3, Phim Hot và Trailer .
Bạn có thể dễ dàng sửa đổi ảnh và nhãn cho đẹp hơn phù hợp với site phim của bạn

for (var k = 0; k < entry.category.length; k++) {
if (entry.category[k].term == 'Phim Hot') {var getlabel = '<img class="getlabel" src="http://1.bp.blogspot.com/-gpJfdYqKEBY/T-GcIzI5QPI/AAAAAAAAA9s/pId95QnBn8w/s1600/hot.png"/>';}
else if (entry.category[k].term == 'Phim HD') {var getlabel = '<img class="getlabel" src="http://3.bp.blogspot.com/-aAOmhgTEi_E/T-GY9gZ8x4I/AAAAAAAAAn4/bKqiarCFVSI/s1600/hd.png"/>';}
else if (entry.category[k].term == 'Phim cấp 3') {var getlabel = '<img class="getlabel" src="http://3.bp.blogspot.com/-WjhxvORlhgM/T-GfLiLGbKI/AAAAAAAAA-A/YUwLn3b6VNA/s1600/bong%60.png"/>';}
else if (entry.category[k].term == 'Trailer') {var getlabel = '<img class="getlabel" src="http://2.bp.blogspot.com/-GEArVXodrW8/T-Gb8ZU7ZfI/AAAAAAAAA9k/o5TVwiRu8K4/s1600/trailer.png"/>';} }



XEM DEMO DOWNLOAD


Hướng dẫn cài đặt:

- Hiện thị bài đăng ở label tìm http://phim.bay68.com thay bằng tên miền của bạn

- Hiện thị các nhãn Phim chiếu rạp, Phim Lẻ, Phim bộ ... ở trang chủ tìm /feeds/posts/default/-/Phim Chiếu Rạp thay Phim Chiếu Rạp bằng nhãn mà bạn muốn hiện thị

Còn vài thứ cài đặt lung tung như menu, link label ... chắc mọi người có thể tự chỉnh sửa được mình sẽ ko viết hướng dẫn nữa.

Do nhiều người chưa biết cách up phim mình up tạm data của mình lên . các bạn down về import để biết cách post phim nhiều server . Data có 163 phim trong đó có khá nhiều phim cấp 3 , mọi người chú ý trước khi xem

DOWNLOAD DATA PHIM TEST


Chi tiết các server cập nhật và update sẽ được thông báo và fix lỗi ở đây: http://www.bay68.com/2012/08/ancmedia-plugin-ho-tro-play-videos.html

Chúc thành công !

Friday, July 20, 2012

Matxac 2012 Blogger Templates


Templates dành cho các bạn thích làm site nhạc DJ , Rap Việt ...
Matxac 2012 Blogger Templates


XEM DEMO DOWNLOAD


Hướng dẫn cài đặt.
Để thay đổi Menu tìm :
<li><h2><a href='/' title='Home'>Home</a></h2></li>
<li><h2><a href='/search/label/Nonstop' title='Nonstop'>Nonstop</a></h2></li>
<li><h2><a href='/search/label/House Club' title='House club'>House club</a></h2></li>
<li><h2><a href='/search/label/Việt Mixes' title='Việt Mix'>Việt Mix</a></h2></li>
<li><h2><a href='/search/label/Dance Trance' title='Dance - Trance'>Dance Trance</a></h2></li>
<li><h2><a href='/search/label/Producer VN' title='Producer VN'>Producer VN</a></h2></li>
<li><h2><a href='/search/label/Video' title='Videos Clip'>Videos Clip</a></h2></li>

Tìm http://matxac2012-helloximo.blogspot.com thay bằng tên miền của bạn

Để hiện thị icon , , bạn cần thêm nhãn có tên tương tự là New , Hot , Video

Cách post nhạc, đọc bài này: http://www.bay68.com/2012/08/ancmusic-edition-plugin-ho-tro-nghe-nhac.html

Mục Video Dance Remix ở Sidebar vào Cài đặt -> Thiết kế -> chỉnh sửa tiện ích Video Dance Remix chèn vào
<div align="center" class="videox">
<script>document.write("<script src=\"/feeds/posts/default/-/Video?max-results="+5+"&orderby=published&alt=json-in-script&callback=bayvideo\"><\/script>");</script>
</div>

Thêm 1 pic ảnh demo bài viết


Notice: Xin lỗi vì link adf.ly mình chỉ muốn kiếm tiền mua cái domain , được $0.56006 earned rồi mọi người ủng hộ nhé

AncMusic Edition - Plugin hỗ trợ nghe nhạc

Chắc hẳn ai làm blog music và phim hầu như đều quen thuộc với Plugin này.
Chức năng chính của nó là hỗ trợ play nhạc từ zippy, youtube, zing, nhaccuatui ...

Mọi người đều biết Plugin ban đầu suzuki_aka viết khá sơ sài, vì vậy mình sẽ fix và update thêm 1 số tính năng.

+ Hỗ trợ play ở IE
+ Thêm nút download
+ Sử dụng getlink để lấy link nhạc
+ Hỗ trợ add skin
.....

XEM DEMO


Hướng dẫn cài đặt:

Trước hết bạn cần xác định trang item (trang bài viết) của blog , nội dung trang item sẽ được show ra qua thẻ <data:post.body/>
thẻ này được nằm trong <b:includable id='post' var='post'>

Hãy chỉnh sửa thành
<div id='Player'>
<div align='center' id='playing'/>
<data:post.body/>
</div>

Chú ý: <div id='Player'> phải được bao quanh <div align='center' id='playing'/> và <data:post.body/>

<div align='center' id='playing'/> đây là chỗ sẽ hiện thị khung player . bạn hãy đặt vào chỗ muốn hiện thị với giao diện Blog.

Tiếp đó dán đoạn code sau trước thẻ
<script src='http://bay68.googlecode.com/svn/trunk/friends/anc-music.js' type='text/javascript'/>
<script type='text/javascript'>//<![CDATA[
ANCMusic.Player(ANCMusic.up("Player"),"playing");
//]]></script>

Tiếp theo tìm ]]></b:skin> dán code css sau lên trước nó

.buttons li, .buttons li a, .buttons li a span{float:left; height:27px; line-height:26px; background-image:url(http://4.bp.blogspot.com/--2KygnNlFeM/T2AYFzR-6UI/AAAAAAAAA0A/9IevgvlCTXU/s1600/btn.gif); background-position:0 -27px; background-repeat:no-repeat}
.buttons li{margin-right:10px; background-position:0 -54px; background-repeat:repeat-x; float:none; display:inline-block; zoom:1; *display:inline; overflow:hidden}
.buttons{margin:15px 0; overflow:hidden; text-align:center}
.buttons li a span{background-position:right 0px}
.buttons li a span span{padding:0 10px 2px 30px; height:25px}
.buttons li.commentc a span span{background-image:url(http://1.bp.blogspot.com/-kwVsDVPVUoU/T2AYGXgpOsI/AAAAAAAAA0I/1s25xnsMLF8/s1600/btn_cmt.gif); background-position:6px 6px; background-repeat:no-repeat}
.buttons li.download a span span{background-image:url(http://4.bp.blogspot.com/-xDYSsC68aTE/T2AYG7hrFEI/AAAAAAAAA0Q/SCzh4YLDExE/s1600/btn_dl.gif); background-position:6px 3px; background-repeat:no-repeat}
.buttons li.warning a span span{background-image:url(http://3.bp.blogspot.com/-Gn1U34FOgtQ/T2AYHYOzunI/AAAAAAAAA0Y/tiKjCFGM7kM/s1600/btn_err.gif); background-position:6px 3px; background-repeat:no-repeat}
.buttons li a{color:#fff !important}

Sử dụng:
* Cách post nhạc như sau ( Post ở chế độ HTML của blog )

[m]http://www8.zippyshare.com/v/62373339/file.html[/m]
[m]http://www.youtube.com/watch?v=xEsuIB7H8SM[/m]
[m]http://mp3.zing.vn/bai-hat/Quen-Cach-Yeu-Luong-Bich-Huu/ZW607CCF.html[/m]
[m]http://mp3.zing.vn/video-clip/Dung-Buong-Tay-Anh-Ho-Quang-Hieu/ZW6IO8IU.html[/m]
[m]http://www.nhaccuatui.com/mv4u/xem-clip/vku2SkirbZX4h/song-trong-ky-niem-quang-vinh.html[/m]
[m]http://www.nhaccuatui.com/nghe?M=mDBrrZdtFl8t[/m]
[m]http://www.nhaccuatui.com/nghe?L=dlXRd6DGxmNP[/m]

Ví dụ 1 bài:

Nội dung của bài viết của bạn
<!--more-->
[m]http://www21.zippyshare.com/v/6050087/file.html[/m]

Chú ý: Hãy cho <!--more--> vào trước link nhạc . điều này thực sự quan trọng để bạn ko bị rip mất data.
Vào Cài đặt -> Nguồn cấp Trang Web -> Cho phép Nguồn cấp dữ liệu Blog -> Chọn: Cho đến dấu ngắt

DOWNLOAD GETLINK


Do mình không có hosting để lưu trữ file getlink, vì vậy để cho link nhạc hoạt động ổn định bạn nên kiếm 1 hosting hỗ trợ cUrl up getlink nên root hosting của bạn

Vì anh dũng chưa DNS lại nên sẽ có người ko vào được nên mình tạm support tại đây: http://blog.bay68.com

Notice: Xin lỗi vì link adf.ly mình chỉ muốn kiếm tiền mua cái domain , được $0.56006 earned rồi mọi người ủng hộ nhé

Thursday, July 5, 2012

Congly Blogger Theme ( Update )

Do khá nhiều người sử dụng theme này nên mình cập nhật thêm 1 số sửa đổi mà blogger update:
+ Tối ưu tăng tốc độ load
+ Slide bài mới nhất có thêm hình ảnh
+ Fix không lưu được widget ở phần tử trang
+ Sửa widget  nhỏ trang lable ở phần tử trang
+ Thêm thumbnail cho bài viết ở trang nhãn khi không có ảnh
+ Thêm trang Archive cho blog
+ Fix tìm kiếm = tìm kiếm blogger
+ Tạo widget ở sidebar có khung bo viền
+ Sử dụng phân trang mặc đinh
+ Loại bỏ Menu sổ ngang
+ Sử dụng comment phân cấp blogger



Hướng dẫn :
Để sửa đổi theme bạn nên dùng Notepad++ để dễ dàng sử dụng
1. Thay đổi logo tìm:
http://4.bp.blogspot.com/-SvH6xyNEkkY/T-6yaYQGhiI/AAAAAAAABE8/7_aQzYPMao0/s1600/logos.png
thay = link ảnh logo của bạn

2. Thay đổi link menu

<ul class='menu'>
<li><a href='/'><span>Home</span></a></li>
<li><a href='/search/label/Destination'><span>Menu1</span></a></li>
<li><a href='/search/label/Destination '><span>Menu2</span></a></li>
<li><a href='/search/label/Destination '><span>Menu3</span></a></li>
<li><a href='/search/label/Destination  '><span>Menu4</span></a></li>
<li><a href='/search/label/Destination  '><span>Menu5</span></a></li>
<li><a href='/search/label/Destination '><span>Menu6</span></a></li>
<li><a href='/search/label/Destination '><span>Menu7</span></a></li>
<li><a href='/search/label Destination '><span>Menu8</span></a></li>
<li><a href='/search/label/Destination '><span>Menu9</span></a></li>
</ul>

Thay DestinationMenu.. thành các nhãn blog của bạn 

3. Hiện thị các table ở trang chủ



Tìm

<div class='body-home'>
<div class='boxtitle'>
<h2><span class='boxtitle1'/><span class='boxtitle2'><a href='/search/label/Destination' title='Destination'>Destination</a></span>
<span class='boxtitle3'/></h2>
<ul class='subbox'>
<li><a href='/search/label/Menu1'>Menu1</a></li>
<li>|</li>
<li><a href='/search/label/Menu2'>Menu2</a></li>
<li>|</li>
<li><a href='/search/label/Menu3'>Menu3</a></li>
</ul>
</div>
<div class='body-info'>
<script>document.write("<script src=\"/feeds/posts/default/-/Destination?max-results="+7+"&orderby=published&alt=json-in-script&callback=helloximo02\"><\/script>");</script>
</div>
<div style='clear:both;'/>
</div>

Thay chữ in đậm màu đỏ và xanh thành các nhãn của bạn

Và đây là data test nếu blog bạn chưa có bài viết nào
Vào cài đặt và Import là có thể xem demo ngay

Sunday, July 1, 2012

Giải pháp Blogger bị chặn 02/07/2012

Thứ 2 đầu tuần thức dậy đã bị chặn rồi lại ngồi check IP

Demo test thử ok : http://www.topphimtuan.com

or : http://www.helloximo.com


Giải pháp:

Các bạn truy cập Domain Manager xóa hết các Records cũ, rồi DNS tới địa chỉ IP sau là ok

74.125.71.121

Chúc vui vẻ

Popular Posts