Discuz! Board

 

 

Search
Discuz! Board Forum Integration Questions how to use the function "node.bitmap(callback, param ...
View: 1509|Reply: 19
go

how to use the function "node.bitmap(callback, param)"

Rank: 2

Post on 2011-11-7 11:45 |All posts
hello
   I want to get a method of the screenshot , see the API, I found this function, but do not know how to use?

Rank: 4

Post on 2011-11-7 12:18 |All posts
http://papayamobile.com/developer/engine

There are 4 samples there. Please read the Simple Game Demo first. It is a tutorial for beginners. You may get idea about many APIs.

Rank: 2

Post on 2011-11-9 19:11 |All posts
谢谢你提醒,这个问题顺利解决了,不过我又有了一个新的问题,关于联网问题,我不是很清楚,我可以通过http_request(url)方法获得联网的功能吗?如果我要传一个Dict类型的数据给我的服务器,服务器端要怎么解析?

Rank: 2

Post on 2011-11-9 19:25 |All posts
如果我用的是json_request(url, callback, param)的方式,那么服务器端是否就可以以json的数据类型去解析我发送的请求?

Rank: 2

Post on 2011-11-10 15:44 |All posts
在使用http_request(url[, callback[, postargument, timeout, param]])时,我如果用的是

http_request("http://192.168.1.25:8022/a?args="+"1",show);服务器可以给我返回正确的数据,可是如果我用的是

http_request("http://192.168.1.25:8022/a?args=",show,"1");

trace("response_content:  ",response_content);结果发现什么都没有返回,这是怎么回事?难道"1"不应该是传的参数吗?

Rank: 2

Post on 2011-11-10 16:03 |All posts
在使用http_request(url[, callback[, postargument, timeout, param]])时,我如果用的是

http_request("http://192.168.1.25:8022/a?args="+"1",show);服务器可以给我返回正确的数据,可是如果我用的是

http_request("http://192.168.1.25:8022/a?args=",show,"1");

trace("response_content:  ",response_content);结果发现什么都没有返回,这是怎么回事?难道"1"不应该是传的参数吗?

Rank: 2

Post on 2011-11-10 19:34 |All posts
问题解决

Rank: 2

Post on 2011-11-14 21:21 |All posts
请问如何处理加好友的请求呢?有没有相应的函数是处理这类事件的?在api中暂没有找到。
只看到了发送好友请求的函数,如果别人发给我好友请求时,怎样处理?

Rank: 4

Post on 2011-11-15 13:29 |All posts
游戏里不提供接口,得去社区里接受请求

Rank: 2

Post on 2011-11-15 19:26 |All posts
恩,非常感谢
Security Q&A Change Security code Change

Archiver|Comsenz Inc.

All time is GMT+8, 2013-5-25 12:55 , Processed in 0.032491 second(s), 10 queries .

Powered by Discuz! X1.5

© 2001-2010 Comsenz Inc.