Log In  


Skilled Explorer Creeps 'Round Every Tunnel (S.E.C.R.E.T.)

Cart #s_e_c_r_e_t-0 | 2025-01-01 | Code ▽ | Embed ▽ | No License

This was my submission to the 2024 Github Game Off.
You are an explorer in some secret caverns or something.
Itch: https://lumbar527.itch.io/skilled-explorer-creeps-round-every-tunnel

Controls

⬆️⬇️⬅️➡️ to move.
❎ to shoot.
🅾️ to reload.
Tab to switch between gun and torch.

Map Editor

Cart #s_e_c_r_e_t_editor-0 | 2025-01-01 | Code ▽ | Embed ▽ | No License

This is the editor I made to create the S.E.C.R.E.T. maps.

How to Use

ESDF move the camera around. Arrows control the player (the red circle with the blue line to determine facing).
NEW POINT adds a new map point in front of the player.
STOP CONNECTING: When you add a new point, it automatically creates a line between the two. If you push
this before adding a new point, it will not connect.
MOUSE toggles between using the map for adding points (right-click) and using player movement+NEW POINT button.
MINIMAP toggles whether to show the map or not. Useful for looking around in your maps.
ENEMY TOGGLE toggles whether or not adding a new point adds an enemy there. Enemies are represented by empty circles.
SAVE MAP lets you copy the map. Below is an example of the copied map.

m={{x=2,y=-22,z1=0,z2=20},{x=15,y=-15,z1=0,z2=20},{x=20,y=-2,z1=0,z2=20},{x=20,y=10,z1=0,z2=20},{x=19,y=26,z1=0,z2=20},{x=16,y=51,z1=0,z2=20},{x=10,y=59,z1=0,z2=20},{x=-6,y=65,z1=0,z2=20},{x=-22,y=64,z1=0,z2=20},{x=-38,y=56,z1=0,z2=20},{x=-41,y=45,z1=0,z2=20},{x=-41,y=45,z1=0,z2=20},{x=-44,y=36,z1=0,z2=20},{x=-47,y=21,z1=0,z2=20},{x=-47,y=7,z1=0,z2=20},{x=-43,y=-5,z1=0,z2=20},{x=-36,y=-12,z1=0,z2=20},{x=-26,y=-17,z1=0,z2=20},{x=-18,y=-20,z1=0,z2=20},{x=-7,y=-21,z1=0,z2=20},{x=2,y=-22,z1=0,z2=20},{x=-9,y=44,z1=0,z2=20},{x=-33,y=22,z1=0,z2=20},},
l={{1,2},{2,3},{3,4},{4,5},{5,6},{6,7},{7,8},{8,9},{9,10},{10,11},{11,12},{12,13},{13,14},{14,15},{15,16},{16,17},{17,18},{18,19},{19,20},{20,21},{22,22},{23,23},},
enemies={{h=0,s=0,d=0,id=22,spd=0},{h=0,s=0,d=0,id=23,spd=0},}

Note: Don't make your walls too long because I don't currently have clipping and they will be hidden if any part of them goes off the screen.

m has all the map points.
l connects the points.
enemies is a list of enemies.

Enemies

h is health (the gun does 1 damage).
s is sprite (2x2).
d is damage to player.
id is the map point the enemy is (do not change).
spd is speed.

The entire copied text, once edited, can be placed inside the lvl list of the game.

Modding the Game

A few useful notes for modding the game are:
screen.w and screen.h determine the width and height of the game for drawing purposes. They will not change the actual screen dimensions. (remove the line poke(0x5f2c,3) to get 128x128 screen dimensions)
pal({[0]=3,11,138,139},1) is the line that limits you to 4 colors. It can be removed.

Please share your creations!




[Please log in to post a comment]