JMaPacmanMaps

From Arianne
Jump to: navigation, search

JMaPacman Navigation:    Overview   |   Manual   |   Creating Maps

Map Creation

Maps for JMaPacman are created as ASCII Files. You can create Maps with every standard Text-Editor.

Placing Items

Use the following ASCII-Characters to place items in your maps

# Wall
* Dot
g Ghost without Dot
G Ghost with Dot
r respawn without Dot
R respawn with Dot
F Fruit
P Powerpill
0 to 9 ZoneChange Points
- GhostBlock without Dot
_ GhostBlock with Dot
+ Superdot

When placing a Ghost,RespawnPoint or a GhostBlockItem you can select with or without Dot. This means that you either place a Ghost on a free spot or you place a Ghost on a spot with a dot below. <p/>

Sample Map

A Sample Map can look like this

###########################
#R***********#***********R#
#*#####*####*#*####*#####*#
#*#   #*#  #*#*#  #*#   #*#
#*#####*####*#*####*#####*#
#******+***********+******#
#*#####*#*#######*#*#####*#
#*#   #*#****#****#*#   #*#
#*#####*####*#*####*#####*#
#*******#g       g#*******#
#######*# ###-### #*#######
      #*# #0   0# #*#     
      #*# ####### #*#    
      #*# #0   0# #*#     
#######*# ###-### #*#######
#*******#g       g#*******#
#*#####*####*#*####*#####*#
#*#   #*#****#****#*#   #*#
#*#####*#*#######*#*#####*#
#******+***********+******#
#*#####*####*#*####*#####*#
#*#   #*#  #*#*#  #*#   #*#
#*#####*####*#*####*#####*#
#R***********#***********R#
###########################

In the Game the Map would look like this :

JmapacmanLEVEL.jpg

Additional Map Settings

Placing of Items is only half of the work ;) You can customize your Map with some additional Options. Some of them are Optional, others are needed for a fully functional map.

  • x

NEEDED, the width of the map

  • y

NEEDED, the height of the map

  • dot_respawnTime

Number of Turns for a Dot to respawn

  • dot_Score

Points you get by eating a Dot

  • superdot_respawnTime

Number of Turns for a Superdot to respawn

  • superdot_Score

Points you get by eating a Superdot

  • superdot_probability

You can set a probability that a Superdot respawns. At example : superdot_probability=3 means that every 3rd dot which respawns on this point is a Superdot. All other dots that respawn on this point are normal Dots.

  • fruit_respawnTime

Number of Turns for a Fruit to respawn.

  • fruit_Score

Points you get by eating a Fruit.

  • fruit_probability

You can set a probability that a Fruit respawns. See superdot_probability

  • powerpill_respawnTime

Number of Turns for a Powerpill to respawn.

  • powerpill_Score

Points you get by eating a Powerpil.

  • powerpill_probability

You can set a probability that a Powerpill respawns. See superdot_probability

  • mapchange

You can have up to 10 lines starting with mapchange in your options. The first mapachange is the name of the map you enter when moving on the first ZoneChangePoint (marked with 0). The second mapchange is the name of the map for the second ZoneChangePoint (marked with 1) ... and so on.

  • MAPSTART

NEEDED, Indicates that the Item-Placing starts. After this point no more options are allowed. Only content that will follow is the map.

Sample Map File

x=30
y=25dot_respawnTime=250
dot_Score=1
superdot_respawnTime=250
superdot_Score=5
superdot_probability=1
fruit_respawnTime=500
fruit_Score=50
fruit_probability=1
powerpill_respawnTime=500
powerpill_Score=0
powerpill_probability=1
mapchange=start
mapchange=map1
MAPSTART
###########################
#R***********#***********R#
#*#####*####*#*####*#####*#
#*#   #*#  #*#*#  #*#   #*#
#*#####*####*#*####*#####*#
#******+***********+******#
#*#####*#*#######*#*#####*#
#*#   #*#****#****#*#   #*#
#*#####*####*#*####*#####*#
#*******#g       g#*******#
#######*# ###-### #*#######
      #*# #0   0# #*#     
      #*# ####### #*#    
      #*# #0   0# #*#     
#######*# ###-### #*#######
#*******#g       g#*******#
#*#####*####*#*####*#####*#
#*#   #*#****#****#*#   #*#
#*#####*#*#######*#*#####*#
#******+***********+******#
#*#####*####*#*####*#####*#
#*#   #*#  #*#*#  #*#   #*#
#*#####*####*#*####*#####*#
#R***********#***********R#
###########################