Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MazeRogue
#4
(10-28-2022, 03:36 PM)James D Jarvis Wrote: I'll be slapping in a help screen or an intro screen eventually.      the diamonds are gems, the hearts are health potions , and the starbursts are power runes.      the monsters are ants, spiders, and orklins.  probably changing the whole input scheme so it's more properly "roguelike" whit one turn per key press. 1st test of my monster code and most run into a corner or even worse tunnel off the screen in about a second. Already killed the ant tunnelling code.  If I can squeeze some time in this weekend I hope to get the monsters working.

Hi @James D Jarvis, did you try the alternate key action I posted? For me, it is much easy to step only once to turn a corner and go a different passage way. Originally in your code with _Keydown() I jump past, too far one way then too far the other, not fun.

A monster could go same direction it is already headed (80%) or reverse -dx or -dy (20%), or any avail direction if at intersect of passage way (25% maybe).
A smarter one would head towards hero's x, y at every possible opportunity.
b = b + ...
Reply


Messages In This Thread
MazeRogue - by James D Jarvis - 10-28-2022, 12:12 AM
RE: MazeRogue - by bplus - 10-28-2022, 12:54 AM
RE: MazeRogue - by James D Jarvis - 10-28-2022, 03:36 PM
RE: MazeRogue - by bplus - 10-28-2022, 05:42 PM
RE: MazeRogue - by James D Jarvis - 10-28-2022, 07:43 PM
RE: MazeRogue - by James D Jarvis - 10-29-2022, 01:32 PM
RE: MazeRogue - by James D Jarvis - 10-30-2022, 03:27 PM
RE: MazeRogue - by SierraKen - 08-22-2024, 06:05 PM



Users browsing this thread: 1 Guest(s)