|
Cyberion |
![]() |
1. Fill it horizontally with background.png |
![]() |
2. Draw road lines (#667093) if (road to N) Line(106, 89, 102, 93); Line(133, 89, 137, 93); PutBitmap(107, 76, "roadN.png"); else Line(102, 93, 137, 93); if (road to S) Line(85, 110, 66, 129); Line(154, 110, 173, 129); PutBitmap(62, 130, "roadSW.png"); PutBitmap(174, 130, "roadSE.png"); else Line(85, 110, 154, 110); if (road to W) Line(0, 93, 102, 93); Line(0, 110, 85, 110); else Line(102, 93, 85, 110); if (road to E) Line(137, 93, ScreenW, 93); Line(154, 110, ScreenW, 110); else Line(137, 93, 154, 110); Here is an example if there are roads to N, S, W. |
![]() |
3. Buildings can be at E, W and N. (white signs doesn't appear) N building
is aligned horizontally to center. if (AtNorth) PutBitmap(120 - BuildingW div 2, 90 - BuildingH, "building/" + AtNorth + ".png"); if exist(AtEast) PutBitmap(159, 106 - BuildingH, "building/" + AtEast + ".png"); if (AtWest) PutBitmap(81 - BuildingW, 106 - BuildingH, "building/" + AtWest + ".png"); Here is an example if AtEast = something. (W, E changed: W: 5 px left and 5 px up, E: 5 px right and 5 px up. PutBitmap-s are correct, the example image isn't) |
![]() |
4. Creatures can be at E and W. (yellow signs doesn't appear) Creature.Resource
contains the name of the creature. The filename is: "creature/" + Resource + "W.png" or ..."E.png". For example, there is a "man" at west, so a "creature/manW.png" is exist (see: resource.zip) We need it, because more creature must be same creature image (yes, because of the memory limit :) if exist(Where = "E") PutBitmap(136, 107 - CreatureH, "creature/" + Resource + ".png"); if exist(Where = "W") PutBitmap(104 - CreatureW, 107 - CreatureH, "creature/" + Resource + ".png"); Here is an example if Where = "W". |
![]() |
5. Wear. Same place, same way. |
![]() |
6. Object: if the name of the object is "Food", then a food.png, otherwise an object.png appears. The position comes from the oddness of Place variable (the actual scene) If it is odd, put it to 94, 106, if it is even, put it to 134, 106. |
![]() |
7. Coming in: The man scrolls from the proper place (N, S, W, E) to the
center (x: 110, y: 76) by 8 steps (If there is a creature the place the
man comes - at the example yes, because of the yellow creature -, just by
5 steps). Every step is 1 px, if he comes from N or S, and 2 pixel, if he
comes from W or E. At the first image is darked with dark.png (see: intro)
Going out: scrolls towards the proper way, but in just 4 steps (If there is a creature the place the man goes to, just by 5 steps). The last image is darked with dark.png Use the proper image for the man - manN.png, if he goes to N, ... |
![]() |
8. Copy to Phone Screen |
