PICO PETSCII


Author Message
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 1443
Posted: 06:42am 21 Oct 2023      

  Volhout said  All,
I have enabled the AI for the whole world map (no only viewable area). So if you bring up the map (TAB, TAB), you can see all the robots walk on that map....hihi...

I still have to streamline update_player, and some sprite flicker a bit, but that is for later. Now the focus should be on really shooting something to destruction...


Volhout


Harm,
Because I'm curious, I played it briefly.
Cute
If you have blocked the way of a bot with a chair, for example, it will also no longer move on the map  

sprite flickering:

With the introduction of magenta as a transparent color, I had to inset a "erase the player's sprite before redrawing", otherwise, because of the up and down movement of the head, parts of the hair would remain as pixels.
 
Erasing the players sprite, when moving, can be limited to one or two top lines, the rest is painted over by the new sprit then it will no longer flicker.

Cheers
Martin

EDIT
there was a typo in the listing of the function
If c$="BUT-B BUT-A ")Then c2k$=Chr$(9)
should be
If c$="BUT-B BUT-A " Then c2k$=Chr$(9)

Edited 2023-10-21 17:10 by Martin H.