Author Topic: 4x4 sprites  (Read 4036 times)

0 Members and 1 Guest are viewing this topic.

Offline Camdenmil

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 121
  • Rating: +4/-0
    • View Profile
4x4 sprites
« on: January 17, 2012, 10:06:06 pm »
Does anyone have a fast/small way to draw 4x4 sprites?
It is bad luck to be superstitious.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: 4x4 sprites
« Reply #1 on: January 17, 2012, 10:06:51 pm »
What do you mean by that? Do you mean editing a sprite, or drawing them on the screen?
Sig wipe!

Offline saintrunner

  • Custom Spriter: You ask it! I'll Make it!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1787
  • Rating: +115/-11
  • Flogging Molly
    • View Profile
    • Jonny K Music
Re: 4x4 sprites
« Reply #2 on: January 17, 2012, 10:14:41 pm »
use the sprite editor that comes with the axe parser package, and only draw in the top right corner your 4x4 picture, then convert to hex code and recall into your program             
« Last Edit: January 17, 2012, 10:15:57 pm by saintrunner »
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: 4x4 sprites
« Reply #3 on: January 17, 2012, 10:15:27 pm »
I'm pretty sure he means drawing 4x4 sprites within a program (like displaying them).
In-progress: Graviter (...)

Offline chattahippie

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +27/-0
  • Super Member! :D
    • View Profile
Re: 4x4 sprites
« Reply #4 on: January 17, 2012, 10:22:14 pm »
You could use Rect, RectI, and the Pxl commands,
but I think just using Pt-On with sprites similar to [F0F0F0F000000000] would be your best option

Offline Camdenmil

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 121
  • Rating: +4/-0
    • View Profile
Re: 4x4 sprites
« Reply #5 on: January 17, 2012, 10:52:42 pm »
Is there any faster way than drawing them with the pt commands? While I'm asking, what about other sizes like 5x5? I've tried drawing using nibs and by having the program make 8x8 sprites by multiplying [first 4 bits] * 16 + [last 4 bits] but those method's haven't been performing well and they don't work for sizes other than 4x4.
It is bad luck to be superstitious.

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: 4x4 sprites
« Reply #6 on: January 17, 2012, 10:58:26 pm »
Are you trying to draw them all aligned? That could change answers here...
There's something about Tuesday...


Pushpins 'n' stuff...


Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: 4x4 sprites
« Reply #7 on: January 17, 2012, 11:02:11 pm »
Yeah me too I usually go with Pt-On and 4x4 sprites in 8x8 sprites.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: 4x4 sprites
« Reply #8 on: January 18, 2012, 12:56:18 am »
Yeah, there aren't any specialized 4*4 sprite commands.  Normally I use Pt-Etc and have the right and bottom halves empty.  You end up wasting 6 bytes for every sprite :/ but I'm not aware of another way.
Vy'o'us pleorsdti thl'e gjaemue

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: 4x4 sprites
« Reply #9 on: January 18, 2012, 03:17:17 pm »
If the 4x4 sprites are aligned to the grid (always drawn at points where the x and y are multiples of 4), you can write a decently fast displayer in pure Axe.
___Axe_Parser___
Today the calculator, tomorrow the world!