![]() |
#1 |
Rookie
Join Date: May 2017
Posts: 16
![]() |
![]()
Has anyone managed to port or write a roguelike into a simple handheld device with a qwerty keyboard, such as a Franklin dictionary? Some of them have a d-pad and like a 6x40 character display. I'd love to learn how to do it. I can program only in very high level scripts like BASIC and Lua. I'll probably end up connecting a simple character display onto a Raspberry Pi and going from there.
|
![]() |
![]() |
![]() |
#2 |
Knight
Join Date: Jan 2017
Posts: 603
![]() |
No work to do at all with the raspberry pi. Raspbian is GNU/linux and angband was written for UNIX. The pi is also many times more powerful than anything which existed in 1994 - it runs circles round something like a Pentium 2. It's actually easier to compile angband for the pi than it is to compile for windows.
I've looked into it myself, the difficulty isn't in running the software (which is entirely straightforward) it's in obtaining and attatching the hardware. |
![]() |
![]() |
![]() |
#3 |
Knight
Join Date: Jan 2017
Posts: 603
![]() |
Oh and 40x6 is too small. Angband requires 80x24. I have a 5" screen which cost about $20 and is 800x480 pixels but like I say, attatching it is not straightforward.
|
![]() |
![]() |
![]() |
#4 |
Prophet
Join Date: Dec 2009
Posts: 8,617
![]() |
Presumably for 40x6 you'd be writing a different roguelike, rather than trying to port Angband. MicRogue is an excellent example of a roguelike that has a fairly "narrow" play area; each level the player has to get from the left side to the right while dealing with enemies.
|
![]() |
![]() |
![]() |
#5 |
Knight
Join Date: Sep 2010
Location: England
Posts: 958
![]() |
40x6 is enough to have a row of four 9x5 rooms, which is pretty small but seems workable:
Code:
You hit the small kobold (5). --more--
<#.......+.........#....b....#.........#
.#.#######.o.###.o.#..#...#..#.###+###.#
.#..k@...#.o.#?+.o.+.b..#..b.+.#[+D+!#.#
.#######.#.o.###.o.#..#...#..#.###+###.#
.........#.........#....b....#........>#
|
![]() |
![]() |
![]() |
#6 | |
Rookie
Join Date: May 2017
Posts: 16
![]() |
Quote:
I'd want to take advantage of the long screen aspect and design very linear dungeons with branching points (so actually a tree structure). I'll check out MicRogue. Good to know that I'm in for a hard time with hardware hookups. I'll see if anyone makes tiny peripherals for the Pi. |
|
![]() |
![]() |
![]() |
#7 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,057
Donated: $40
![]() |
|
![]() |
![]() |
![]() |
#8 | |
Knight
Join Date: Jan 2017
Posts: 603
![]() |
Quote:
Actually check out adafruit for any DIY electronics, they have a huge variety of stock. |
|
![]() |
![]() |
![]() |
#9 |
Rookie
Join Date: May 2017
Posts: 16
![]() |
|
![]() |
![]() |
![]() |
#10 |
Knight
Join Date: Jan 2017
Posts: 603
![]() |
I just want to point out, for scale, that the circuit board there is a pi zero, around half the size of a credit card. That cable is a *mini* USB.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Roguelikes for Android? | fph | Idle chatter | 7 | August 24, 2015 10:02 |
Other fun RogueLikes | OOD Town drunk | Idle chatter | 24 | August 4, 2013 01:17 |
The angband dictionary - oook! | SaThaRiel | Oook! | 3 | January 9, 2010 15:05 |
Other roguelikes withe tyles etc? | Dark | Idle chatter | 6 | November 23, 2009 16:14 |
LUA in roguelikes - yes or no? | PaulBlay | Development | 20 | February 24, 2009 09:54 |