Results 1 to 10 of 121

Thread: G.T.A.2 Map Editor

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #12
    Actually the maps are not yellow, just minimaps, just the way i generate colors, i take some color and then take into account the actual Z of the X,Y,Z loop and doing "COLOR or Z" logical op. And take into account the "ground type" at current X,Y,Z This results the "yellow" minimaps.
    Now if i look at them i think they are too yellow.

    I work with 64x64 tiles, there can be max 991 of them. Its very slow to actually loop through entire map and resize all textures to 1x1 pixel and draw bmp, this way it would match colors of actual map but i have to find a faster way of doing this. I did some quick tests. Of course i did all in one X,Y,Z "triple" loop. Alot of repeating.

    Will try something else later.


    Also i made the camera move to work with mouse dragging on the minimap. Even on the scaled down version of minimap which i needed very much, because 256x256 on the form is way too big.
    Very simple math. Sadly i didn't figure out this by myself but thanks to one open source fpc project. But it works perfectly.
    Last edited by hwnd; 10-02-2013 at 10:19 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •