Author Topic: random stuffs  (Read 7072 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: random stuffs
« Reply #15 on: August 06, 2010, 11:54:57 pm »
You did too? Nice. And yeah it was a similar method in ROL series back in the days
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: random stuffs
« Reply #16 on: August 07, 2010, 02:33:39 am »
that tilemapping program looks really cool. can you post the source code for that?
there's really no need, it's very simple
just store your twelve different sprites for each tile type one after the other and then check the surrounding tile values and add 1, 2, 4, 8(1 for each surrounding tile) multiplied by whether that tile is the same as the tile being drawn, multiply that number by eight to get the right spot in the sprite set, and draw the sprite pointed to. i'll attach the code if you really want to look at it, though

oh, and there's going to be a single bit reading code? that could be really helpful with my contest entry; it does a LOT of pixel testing on the back buffer
*shmibs should really be finishing that, but is looking for reasons to procrastinate :P

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: random stuffs
« Reply #17 on: August 07, 2010, 07:10:05 pm »
Wow, excellent job!  Those look great.  Wonderful! ;D

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: random stuffs
« Reply #18 on: August 07, 2010, 07:17:47 pm »
Yeah I figured it wouldn't be too hard to create. I should really attempt a tilemapper using such way to draw maps at one point.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)