There's only 2 files which need to be in the same folder as the BAS program -- Sprites.png and courbd.ttf (and the font file is only needed if you're not a Windows user as QB64 will find it automatically for you with windows).
You might want to check to see if the OUTPUT EXE TO SOURCE FOLDER option is checked in the IDE for you, or not, as it can make a difference if you're compiling from the "Rogue Like" folder which the zip file extracted everything into.
It turns out I didn't have the "courbd.ttf" and "Sprites.png" files,
and the "OUTPUT EXE TO SOURCE FOLDER" option was not selected.
I changed the option and downloaded 'Rogue Like.7z"
(instead of using the code from the forum post)
and it works like a charm. Thank you!
This is a very neat implementation of the game so far -
thanks for sharing it.
PS Are there any instructions?
Here's what I determined from reading the code:
up move north
down move south
left move west
right move east
space skip turn
< climb ladder
+ turn lantern up
= turn lantern up
- turn lantern down
_ turn lantern down
SHIFT+up increase scale
SHIFT+down decrease scale
SHIFT+left decrease font size
SHIFT+right increase font size
FYI I tried playing it and got to a ladder, and when I pressed "<" the game seemed to lock up
(I waited about a minute and nothing happened so I killed it.)
PPS Some suggestions for future versions
- pressing "?" shows help
- keys for diagonal movement (I can do that myself, but just saying)
- burn lamp fuel faster/slower if you turn the lamp up/down
- line-of-sight algorithm (so player can't see through walls)
- missile weapons (bow & arrow, sling, etc.) for ranged combat
- a level editor (for the option to play user-created dungeons instead of randomly created ones)
- hidden passageways
PPS As a guide for anyone who wants to try adding features, here are the commands listed in the the original Rogue manual on myabandonware.com
https://dl2.myabandonware.com:8443/f/p1z/Rogue_Manual_DOS_EN.pdf+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ROGUE COMMANDS REFERENCE CARD
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The following
is a complete
list of all the commands used in the ROGUE program.
Certain commands have several keys which perform the same
function:
-------------------------------------------------------------------------------
MOVEMENT/FIGHTING
-------------------------------------------------------------------------------
, h Moves you left one space.
H Moves you left
until you
run into a wall
or door.
f Moves you left
until you are near an object.
, j Moves you down one space.
J Moves you down
until you
run into a wall
or door.
f Moves you down
until you are near an object.
, k Moves you up one space.
f Moves you up
until you are near an object.
, l Moves you right one space.
L Moves you right
until you
run into a wall
or door.
f Moves you right
until you
run into an object.
Home
, y Moves you diagonally
, up
and to the left.
Y Moves you diagonally
, up
and to the left
until you
run into a wall
or door.
f Home Moves you diagonally
, up
and to the left
until you are near an object.
End, b Moves you diagonally
, down
and to the left.
B Moves you diagonally
, down
and to the left
until you
run into a wall
or door.
f
End Moves you diagonally
, down
and to the left
until you are near an object.
PgUp
, u Moves you diagonally
, up
and to the right.
U Moves you diagonally
, up
and to the right
until you
run into a wall
or door.
f PgUp Moves you diagonally
, up
and to the right
until you are near an object.
PgDn
, n Moves you diagonally
, down
and to the right.
N Moves you diagonally
, down
and to the right
until you
run into a wall
or door.
f PgDn Moves you diagonally
, down
and to the right
until you are near an object.
NOTE: The above commands are also used
for fighting monsters.
s
, Del Search
for hidden traps
and secret doors in area adjacent
to you.
f Find something. When followed by a direction
, this will allow you
to move continuously
until you
run into a wall
or door.
g Go over. Allows you
to step on an item without picking it up. Used
as a prefix before a direction
key.
>, Ins When standing
on a staircase
, this allows you
to go down the staircase
, deeper into the dungeon
, to the
next level.
< When standing
on a staircase
, this allows you
to go up the staircase
, out of the dungeon
, to the
next level.
^, F8 Identifies the trap
type.
(You will have
to give the direction of the trap.
) SCROLL
LOCK Fast
Play Mode. When engaged
, you move through the rooms
and passageways continuously
until you
run into a door
, monster
, or other object. Also stops any count currently being performed.
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
c
, F5 Renames an object which you have
not yet identified.
d Drop an object.
To take something
out of your pack
and leave it
on the dungeon floor.
e Eat food. Takes food
out of your pack
to eat.
P
Put a ring
on your hand.
q Quaff (drink) one of the potions you are carrying.
r
Read one of the scrolls in your pack.
R Remove a ring you are wearing
and put it back into your pack.
t
, + Throw an object
(i.e. arrow
, dagger
).
(This command
is followed by a direction.
)T Take
off the armor you are currently wearing.
w Wield a new weapon.
W Wear a different piece of armor.
z
, – Zap a monster with a wand
or staff.
(This command
is followed by a direction.
)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
F1, ? Lists all the Commands (Help).
F2, / Lists all the symbols used in the game.
F3, a Repeat the last command given.
F4, Ctrl r Repeat message.
F5, c Rename object.
F6
, D
List items that have been discovered.
F7, i Inventory of all items in your pack.
F8
, ^ Identify
type of trap.
(This command
is followed by a direction.
)F9 Any
key.
(Alt F9 defines this
key to any command you wish
to use.
)F10
, ! Clears the
screen, and starts up a fake DOS. Hitting any
function key or typing rogue will
put you back in the game.
(This can be used when playing Rogue at work when you shouldn
't be!)Ctrl t Terse message mode.
S Save the current game
v Prints the current version number.
Esc Cancels a command before you execute it.
. Allows you
to rest
and heal
(regain hit points
).
0-9 Number keys preceding a command allow you
to repeat the command that number of times.