CN101631158A - Method for realizing game function of mobile phone by utilizing ambient light sensor - Google Patents

Method for realizing game function of mobile phone by utilizing ambient light sensor Download PDF

Info

Publication number
CN101631158A
CN101631158A CN200910056386A CN200910056386A CN101631158A CN 101631158 A CN101631158 A CN 101631158A CN 200910056386 A CN200910056386 A CN 200910056386A CN 200910056386 A CN200910056386 A CN 200910056386A CN 101631158 A CN101631158 A CN 101631158A
Authority
CN
China
Prior art keywords
mobile phone
ambient light
light sensor
game
game application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910056386A
Other languages
Chinese (zh)
Inventor
吴征
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Wingtech Electronic Technology Co Ltd
Original Assignee
SHANGHAI COOLBAR INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI COOLBAR INFORMATION TECHNOLOGY Co Ltd filed Critical SHANGHAI COOLBAR INFORMATION TECHNOLOGY Co Ltd
Priority to CN200910056386A priority Critical patent/CN101631158A/en
Publication of CN101631158A publication Critical patent/CN101631158A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a method for realizing the game function of a mobile phone by utilizing an ambient light sensor. A game application program and an ambient light sensor are arranged in the mobile phone. The method includes the following steps: S1. After the initialization of the mobile phone is started, the game application program is started; S2. The game application program is linked with the ambient light sensor in the starting process thereof; S3. After a user enters the game, the ambient light sensor senses the change of intensity of external light and then generates data; S4.The game application program decodes and analyzes the data; and S5.The game application program generates corresponding game behavior in the game according to decoding and analysis results. By combining the ambient light sensor with a mobile phone game, the invention realizes the game function of the mobile phone, thereby changing the monotonous feeling of a user on operating the mobile phone.

Description

Mobile phone utilizes ambient light sensor to realize the method for game function
Technical field
The present invention relates to a kind of mobile communication technology, particularly relate to a kind of mobile phone and utilize ambient light sensor to realize the method for game function.
Background technology
The conventional mobile phone recreation all is a carrying platform of mobile phone being used as recreation, the player comes operate game by mobile phone key or touch-screen, mobile phone only is a machine of the recreation performance being given the user like this, it is the user merely is used as mobile phone recreation when operate game carrying platform, mobile phone has only the single operation sense for the user, lack other effect.
Summary of the invention
The technical problem to be solved in the present invention is in order to overcome the defective of prior art, provide a kind of mobile phone to utilize ambient light sensor to realize the method for game function, by the present invention, the entity that mobile phone can become virtual objects such as weapon in the recreation or stage property embodies, and it has changed the single operation sense of mobile phone for the user.
The present invention solves above-mentioned technical problem by following technical proposals: a kind of mobile phone utilizes ambient light sensor to realize the method for game function, it is characterized in that, have game application and ambient light sensor in one mobile phone, this method may further comprise the steps:
After S1, the mobile phone power-on initialization, start game application;
The connection of foundation and ambient light sensor in S2, the game application start-up course;
S3, enter recreation after, produce data after the variation of ambient light sensor induction ambient light line strength;
S4, game application are decoded to data and are analyzed;
S5, game application are according to decoding and analysis result, in the behavior of the inner generation of recreation corresponding game.
Preferably, among the described step S2, when game application starts, the instruction that game application sends and ambient light sensor connects, game application and ambient light sensor connect and begin and play then.
Preferably, described game application is to eliminate bloodsucker's recreation or form recreation.
Positive progressive effect of the present invention is: the present invention realizes the mobile phone games partial function by the combination of ambient light sensor and mobile phone games.The present invention also makes mobile phone have the speciality in the recreation except increasing the enjoyment of user when playing, and increases the cordial feeling that mobile phone itself brings the user simultaneously, makes and produces a kind of communication between mobile phone and the user.
Description of drawings
Fig. 1 realizes the flow chart of the method for game function for mobile phone of the present invention utilizes ambient light sensor;
Flow chart when Fig. 2 starts game application for the present invention.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to describe technical scheme of the present invention in detail.
Have game application and ambient light sensor in the mobile phone, as shown in Figure 1, mobile phone of the present invention utilizes ambient light sensor to realize that the method for game function may further comprise the steps:
Step 1: after the mobile phone power-on initialization, start game application.
Step 2: the connection of foundation and ambient light sensor in the game application start-up course.
Step 3: after entering recreation, produce data (available palm or other overcover influence ambient light sensor) after the variation of ambient light sensor induction ambient light line strength.
Step 4: game application is decoded to data and is analyzed.
Step 5: game application is according to decoding and analysis result, in the behavior of the inner generation of recreation corresponding game, as the recreation behavior of moving, forming, shooting and so on.
After mobile phone loads game application, start the preceding operation that can discern game application of mobile phone games application program, judge whether possess the instruction of the ambient light sensor of activation in the game application, and pass through this instruction activation ambient light sensor.As shown in Figure 2, in step 2, when game application starts, the instruction that game application sends and ambient light sensor connects, game application and ambient light sensor connect and begin and play then.
The present invention can be applied in a lot of recreation, recreation such as a elimination bloodsucker, monster in the game picture---bloodsucker, can be by mobile phone being placed in the strong environment of light, these bloodsuckers will disappear because of " sunlight " irradiation, at this moment, mobile phone just is equivalent to " weapon " in player's mobile phone; Aly for another example form recreation, we just can allow mobile phone in the strong place of light when pet or plant need movable getting sun, in the time of pet or plant needs " sleep ", just can be placed on mobile phone a little less than the light place of a bit, at this moment, mobile phone itself has just become " pet " that the player supported or " plant ", makes the player must feel warm all the more to mobile phone and recreation.
In sum, the present invention breaks through the mode of conventional mobile phone recreation by button or touch screen operate game, utilize the body of mobile phone own as a kind of mode of operation, make user's no longer simple carrying platform of mobile phone being used as recreation when operate game, but allow mobile phone become the media of a connection interaction between user and the recreation, improve the experience sense that the user incorporates recreation greatly.
Though more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, under the prerequisite that does not deviate from principle of the present invention and essence, can make numerous variations or modification to these execution modes.Therefore, protection scope of the present invention is limited by appended claims.

