Recent

Author Topic: Is it feasible to display a tiled game on the canvas?  (Read 7654 times)

Zoran

  • Hero Member
  • *****
  • Posts: 1830
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Is it feasible to display a tiled game on the canvas?
« Reply #30 on: March 22, 2020, 09:23:01 pm »
Thank you.
I didn't know much about it.  :-[

CyberFilth

  • Jr. Member
  • **
  • Posts: 88
    • My github account
Re: Is it feasible to display a tiled game on the canvas?
« Reply #31 on: March 29, 2020, 11:17:28 am »
Just as a follow up, I have the code running well on both Linux and Windows now.
https://github.com/cyberfilth/Axes-Armour-Ale

There's still room to optimise the Field of View code but it runs well even with several dumb enemies on screen. I ended up reverting to using OnKeyDown for movement as it allows turn by turn movement better than using a Timer in this instance.
« Last Edit: March 29, 2020, 11:20:34 am by CyberFilth »
Running Windows 10 & Xubuntu 20.04 | Lazarus 2.0.12 | FPC 3.2.0

 

TinyPortal © 2005-2018