JP2997601B2 - Pseudo multiple scroll method by color change - Google Patents

Pseudo multiple scroll method by color change

Info

Publication number
JP2997601B2
JP2997601B2 JP14671192A JP14671192A JP2997601B2 JP 2997601 B2 JP2997601 B2 JP 2997601B2 JP 14671192 A JP14671192 A JP 14671192A JP 14671192 A JP14671192 A JP 14671192A JP 2997601 B2 JP2997601 B2 JP 2997601B2
Authority
JP
Japan
Prior art keywords
color
scrolling
screen
background
pseudo
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.)
Expired - Fee Related
Application number
JP14671192A
Other languages
Japanese (ja)
Other versions
JPH05313624A (en
Inventor
幹郎 植山
Original Assignee
株式会社ハドソン
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 株式会社ハドソン filed Critical 株式会社ハドソン
Priority to JP14671192A priority Critical patent/JP2997601B2/en
Publication of JPH05313624A publication Critical patent/JPH05313624A/en
Application granted granted Critical
Publication of JP2997601B2 publication Critical patent/JP2997601B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はコンピュータゲームに用
いるスクロールに関する。とくにVRAMの背景画面が
1枚しか持たないシステムにおいて効果的な方法に関す
る。
BACKGROUND OF THE INVENTION The present invention relates to scrolls used in computer games. Particularly, the present invention relates to an effective method in a system having only one background screen of a VRAM.

【0002】[0002]

【従来の技術】従来、家庭用コンピュータゲーム機では
通常、背景画面は1枚しかないものが多い。このような
機種では複数の画面を重ね合わせて多重スクロールさせ
ることができない。
2. Description of the Related Art Conventionally, many home computer game machines usually have only one background screen. In such a model, a plurality of screens cannot be overlapped to perform multiple scrolling.

【0003】[0003]

【発明が解決しようとする課題】それでも、横方向への
スクロールはドット単位で行えるために、画面を水平方
向に何分割かさせ、多重スクロールさせることができ
る。しかし、縦方向ではラスタ単位のスクロールしか行
えないために、縦方向に画面を何分割かして多重スクロ
ールすることができない。その結果、動きの速さを変え
ることによって変化に富んだ動画面を作ることが難しか
った。
However, since scrolling in the horizontal direction can be performed in dot units, the screen can be divided into several parts in the horizontal direction and multiple scrolling can be performed. However, since scrolling can be performed only in raster units in the vertical direction, the screen cannot be divided into several parts in the vertical direction to perform multiple scrolling. As a result, it was difficult to create a variety of moving images by changing the speed of movement.

【0004】本発明はこのような1枚の背景画面しか持
たない家庭用コンピュータゲーム装置において、あたか
も複数の画面があるかのように表現するために、縦方向
に疑似多重スクロールをさせる方法を目的とする。
An object of the present invention is to provide a method for performing pseudo multiple scrolling in the vertical direction in such a home computer game apparatus having only one background screen in order to represent as if there are a plurality of screens. And

【0005】[0005]

【課題を解決するための手段】本発明に用いる家庭用コ
ンピュータゲーム装置では、スムーズスクロールはバッ
クグランド(背景)を水平と垂直のいずれの方向にも行
える。
In the home computer game machine used in the present invention, smooth scrolling can be performed on the background in both horizontal and vertical directions.

【0006】水平スムーズスクロールはドット単位に行
えるから、ラスタラインを複数に分割した多重スクロー
ルが可能である。ところが垂直スムーズスクロールはラ
スタ単位にしか行えないために、縦方向に画面を分割し
た多重スクロールは行えない。
[0006] Since horizontal smooth scrolling can be performed in dot units, multiple scrolling in which a raster line is divided into a plurality of lines can be performed. However, since vertical smooth scrolling can be performed only in raster units, multiple scrolling in which the screen is divided in the vertical direction cannot be performed.

【0007】VRAMに背景画面を何枚も持っているシ
ステムでは、それぞれの画面を別々に動かせばよいが、
家庭用コンピュータゲーム機ではコスト上、このような
VRAMを用意することが難しい。そこで縦方向に多重
スクロールさせるには、何らかの方法で、あたかも多重
スクロールをしているように見せる必要がある。いわゆ
る、疑似多重スクロールが必要となるわけである。
In a system having many background screens in VRAM, it is sufficient to move each screen separately.
In a home computer game machine, it is difficult to prepare such a VRAM due to cost. Therefore, in order to perform multiple scrolling in the vertical direction, it is necessary to make it appear as if multiple scrolling is performed in some way. That is, a so-called pseudo multiple scroll is required.

【0008】ネオンサインのなかには、電球を下から順
に上に点灯していき、その後を追うように下の電球を消
していく方式のものがある。これを人の目で見ると、あ
たかも下から上に明りが動いているように見える。本発
明では、この原理を利用する。
[0008] Among neon signs, there is a method in which a light bulb is turned on in order from the bottom and the light bulb below is turned off so as to follow the light. To the human eye, it looks as if the light is moving from bottom to top. The present invention utilizes this principle.

【0009】コンピュータではディスプレイの点(ドッ
ト)を光らせることによって画像を作る。しかも、色つ
きである。本発明では、この色を順次変化させることに
よって動きを出そうというものである。その原理を説明
するまえに、色を表示するコンピュータゲーム装置での
手順を示す。
In a computer, an image is created by illuminating a dot on a display. Moreover, it is colored. In the present invention, it is intended to make a motion by sequentially changing the color. Before explaining the principle, a procedure in a computer game apparatus for displaying colors will be described.

【0010】背景はVRAMのBATとCGによって管
理され、この内容が画面に表示される。図1はBATと
CGの個々のレコードの構成と、つながりを示してい
る。BATのレコードはCG COLORとキャラクタ
コードの2項目とからなり、CGは文字パターンを示す
ビットマップ4面で構成されている。
[0010] The background is managed by the BAT and CG of the VRAM, and the contents are displayed on the screen. FIG. 1 shows the structure and connection of individual records of BAT and CG. The BAT record is composed of two items, CG COLOR and character code, and CG is composed of four bitmaps showing character patterns.

【0011】キャラクタコードはCGのアドレスを示し
ており、このアドレスからCGのレコード位置がわか
る。CGのレコードには8×8ドット構成の図形パター
ンが4面で構成されている。これらの面を順にCH0、
CH1、CH2、CH3と名付ける。
The character code indicates the address of the CG, from which the record position of the CG can be known. The CG record has a graphic pattern of 8 × 8 dots on four sides. These planes are called CH0,
Named CH1, CH2, CH3.

【0012】図2に示すようにBATのCG COLO
RとCGのCH0ーCH3は、ビデオディスプレイコン
トローラVDC内のシフトレジスタに設定される。
[0012] As shown in FIG.
CH and CH3 of R and CG are set in a shift register in the video display controller VDC.

【0013】この内容はさらにビデオデータ出力ポート
VD0ーVD8に送られる。CGCOLORはVD4ー
VD7に、CH0ーCH3はVD0ーVD3にそれぞれ
セットされる。VD0ーVD8のデータはカラーパレッ
ト(カラーテーブルRAM)と突き合わされて、カラー
画像データに変えられ、ビデオカラーエンコーダに送ら
れる。
The contents are further sent to video data output ports VD0-VD8. CGCOLOR is set to VD4-VD7, and CH0-CH3 is set to VD0-VD3. The data of VD0-VD8 is matched with a color palette (color table RAM), converted into color image data, and sent to a video color encoder.

【0014】さらにVCEがTV画像用のRGB信号と
映像色信号に変えてテレビ画面へ転送すると、最終的な
画像がテレビ画面に表示される。
Further, when the VCE converts the RGB signals and the video color signals for the TV image and transfers them to the television screen, the final image is displayed on the television screen.

【0015】なお、カラーパレットは図3のような構造
をしている。背景を扱うときは、VD8は0と設定され
ているから、VD4ーVD7の値からバックグランドの
ブロックが選択でき、さらにVD0ーVD3の値からブ
ロック内のドットカラーが抽出できる。VD4ーVD7
のおおもとの値はCG COLORであり、VD0ーV
D3のそれはCH0ーCH3である。
The color palette has a structure as shown in FIG. When dealing with a background, VD8 is set to 0, so that a background block can be selected from the value of VD4-VD7, and the dot color in the block can be extracted from the value of VD0-VD3. VD4-VD7
Is the original value of CG COLOR, and VD0−V
That of D3 is CH0-CH3.

【0016】以上の処理はコンピュータゲーム装置のシ
ステムが自動的に行うので、ユーザープログラムではV
RAMとカラーパレットをあらかじめ準備しておくだけ
でよい。
The above processing is automatically performed by the system of the computer game machine.
It is only necessary to prepare a RAM and a color palette in advance.

【0017】図3で示したように、BATレコードのC
G COLORは、カラーパレット中の16個ブロック
のうちのどれか1つを選択するのに使われる。すなわ
ち、CG COLORの値を変えれば、色のパターンが
変えられことになる。
As shown in FIG. 3, C in the BAT record
G COLOR is used to select any one of the 16 blocks in the color palette. That is, by changing the value of CG COLOR, the color pattern can be changed.

【0018】CG COLORは0ー15(16進数で
0ーF)の値をセットするだけでよいから、いたって簡
単である。そこで本発明では、あからじめカラーパレッ
トのパターンをいくつか用意しておき、順次このカラー
パターンを変えていくこと(プログラム上はCG CO
LORの設定)によって、あたかも画面スクロールが行
われているかのように見せようというものである。
CG COLOR is very simple because it only requires setting a value of 0-15 (0-F in hexadecimal). Therefore, in the present invention, several patterns of the color palette are prepared in advance, and these color patterns are sequentially changed (CG COP
(LOR setting) to make it appear as if screen scrolling is being performed.

【0019】しかも、これを行う範囲を限定すれば、特
定の箇所だけが動いて見える。さらに垂直方向のスムー
ズスクロールと、特定の縦列の疑似スクロールとを組合
せて行えば、疑似多重スクロールが実現し、あたかも複
数の背景画面があるかのように見せることができる。
Moreover, if the range in which this is performed is limited, only a specific portion appears to move. Furthermore, if a combination of vertical smooth scrolling and a specific column of pseudo scrolling is performed, pseudo multiple scrolling is realized, and it is possible to make it appear as if there are a plurality of background screens.

【0020】[0020]

【実施例】以下本発明の方法に付いて具体的な例に基づ
いて説明する。画面を縦方向に3分割し、分割した中央
の列のカラーチェンジによる疑似スクロールと、全体の
縦方向ズムーズスクロールと組み合わせて、多重スクロ
ールをさせる例について説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The method of the present invention will be described below based on specific examples. An example will be described in which the screen is divided into three in the vertical direction, and multiple scrolling is performed in combination with pseudo scrolling by color change in the divided central row and overall smoothing scrolling in the vertical direction.

【0021】図4は、背景の1キャラクタのドット構成
を色別に表した例である。上から2行(16ドット)単
位に同じ色を表すパターンカラー番号にしているから、
1キャラクタは最大4色の横縞模様になる。
FIG. 4 shows an example in which the dot configuration of one character in the background is represented by color. Since the pattern color numbers represent the same color in units of two rows (16 dots) from the top,
One character has a horizontal stripe pattern of up to four colors.

【0022】このキャラクタが画面いっぱいに埋められ
ているとすれば、画面全体が最大4色の横縞模様にな
る。「最大4色」と記述したのは、色の決定はカラーパ
レットの内容を見ないとその内容が確定しないからであ
る。
Assuming that this character is buried in the entire screen, the entire screen has horizontal stripes of up to four colors. The reason for describing “up to four colors” is that the color is determined only by looking at the contents of the color palette.

【0023】まず、カラーパレットのブロック0、1、
2、3にそれぞれ次のように色を設定しておく。 ブロック0:黒、赤、白、緑、黄、・・・ ブロック1:黒、白、緑、黄、赤、・・・ ブロック2:黒、緑、黄、赤、白、・・・ ブロック3:黒、黄、赤、白、緑、・・・
First, color palette blocks 0, 1,
Colors are set for the two and three as follows. Block 0: black, red, white, green, yellow,... Block 1: black, white, green, yellow, red,... Block 2: black, green, yellow, red, white,. : Black, yellow, red, white, green, ...

【0024】このブロックはBATのCG COLOR
項目で選択できるので、CG COLORの値を順次、 0、1、2、3、0、1、2、3、0、1、・・・・・
・ と指定していけば、ブロックに対応した16通りのパタ
ーンカラーが順次変わる。
This block is the BAT CG COLOR
Since items can be selected, the value of CG COLOR is sequentially set to 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, ...
If you specify, the 16 pattern colors corresponding to the block will change sequentially.

【0025】すなわち、図4で定義したキャラクタの色
が決まり、図5で示すような色の変化が見られる。これ
が繰り返し画面表示すると、模様が画面下から上に動い
ているように見える。
That is, the color of the character defined in FIG. 4 is determined, and the color changes as shown in FIG. 5 are observed. When this is repeatedly displayed on the screen, the pattern appears to move upward from the bottom of the screen.

【0026】この操作を3分割した中央部のキャラクタ
群に対して行うと、画面中央部だけが動いて見える。さ
らに下向きにスムーズスクロールを加えると、両端の画
面はズムーズスクロールと同じ速度で下向きに動き、中
央部の画面はスムーズスクロールの速さと疑似スクロー
ルの速さを差し引いた速さでスクロールしているように
見える。
When this operation is performed on the character group in the central portion divided into three, only the central portion of the screen appears to move. If you add smooth scrolling further downward, the screens at both ends move downward at the same speed as the smooth scroll, and the screen at the center scrolls at the speed obtained by subtracting the speed of the smooth scroll and the speed of the pseudo scroll. appear.

【0027】これを画面上で見ると、あたかも2つの背
景画面が存在しているかのように見える。
When this is viewed on the screen, it looks as if two background screens exist.

【0028】[0028]

【発明の効果】本発明では、カラーパレットにあらかじ
め疑似スクロールに必要なパターンカラーを用意してお
き、BATのCG COLORの値だけを変えるだけ
で、疑似的に多重スクロールを可能にしている。
According to the present invention, a pattern color necessary for pseudo scrolling is prepared in a color palette in advance, and only the value of CG COLOR of the BAT is changed to enable pseudo multiple scrolling.

【0029】したがって簡単なプログラムで疑似スクロ
ールが行える。また、スムーズスクロールと組み合わせ
ることによって、1枚の背景用VRAMがあたかも複数
枚あるかのように、多重スクロールが表現できる。
Therefore, pseudo scrolling can be performed with a simple program. Also, by combining with smooth scrolling, multiple scrolling can be expressed as if there were a plurality of background VRAMs.

【0030】このカラーチェンジの方法は、疑似多重ス
クロールのみならず、背景の色を瞬間的に変えたり、ま
た斜め方向に背景がスクロールしているかのように表現
することも可能である。さらに一色の背景(1ブロック
の色指定をすべて同じにしておけば可能)から、特定な
絵を浮き上がらせることもできるなどの効果がある。
This color change method can be used not only for pseudo-multiple scrolling, but also for instantaneously changing the color of the background or for expressing the background as if it is scrolling diagonally. Further, there is an effect that a specific picture can be raised from a one-color background (all colors can be specified for one block).

【図面の簡単な説明】[Brief description of the drawings]

【図1】コンピュータゲーム装置のVRAM上のBAT
とCGの構成を示す図である。
FIG. 1 is a BAT on a VRAM of a computer game device.
FIG. 3 is a diagram showing a configuration of a CG.

【図2】コンピュータゲーム装置において、BATとC
Gからシフトレジスタにドットパターンを設定するまで
の、制御とデータの流れを示した図である。
FIG. 2 shows BAT and C in a computer game device.
FIG. 9 is a diagram illustrating a flow of control and data from G to setting a dot pattern in a shift register.

【図3】コンピュータゲーム装置におけるカラーパレッ
ト(カラーテーブルVRAM)とビデオデータ出力ポー
ト(VD0ーVD8)との関係を示す図である。
FIG. 3 is a diagram showing a relationship between a color palette (color table VRAM) and video data output ports (VD0-VD8) in the computer game device.

【図4】本発明の一実施例でのキャラクタのドットパタ
ーンを示す図である。
FIG. 4 is a diagram illustrating a dot pattern of a character according to an embodiment of the present invention.

【図5】本発明の一実施例におけるCG COLORの
値と表示色との関連を実例で示した図である。
FIG. 5 is a diagram illustrating the relationship between the value of CG COLOR and the display color according to an embodiment of the present invention.

【図6】本発明の一実施例における画面を3分割して疑
似多重スクロールを示す図である。
FIG. 6 is a diagram showing a pseudo multiple scroll by dividing a screen into three parts in one embodiment of the present invention.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−111291(JP,A) 特開 昭63−193180(JP,A) 特開 平2−22697(JP,A) 特開 平2−58095(JP,A) 特開 平2−152380(JP,A) 特開 平3−67297(JP,A) (58)調査した分野(Int.Cl.7,DB名) G09G 5/34 G09G 5/06 A63F 9/22 G06F 15/44 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-60-111291 (JP, A) JP-A-63-193180 (JP, A) JP-A-2-22697 (JP, A) JP-A-2- 58095 (JP, A) JP-A-2-152380 (JP, A) JP-A-3-67297 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G09G 5/34 G09G 5 / 06 A63F 9/22 G06F 15/44

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 VRAMのバックグラウンドテーブルと
キャラクタジェネレータによって管理され、かつカラー
パレットにより発色を指定するスムーススクロール可能
な1枚の背景を備えたコンピュータゲーム装置におい
て、スムーズスクロールを行うと共に、あらかじめカラ
ーパレットを順次変えることによって同色の点が隣接位
置に移動する疑似スクロールパターン領域を準備してカ
ラーパレットを順次変えることを特徴とするカラーチェ
ンジによる疑似多重スクロール方法。
1. A computer game device which is managed by a background table of a VRAM and a character generator, and has one smooth scrollable background for designating a color by a color palette. And a color pallet is sequentially changed by preparing a pseudo scroll pattern area in which dots of the same color move to adjacent positions by sequentially changing the color palette.
JP14671192A 1992-05-12 1992-05-12 Pseudo multiple scroll method by color change Expired - Fee Related JP2997601B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14671192A JP2997601B2 (en) 1992-05-12 1992-05-12 Pseudo multiple scroll method by color change

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14671192A JP2997601B2 (en) 1992-05-12 1992-05-12 Pseudo multiple scroll method by color change

Publications (2)

Publication Number Publication Date
JPH05313624A JPH05313624A (en) 1993-11-26
JP2997601B2 true JP2997601B2 (en) 2000-01-11

Family

ID=15413814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14671192A Expired - Fee Related JP2997601B2 (en) 1992-05-12 1992-05-12 Pseudo multiple scroll method by color change

Country Status (1)

Country Link
JP (1) JP2997601B2 (en)

Also Published As

Publication number Publication date
JPH05313624A (en) 1993-11-26

Similar Documents

Publication Publication Date Title
US4763118A (en) Graphic display system for personal computer
JP2997601B2 (en) Pseudo multiple scroll method by color change
CN1146118A (en) Colour picture apparatus for displaying hue control state ons creen
CA2077945C (en) Method for scrolling images on a screen
JPH0767136B2 (en) Image processing device
JPH07210139A (en) Method for displaying high speed animation in all pictures
JPH07210142A (en) Method for displaying picture
JP2001113039A (en) Game machine and data processing method for game machine
JPH0367297A (en) Image display
JP3257925B2 (en) Translucent color image generation device
JPH06180573A (en) Image forming method
JPH0651748A (en) Formation of character
JPH0924143A (en) Liquid crystal display device for pachinko machine
JPS6118549Y2 (en)
JPS62198895A (en) Half tone color processor
JP2708062B2 (en) Star screen creation device
JPH06180565A (en) Computer game device
JP2943495B2 (en) LSI for on-screen display
JPH0683320A (en) Sprite control method
JPH09205597A (en) On-screen display device
JPH0736430A (en) Color display palette control circuit
JPH0792948A (en) Sprite picture generating method
JPH04342083A (en) Device for generating simulated sight signal
JPH0675556A (en) Sprite display method
JPH0622235A (en) Tv picture control method

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees