Author Topic: Rogue Z80  (Read 30554 times)

0 Members and 1 Guest are viewing this topic.

Offline mapar007

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 550
  • Rating: +28/-5
  • The Great Mata Mata
    • View Profile
Rogue Z80
« on: January 12, 2010, 01:31:44 pm »
I've started porting the famous 'old skool' ascii game called 'Rogue'. You probably know it. It'll be in asm.

This is a screenie of my current scrolling tilemap routine. I still have to edit it to leave one row for messages, but that won't be hard.

The screenshot was taken with wabbitemu, but running under wine, so it's a bit worse than the actual thing.



EDIT: fyi, that map was NOT randomly generated. I'll first finish all the rest before I get to the map generator.
« Last Edit: April 03, 2010, 04:04:43 am by mapar007 »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Rogue Z80
« Reply #1 on: January 12, 2010, 01:37:54 pm »
Oooh nice, glad to see this for 83+ now ^^. It was attempted many times before in TI-BASIC. However, everyone gave up at the random map generator, becuase it took several minutes to generate them. Everything else ran at decent speed.

Will you have Fog Of War like in Starcraft too?

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Rogue Z80
« Reply #2 on: January 12, 2010, 04:35:30 pm »
Wow, looks great! I can't wait to see more.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Rogue Z80
« Reply #3 on: January 12, 2010, 06:55:53 pm »
Looks good!  At first i thought to myself, why isn't he doing it in Basic?  Looks simple enough, but then DJ talked about the random map generator, and i see where assembly comes in handy :) Plus it gives a very nice speed boost/graphics ect... so good job! Can't wait to see more progress :)

Offline mapar007

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 550
  • Rating: +28/-5
  • The Great Mata Mata
    • View Profile
Re: Rogue Z80
« Reply #4 on: January 13, 2010, 12:27:02 am »
I first wanted to do it on the homescreen, but having to use OS routines lagged everything, so I picked up my old tilemap scroller and used it here.

About the fog of war:
I will (try to) implement a 'line of sight'+lighting system, with your torch lighting the squares in a certain radius up to n squares (depending on the 'power' of the light). There would also be perma-lit squares. You can always see what is on a perma-lit square if it's in your line of sight, regardless of the distance/power of your light source.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Rogue Z80
« Reply #5 on: January 13, 2010, 01:25:23 am »
Nice ^^

Offline mapar007

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 550
  • Rating: +28/-5
  • The Great Mata Mata
    • View Profile
Re: Rogue Z80
« Reply #6 on: January 13, 2010, 03:39:12 pm »
More progress (not much due to the annual math olympiad today...):
- You can now move diagonally
- The keys have been remapped to the number pad (like the real thing ;-) )
- The bottom row will hold text, but I've grayed it out as a placeholder.
(Yes, the screenshot quality sucks, but it looks way better on tiLem/hardware):
EDIT: by better, I mean faster.
« Last Edit: January 13, 2010, 03:41:59 pm by mapar007 »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Rogue Z80
« Reply #7 on: January 13, 2010, 04:11:19 pm »
Will it be possible to still use the arrow keys too for movement? A few of us primarly play calc games on WabbitEmu and would still like to be able to use the computer keyboard to move around. WabbitEmu doesn't use the numpad as number keys, only the number keys below the F keys are used as digits. It can be very hard to move using these x.x

Looks nice, though.

Offline mapar007

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 550
  • Rating: +28/-5
  • The Great Mata Mata
    • View Profile
Re: Rogue Z80
« Reply #8 on: January 14, 2010, 01:56:00 am »
Yes; it still is possible to use the arrow keys. I don't know if I will implement diagonal movement using the arrow keys, though... (It's not that hard, but yeah...)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Rogue Z80
« Reply #9 on: January 14, 2010, 02:21:42 am »
Don't worry too much about it, but yeah since several gamers who never played old DOS games are used to arrow controls and especially for emulator users, it might be good to not get rid of arrow keys controls ^^

But seriously, I'm not one to talk XD, at least numpad movement is still better than the following XD

Keep in mind that it was a TI-81 game I made, though, meaning no getkey function :P
« Last Edit: January 14, 2010, 02:24:52 am by DJ Omnimaga »

Offline mapar007

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 550
  • Rating: +28/-5
  • The Great Mata Mata
    • View Profile
Re: Rogue Z80
« Reply #10 on: January 14, 2010, 11:48:41 am »
Lolz...

Well, today was a no-progress day, due to me epically failing today during the swimming class, and having to go to the doctor, who stitched the newly created hole in my head :P, and told me I had to rest for the rest of the day.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Rogue Z80
« Reply #11 on: January 14, 2010, 01:45:14 pm »
Ouch that sucks x.x I hope you are OK right now :S

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Rogue Z80
« Reply #12 on: January 14, 2010, 02:10:27 pm »
Ouch.  Good luck with your head...

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Rogue Z80
« Reply #13 on: January 14, 2010, 05:32:03 pm »
X.X
ow
get better soon!
/e

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Rogue Z80
« Reply #14 on: January 18, 2010, 02:43:54 pm »
Ouch o_o  What happened?
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%