Claims (3)

1, a kind of mobile phone utilizes ambient light sensor to realize the method for game function, it is characterized in that this method may further comprise the steps:
After S1, the mobile phone power-on initialization, start game application;
The connection of foundation and ambient light sensor in S2, the game application start-up course;
S3, enter recreation after, produce data after the variation of ambient light sensor induction ambient light line strength;
S4, game application are decoded to data and are analyzed;
S5, game application are according to decoding and analysis result, in the behavior of the inner generation of recreation corresponding game.
2, mobile phone as claimed in claim 1 utilizes ambient light sensor to realize the method for game function, it is characterized in that, among the described step S2, when game application starts, the instruction that game application sends and ambient light sensor connects, game application and ambient light sensor connect and begin and play then.
3, mobile phone as claimed in claim 1 utilizes ambient light sensor to realize the method for game function, it is characterized in that, described game application is to eliminate bloodsucker's recreation or form recreation.
CN200910056386A 2009-08-13 2009-08-13 Method for realizing game function of mobile phone by utilizing ambient light sensor Pending CN101631158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910056386A CN101631158A (en) 2009-08-13 2009-08-13 Method for realizing game function of mobile phone by utilizing ambient light sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910056386A CN101631158A (en) 2009-08-13 2009-08-13 Method for realizing game function of mobile phone by utilizing ambient light sensor

Publications (1)

Publication Number Publication Date
CN101631158A true CN101631158A (en) 2010-01-20

Family

ID=41576093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910056386A Pending CN101631158A (en) 2009-08-13 2009-08-13 Method for realizing game function of mobile phone by utilizing ambient light sensor

Country Status (1)

Country Link
CN (1) CN101631158A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006360A (en) * 2010-11-04 2011-04-06 浙江大学 Method of controlling mobile game by a plurality of environmental sensors
CN103229490A (en) * 2010-11-26 2013-07-31 Nec卡西欧移动通信株式会社 Mobile terminal, non-ransitory computer-readable medium storing control program therefor, and control method
CN105335024A (en) * 2015-10-15 2016-02-17 广东欧珀移动通信有限公司 Game control method, game control device and mobile terminal
CN106730808A (en) * 2017-01-18 2017-05-31 珠海格力电器股份有限公司 The control method and system of a kind of mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006360A (en) * 2010-11-04 2011-04-06 浙江大学 Method of controlling mobile game by a plurality of environmental sensors
CN103229490A (en) * 2010-11-26 2013-07-31 Nec卡西欧移动通信株式会社 Mobile terminal, non-ransitory computer-readable medium storing control program therefor, and control method
CN105335024A (en) * 2015-10-15 2016-02-17 广东欧珀移动通信有限公司 Game control method, game control device and mobile terminal
CN106730808A (en) * 2017-01-18 2017-05-31 珠海格力电器股份有限公司 The control method and system of a kind of mobile terminal

Similar Documents

Publication Publication Date Title
WO2007081941A3 (en) Character for computer game and method
WO2010135208A3 (en) Method and device for controlling player character dialog in a video game located on a computer-readable storage medium
JP6504425B2 (en) Game machine, game machine, and program for slot machine game
WO2008060728A3 (en) Regulated gaming-virtual display
CN101631158A (en) Method for realizing game function of mobile phone by utilizing ambient light sensor
US20100041479A1 (en) Voice command game controlling apparatus and method of the same
CN104935740A (en) Method for starting vibration motors of mobile terminal and mobile terminal
CN107684720A (en) Game skill generation method and device
CN114618153A (en) Method and device for vibration feedback in game and electronic equipment
Fox et al. Micro Java game development
WO2009006052A3 (en) User creatable machines
JP2021040830A (en) Program, game system, and game management server
CN106232194B (en) Game delivery device, game delivery method, and game delivery program
JP2010063475A (en) Device and method for controlling voice command game
WO2016010024A1 (en) Game providing program, game providing system and game providing method
CN101301526A (en) Electronic playing card game machine and control method for providing game for contesting with landowner
JP2010252860A (en) Input operation device with temperature change, and program using the input operation device
US20160089604A1 (en) Game-providing device and software program for game-providing device
Pace The ways we play, part 2: Mobile game changers
CN110743167A (en) Method and device for realizing interactive function
Coulton Mobilizing gamification
TW202231324A (en) Virtual object control method, device, apparatus, storage medium and program product
US20190336852A1 (en) Device with pressure-sensitive display and method of using such device
JP2006051183A5 (en)
JP2000116955A (en) Icon display control device, command input supporting method, control method, and recording medium storing computer program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: SHANGHAI WENTAI ELECTRONIC SCIENCE + TECHNOLOGY CO

Free format text: FORMER OWNER: SHANGHAI COOLBAR INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20130201

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20130201

Address after: 200001 6B01 room, G District, No. 666, Huangpu District, Shanghai, Beijing East Road

Applicant after: Shanghai Wentai Electronic Science & Technology Co., Ltd.

Address before: 200001, room 816, C District, No. 666, Huangpu District, Shanghai, Beijing East Road

Applicant before: Shanghai Coolbar Information Technology Co., Ltd.

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100120