Author Topic: 8 by 8 sprite image from url  (Read 20678 times)

0 Members and 1 Guest are viewing this topic.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: 8 by 8 sprite image from url
« Reply #45 on: June 21, 2014, 01:51:45 pm »
Yay that looks great ! :D

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: 8 by 8 sprite image from url
« Reply #46 on: June 21, 2014, 02:13:14 pm »
Don't worry if you see stuff all messed up. I am changing the css on the webserver itself.

New features:
+ Mobile version! Scales to fit your screen perfectly!
If you like my work: why not give me an internet?








Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: 8 by 8 sprite image from url
« Reply #47 on: June 21, 2014, 02:17:24 pm »
Just checked it out on my tablet and it works great. :D

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: 8 by 8 sprite image from url
« Reply #48 on: June 21, 2014, 02:19:00 pm »
I am tweaking this as we speak. Added a minor feature: When you tap on an input field it automatically selects the content.


Edit: New color scheme:
« Last Edit: June 21, 2014, 04:41:31 pm by Keoni29 »
If you like my work: why not give me an internet?








Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 8 by 8 sprite image from url
« Reply #49 on: June 21, 2014, 09:59:52 pm »
Nice Keoni29, but there is pr0n in your sig O.O

not really actually, just that first 8x8 sprite to the left that looked a little suspicious ^^

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: 8 by 8 sprite image from url
« Reply #50 on: June 22, 2014, 04:59:57 am »
You sir, are pretty good at designing :)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: 8 by 8 sprite image from url
« Reply #51 on: June 22, 2014, 06:14:48 am »
I figured out a way to implement an editor in javascript. Every pixel will be a block. onClick the pixel color changes and the hex code is updated. I just have to figure out how to make the shadow overlay those blocks.
If you like my work: why not give me an internet?








Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: 8 by 8 sprite image from url
« Reply #52 on: June 22, 2014, 06:16:00 am »
I'd do that with CSS, have the shadow have a higher z-index than the image.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: 8 by 8 sprite image from url
« Reply #53 on: June 22, 2014, 07:14:24 am »
Nice Keoni29, but there is pr0n in your sig O.O

not really actually, just that first 8x8 sprite to the left that looked a little suspicious ^^
Hehe that's the herocore character. :P

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: 8 by 8 sprite image from url
« Reply #54 on: June 27, 2014, 05:28:41 am »
New version uses javascript instead of php to generate the image. It has a nice clicky editor. You can click and drag to paint. Huge thanks to Eeems for his help!
Work in progress:
http://jsfiddle.net/Lqheq/21/


http://cookiecraft.eeems.me:81/spr/

Features:
+ Click and drag to paint pixels :thumbsup:
+ Editor updates the hexadecimal string in real time.
+ Url is also updated in real time.
+ Pixel colors update in real time.
+ Grid
+ Grid color is the average of the front and background color
. (Might change that to the inverse of the average)
« Last Edit: June 27, 2014, 09:39:47 am by Keoni29 »
If you like my work: why not give me an internet?








Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: 8 by 8 sprite image from url
« Reply #55 on: June 27, 2014, 03:35:28 pm »
Pretty awesome, it is great to see how far it already got ;)
Suggestion: hex in CAPS ;)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: 8 by 8 sprite image from url
« Reply #56 on: June 27, 2014, 03:56:54 pm »
Oh yeah, I hate it when hex is written in lowercase. It's harder to read.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: 8 by 8 sprite image from url
« Reply #57 on: June 27, 2014, 04:00:39 pm »
Allright I will add that to my TODO.TXT:
Things to do:
- Make HEX string all caps.
- Change font for HEX string to monospace.
If you like my work: why not give me an internet?








Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: 8 by 8 sprite image from url
« Reply #58 on: June 27, 2014, 10:35:34 pm »
Awesome update Keoni :D

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: 8 by 8 sprite image from url
« Reply #59 on: July 07, 2014, 01:32:48 am »
Me gusta.
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE