- 浏览: 131756 次
- 性别:
- 来自: 大连
最新评论
-
datawarehouse:
datawarehouse 写道ngix 淘宝是基于这个开发了 ...
解密淘宝网的开源架构 -
datawarehouse:
ngix 淘宝是基于这个开发了一个自己的webserver吧。 ...
解密淘宝网的开源架构 -
eyelock:
我运行报错,,楼主能解答一下G,对swing不熟。
raphi ...
假期没事,写了个90行的俄罗斯方块,Java实现,史上最小巧 -
lostsky_11:
楼主写出例子了么?物理碰撞部分可能跟你说的差不多渲染部分可以搜 ...
Where is my water 游戏算法 -
xouou_53320:
都是牛人
假期没事,写了个90行的俄罗斯方块,Java实现,史上最小巧
文章列表
Symbian中的图片主要两种:程序图标(像Win里的桌面图标和程序左上角的图标),界面用到的图片(各种美化用的图片)。
1.图标的使用
利用PhotoShop,画图等图片编辑工具,分别制作24*24,32*32,24*24三种大小的图片(Symbian中各种视图显示用),需要设置成透明的部分用一种颜色填充(最好能与要显示的部分区别开来),最后存储为.BMP格式。
启动AIFBuilder,选择New新建一个工程,选择Action->create mbm,出现一个新的界面,有三个标签分别对应三种分辨率;在每个标签里分别选择File->load载入相应大小的图片,这时左面的编辑区显 ...
- 2008-07-17 21:03
- 浏览 3826
- 评论(0)
一个名叫Sid的男人,狂热地爱好拍摄、保存和整理照片。Sid的妻子名叫Debbie,他们有三个儿子Logan、Archie和Chuck。他有一所很大的房子,同住的有男管家Simon和女仆Pam。我将介绍他的家庭、他的房子和他的爱好:拍摄、收集和炫耀 ...
- 2008-07-15 20:18
- 浏览 846
- 评论(0)
InputSystem例子掩饰了如何在程序中输入文字
#include <stdio.h>
#include <JGE.h>
#include <JRenderer.h>
#include <JLBFont.h>
#include <JInputSystem.h>
#include <JGBKFont.h>
#include "GameApp.h"
//------------------------------------------------------------ ...
- 2008-07-14 20:50
- 浏览 1020
- 评论(0)
HGEParticles这个例子很BT 模仿WindowsMediaPlayer的效果 跟随mp3的播放的波形来显示一些特效
暂时没怎么看明白 慢慢解析
GameApp.h
#ifndef _GAMEAPP_H_
#define _GAMEAPP_H_
#include <JApp.h>
class hgeParticleSystem;
class JTexture;
class JQuad;
class hgeFont;
class JMusic;
class GameApp: public JApp
{
public:
GameApp( ...
- 2008-07-14 20:50
- 浏览 1012
- 评论(0)
HGEDistortionMesh例子应用了HGE包中的内容 用来对图片进行扭曲变形处理
#include <stdio.h>
#include <JGE.h>
#include <JRenderer.h>
#include <JLBFont.h>
#include <hge/hgedistort.h>
#include <hge/hgefont.h>
#include "GameApp.h"
//--------------------------------- ...
- 2008-07-14 20:49
- 浏览 1642
- 评论(0)
3D例子显示一个Cube和一个人物 不断旋转 具体底部底层API没有列出 只注视了每个语句的含义 显示了3D的大概逻辑流程
#include <stdio.h>
#include <JGE.h>
#include <JRenderer.h>
#include <JLBFont.h>
#include <JSprite.h>
#include <JOBJModel.h>
#include "GameApp.h"
#include <JMD2Model.h>
...
- 2008-07-14 20:48
- 浏览 1193
- 评论(0)
PSP程序开发例子解析(八)Animator
- 博客分类:
- 游戏开发
GameApp.cpp
#include <stdio.h>
#include <JGE.h>
#include <JRenderer.h>
#include <JResourceManager.h>
#include <JAnimator.h>
#include "GameApp.h"
GameApp::GameApp()
{
mResourceMgr = NULL;
mLeft = NULL;
mRight = NULL;
mCurr = NULL;
}
...
- 2008-07-14 20:48
- 浏览 921
- 评论(0)
显示中文 加载点阵文件 没啥说的 就是不清楚点阵文件是哪来的= =!
#include <stdio.h>
#include <JGE.h>
#include <JRenderer.h>
#include <JLBFont.h>
#include <JGBKFont.h>
#include <JSoundSystem.h>
#include <JTTFont.h>
#include <Encoding.h>
#include "GameApp.h"
...
- 2008-07-14 20:46
- 浏览 929
- 评论(0)
按照Windows的ttf字体显示文字。。跑不起来 略
#include <stdio.h>
#include <JGE.h>
#include <JRenderer.h>
#include <JLBFont.h>
#include <JGBKFont.h>
#include <JSoundSystem.h>
#include <JTTFont.h>
#include <Encoding.h>
#include "GameApp.h"
GameA ...
- 2008-07-14 20:45
- 浏览 1032
- 评论(0)
绘制各种形状 无话可说
#include <stdio.h>
#include <JGE.h>
#include <JRenderer.h>
#include <JLBFont.h>
#include "JAssert.h"
#include "GameApp.h"
//-------------------------------------------------------------------------------------
// Constructor. ...
- 2008-07-14 20:44
- 浏览 886
- 评论(0)
第四个例子讲述了曲线的作用 制作一些RoadPoint时 会用到 让一个图片对象按照曲线运行
代码如下GameApp.cpp:
#include <stdio.h>
#include <JGE.h>
#include <JRenderer.h>
#include <JLBFont.h>
#include <JSpline.h>
#include <JGameObj ...
- 2008-07-14 20:38
- 浏览 925
- 评论(0)
太晚了 明天再写 弄个res文件没找到 换了个工程 copy源码过去 好用了...依然很简单 估计后面难度陡然增大
第三个例子依然非常简单 把所有的图片相关资源用资源管理器来统一处理
#include <stdio.h>
#include <JGE.h>
#include <JRenderer.h>
#include <JLBFont.h>
#include <JResourceManager.h>
#include "GameApp.h"
GameApp::GameApp() ...
- 2008-07-14 20:38
- 浏览 929
- 评论(0)
第二个例子程序演示了如何在屏幕上绘制图片 附上源码 变化不大 很简单的几句代码搞定了
1.头文件GameApp.h
#ifndef _GAMEAPP_H_
#define _GAMEAPP_H_
#include <JApp.h>
class JQuad;//JQuad定义了图片上的显示范围 比如很多的小图 ...
- 2008-07-14 20:37
- 浏览 1115
- 评论(0)
今天晚上把PSP的开发环境搭建了起来 并且看了看PSP的HelloWorld 下面是介绍
开发环境搭建及Helloworld分析
具体需要下载的东西及详细配置在:
http://www.itshaik.com/bbs/thread-2385-1-1.html
1.PSPSDK
最新SVN编译版本+MSYS+GCC完整打包
官方地址
http://www.pspsp.org/main/?page_id=8
下载链接
http://www.aeolusc.com/down/PSPSDK_MSYS_FULL.7z
2.JGE++
PSP上的2D硬件加速的开发引擎
官 ...
Rete匹配算法是一种进行大量模式集合和大量对象集合间比较的高效方法,通过这种方法找出所有匹配各个模式的对象。
Rete算法以牺牲内存换取高速的策略
Rete算法分为两个部分:规则编译(rule compilation ...