CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - Rectangle
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - Rectangle - List
[
Other Games
]
n9621
DL : 0
产生3个钉子,可用滑鼠拖曳或用键盘控制一个实心矩形,碰到钉子停止移动,按按 钮可以重玩-Produced three nails can drag the mouse or keyboard control of a solid rectangle, when a nail to stop moving, press the button can be re-play
Date
: 2025-12-16
Size
: 1kb
User
:
attackk
[
Other Games
]
BallCollision
DL : 0
- a good short game describe animation of ball in a rectangle.
Date
: 2025-12-16
Size
: 468kb
User
:
keomut
[
Other Games
]
RobotView
DL : 0
双击RobotView.exe,打开应用程序; 2. 菜单中Draw->Block,出现一个对话框,从键盘输入具体值,然后在左边蓝色区域任意位置点击,出现红色的矩形,即设置好障碍物位置,此时右上方区域中相应位置的值从0变为1; 3. 菜单中Draw->RobotPoint,然后在左边蓝色区域任意位置点击,出现绿色的圆,即设置好机器人目前位置; 4. 菜单中Draw->GoalPoint,然后在左边蓝色区域任意位置点击,出现黄色的圆,即设置好目的地位置; 5. 菜单中,Edit->Begin,会在右下方会出现一条从机器人目前位置到目标点的无碰路径。-Double-click RobotView.exe, open the application 2. Menu in the Draw-> Block, a dialog box appears, enter the specific value from the keyboard, and then left click anywhere in the blue area, red rectangle, set up obstacles that position, then position the top right area of the corresponding value from 0 to 1 3. Menu in the Draw-> RobotPoint, then left click anywhere in the blue region, a green circle, which set up the robot current location 4. Menu in the Draw-> GoalPoint, then left click anywhere in the blue region, a yellow circle, which set up the destination location 5. Menu, Edit-> Begin, will appear in the bottom right of the path from the robot current location to the target point of free path.
Date
: 2025-12-16
Size
: 82kb
User
:
sunny
[
Other Games
]
qk_snake_api
DL : 0
VC++贪吃蛇游戏源码 贪食蛇编程要点 1、每次刷屏时需要注意无效矩形区的大小和位置,一般取整条蛇最小坐标和最大坐标组成的矩形(包括蛇的头和身体) 2、蛇全身的运行轨迹应该参照蛇头的运行轨迹 3、蛇吃下东西之后身体各点的变化情况应该参照第一点的变化,即第一点发生变化之后下一时间段第二点发生变化,再下一时间段第三点发生变化,依此类推,直到最后一点发生变化结束 4、分数的计算变量:蛇吃的一般屎数量、蛇吃大屎的数量、游戏的难度级别 计算公式:(一般屎数量+大屎数量)*难度级别 5、一个问题:游戏的难度设置选项框和主窗口发生数据交换采用了两种方法,发送消息法和读写外部文件法,第三种选择就是采用全局变量,但都不是太好,有没有更合适的方式保证实现该功能的同时不致使程序显得晦涩难懂不易修改和维护-Snake game source code VC++ Snake programming essentials 1, each scraper invalid rectangle when you need to pay attention to the size and position, and generally coordinate the entire minimum and maximum coordinates of the snake composed of Rectangular (including the snake s head and body) 2, the snake should refer to the body of the running track running track smugglers 3, after the snake eats something changes in the body of each point should refer to the first point of change, that change after the first point of the next The second change time period, then the next time change the third point, and so on, until the last point change End 4, the scores calculated variables: the number of snakes eating feces general, snakes eat large amount of feces, the game s difficulty level Formula: (number of normal feces feces+ large number of)* difficulty level 5, one problem: the difficulty of the game box and the main window to set options for data exchange occurs using two
Date
: 2025-12-16
Size
: 1.65mb
User
:
秦坤
[
Other Games
]
game_pick-wand
DL : 0
挑竹签小游戏:游戏中的矩形长条就是“竹签”,竹签的摆放有先后顺序,只有没被其它竹签压盖的才能被挑走。用鼠标左键单击竹签,若该竹签可以被挑走,则该竹签消失,挑走所有竹签即完成一次游戏。-Pick the bamboo game: the game long rectangle is the " bamboo" , the placing of a sequence of thin bamboo sticks, not only by other bamboo gland in order to be picked away. Bamboo stick with the left mouse button click, if the bamboo can be picked away, the thin bamboo sticks disappear, go pick one game to complete all the bamboo stick.
Date
: 2025-12-16
Size
: 468kb
User
:
yishuiwang
[
Other Games
]
ice-adventure
DL : 0
传说中,南极有一片广阔的冰原,在冰原下藏有史前文明的遗址。整个冰原被横竖划分成了很多个大小相等的方格。在这个冰原上有N个大小不等的矩形冰山, 这些巨大的冰山有着和南极一样古老的历史,每个矩形冰山至少占据一个方格,且其必定完整地占据方格。冰山和冰山之间不会重叠,也不会有边或点相连。 ACM探 险队在经过多年准备之后决定在这个冰原上寻找遗址。根据他们掌握的资料,在这个冰原上一个大小为一格的深洞中,藏有一个由史前人类制作的开关。 而唯一可以 打开这个开关的是一个占据接近一格的可移动的小冰块。显然,在南极是不可能有这样小的独立冰块的,所以这块冰块也一定是史前文明的产物。 他们在想办法把这 个冰块推到洞里去,这样就可以打开一条通往冰原底部的通道,发掘史前文明的秘密。冰块的起始位置与深洞的位置均不和任何冰山相邻。 这个冰原上的冰面和冰山都是完全光滑的,轻轻的推动冰块就可以使这个冰块向前滑行,直到撞到一座冰山就在它的边上停下来。冰块可以穿过冰面上所有没有冰山的区域, 也可以从两座冰山之间穿过。冰块只能沿网格方向推动。-According to legend, there is a vast Antarctic ice sheet, the ice sheet under the possession of the site of prehistoric civilization. If they had the entire ice sheet is divided into many equal-sized squares. N in the ice on the tip of a rectangle of varying sizes, These huge Antarctic icebergs has and as old as the history of the tip of each of at least occupy a rectangular box, and will fully occupy the square. Do not overlap between the tip of the iceberg and there will not be connected to edge or point. ACM expedition after the decision, after years of preparation in the ice to find sites. According to their information available in the ice sheet the size of a cell of a deep hole, possession of a prehistoric people made the switch. The only you can open an account for this switch can be moved close to a grid of small ice cubes. Clearly, in the Antarctic is not possible to have such a small independent ice, so this ice must also be a product of prehistoric civilization. They
Date
: 2025-12-16
Size
: 240kb
User
:
胡灏
[
Other Games
]
VC-King-of-Fighters
DL : 0
VC拳皇.使用 Allegro 作为底层,在其上进行包装,建立独立的平台。使用 Allegro 的定时器来实现连续输入的识别。使用简单的 矩形+点 的碰撞检测技术。实现脚本化的动画组件用来美化界面。-VC King of Fighters. using Allegro as the underlying, in its packaging on the establishment of an independent platform. Using Allegro s timer to achieve continuous input of identification. Using a simple rectangle collision detection+ points. Achieve scripted animation component is used to beautify the interface.
Date
: 2025-12-16
Size
: 5.19mb
User
:
Topsense Sol
[
Other Games
]
rectangle_collision
DL : 0
code for rectangle collision
Date
: 2025-12-16
Size
: 1kb
User
:
asym
[
Other Games
]
rectangle_diagonal
DL : 0
simple code for rectangle diagonal movement
Date
: 2025-12-16
Size
: 4kb
User
:
asym
[
Other Games
]
2
DL : 0
Background Given a set of rectangles {R1, R2, …, Rn}, compute the area of their common intersection. i.e., Area(R1∩R2∩…∩Rn) The edges of the rectangles R1, R2, …, Rn, are either vertical or horizontal lines. For example, the intersection of 4 rectangles, R1, R2, R3, and R4, in the following figure is the shaded rectangle. Input The input contains (N + 1) lines. The first line specifies the number of rectangles N, where 1 < N < 1000. Since the sides of the rectangles are parallel to the x-axis and y-axis, each rectangle is bounded by the lines x = x1, x = x2, y = y1 and y = y2 and each subsequent line of the input file thus specifies one rectangle in the following format: x1 x2 y1 y2 such that 0 <= x1 < x2 <= 10000 and 0 <= y1 < y2 <= 10000, and x1, x2, y1 and y2 are integers. Output The output file contains the area of the intersection of all the rectangles.
Date
: 2025-12-16
Size
: 1kb
User
:
norman
[
Other Games
]
snake
DL : 0
C++容器实现的简单贪吃蛇游戏,程序关键在于表示蛇的图形及蛇的移动。用一个小矩形快表示蛇的一节身体,身体每长一节,增加一个矩形块,蛇头用俩节表示。-C++ container to achieve a simple snake game, the program, said the key is to move the snake and the snake graphics. Fast with a small rectangle represents a section of the body of the snake, the body length of each section, add a rectangular block, smugglers represented by two sections.
Date
: 2025-12-16
Size
: 13.68mb
User
:
陈彦霖
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.