现在将重新制定一个camera摄像机。可以自由移动。
比如前进 后退,上游 下潜。 各个方向渲染之类的。
首先设置按键。
这个时候需要在
XWindow.h 里面
bool XWindow::frame()
{
	//判断是否按下ESC键
	if(x_input->isKeyDown(VK_ESCAPE))
		return false;
	//如果A,S,D,W,Q,E,Z,X,C键按...
                            
                            
                                分类:
移动开发   时间:
2014-10-09 02:36:17   
                                阅读次数:
271
                             
                    
                        
                            
                            
                                Code Path:
https://github.com/bluesilence/Lisp/blob/master/clojure/projects/room-escape/src/room_escape/core.clj
E2E Process
Now it's time to put the stuff altogether.
The body of the core c...
                            
                            
                                分类:
Web程序   时间:
2014-10-05 18:36:28   
                                阅读次数:
191
                             
                    
                        
                            
                            
                                Based on the draft, the data models can be built of 3 major units:
1. Room...
                            
                            
                                分类:
Web程序   时间:
2014-10-05 17:54:18   
                                阅读次数:
215
                             
                    
                        
                            
                            
                                Code path:
https://github.com/bluesilence/Lisp/tree/master/clojure/projects/room-escape
As I have been a fan of room-escape games, there have always been a desire to make my own story of a roo...
                            
                            
                                分类:
Web程序   时间:
2014-10-05 17:44:38   
                                阅读次数:
269
                             
                    
                        
                            
                            
                                Code Path:
https://github.com/bluesilence/Lisp/blob/master/clojure/projects/room-escape/src/room_escape/script.clj
Extract Story to TXT
In order to move the story from .clj into .txt, I lever...
                            
                            
                                分类:
Web程序   时间:
2014-10-05 17:36:38   
                                阅读次数:
214
                             
                    
                        
                            
                            
                                Problem Description
Everyone knows Matt enjoys playing games very much. Now, he is playing such a game. There are N rooms, each with one door. There are some keys(could be none) in each room corres...
                            
                            
                                分类:
其他好文   时间:
2014-10-04 20:38:27   
                                阅读次数:
234
                             
                    
                        
                            
                            
                                老老实实mysql_real_escape_string()防作死......is_numeric的SQL利用条件虽然有点苛刻,但还是少用的好= =某CTF中亦有实测案例,请戳http://drops.wooyun.org/tips/870一、is_numberic函数简介国内一部分CMS程序里面有...
                            
                            
                                分类:
数据库   时间:
2014-10-03 21:25:25   
                                阅读次数:
370
                             
                    
                        
                            
                            
                                Struts2标签1. 通用标签 1.1 //正常取值userName的值 //'userName'是一个字符串,直接输出userName //设置一个默认值 '" escape="true"/> //设置html,escape默认是ture,可以将html代码解析成字符串...
                            
                            
                                分类:
其他好文   时间:
2014-10-02 21:31:53   
                                阅读次数:
189
                             
                    
                        
                            
                            
                                这些URI方法encodeURI、encodeURIComponent()、decodeURI()、decodeURIComponent()代替了BOM的escape()和unescape()方法。URI方法更可取,因为它们对所有Unicode符号编码,而BOM方法只能对ASCII符号正确编码。尽....
                            
                            
                                分类:
编程语言   时间:
2014-09-30 10:48:46   
                                阅读次数:
226
                             
                    
                        
                            
                            
                                Qt快捷键 映射"Esc",/*Qt::Key_Escape 0x01000000 */"Tab",/*Qt::Key_Tab 0x01000001 */"Shift+Tab",/*Qt::Key_Backtab 0x01000002 */"BackSpace",/*Qt::Key_Backspac...
                            
                            
                                分类:
其他好文   时间:
2014-09-29 17:49:21   
                                阅读次数:
333