Author Topic: logo help  (Read 14576 times)

0 Members and 2 Guests are viewing this topic.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: logo help
« Reply #15 on: June 12, 2010, 04:32:03 pm »
I modded my post to show what I did with that code. Thanks ztrumpet :D
Code: [Select]
For(B,-64,64,1.9)
Line(-96,-B,96,B
End
For(B,-96,96,2)
Line(-B,-64,B,64
End

Ok, so:
  • Setting the increment for For() loops is not a supported feature. You can only increment by one (for now at least)
  • Decimals are not supported. All variables in assembly are 2-bit integers, so 0-65535 or -32768-32767.
  • The dimensions of the screen are 96x64. This means that pixels have an x-value ranging from 0-95 and a y-value ranging from 0-63. There is no need for drawing the lines into negative pixels, or all the way to x=96 or y=64.
  • And what exactly are you trying to achieve with this code? I can't quite tell.

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
Re: logo help
« Reply #16 on: June 12, 2010, 04:54:50 pm »
I am trying to blacken the screen in my own creative manor. Instead of just drawing black at once, I have created a creative way to draw a simple design to blacken the screen

edit: I tried the code out fixed, and it didn't work. So, now how do I get the sandstorm 2 effect instead of  the original since its a little bit more saturating?
« Last Edit: June 12, 2010, 04:59:39 pm by Snake X »
Loved this place, still the best producers of power metal, and sparked my dreams of coding.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: logo help
« Reply #17 on: June 12, 2010, 05:03:12 pm »
How do you want it to blacken the screen? Can you describe it?

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
Re: logo help
« Reply #18 on: June 12, 2010, 05:07:43 pm »
no. I can show a picture though, I'll edit this post once I get the picture up. I don't know how to describe it in words :D

edit: I have created the picture.
« Last Edit: June 12, 2010, 05:14:55 pm by Snake X »
Loved this place, still the best producers of power metal, and sparked my dreams of coding.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: logo help
« Reply #19 on: June 12, 2010, 05:18:41 pm »
Wait... so you have it working?

EDIT: Nevermind, just realized that's a BASIC program. Should I give you code for it? Or should I let you figure it out with a little help if you need it?
« Last Edit: June 12, 2010, 05:39:06 pm by Runer112 »

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
Re: logo help
« Reply #20 on: June 12, 2010, 05:51:03 pm »
err, no. That was executed on basic since that's what I wrote it in. You don't need to create this part, DrawInv will do fine. Now, how would I make the logo be filled with sandstorm 2 instead of the original sandstorm? I think sandstorm 2 is more saturated on the actual calc.
Loved this place, still the best producers of power metal, and sparked my dreams of coding.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: logo help
« Reply #21 on: June 12, 2010, 05:54:29 pm »
So do you want me to give you code for it? Or should I let you do it and guide you if you need help?

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
Re: logo help
« Reply #22 on: June 12, 2010, 05:57:16 pm »
no. You don't have to give me the code for it. The final addition I need to make to my logo is to make it fill with sandstorm2 instead of the original sandstorm. How would  I do that exactly?
« Last Edit: June 12, 2010, 05:58:26 pm by Snake X »
Loved this place, still the best producers of power metal, and sparked my dreams of coding.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: logo help
« Reply #23 on: June 12, 2010, 06:04:24 pm »
Well you won't need to display grayscale any more, so just do normal display. Then, you'll need to modify the logo drawing routine to include another bitwise operation to copy the sandstorm to the front buffer as well.
« Last Edit: June 12, 2010, 06:06:36 pm by Runer112 »

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
Re: logo help
« Reply #24 on: June 12, 2010, 06:05:41 pm »
how would I change it from grayscale to normal display then?
Loved this place, still the best producers of power metal, and sparked my dreams of coding.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: logo help
« Reply #25 on: June 12, 2010, 06:07:11 pm »
Umm just checking, you have glanced at the documentation and command list, right?

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
Re: logo help
« Reply #26 on: June 12, 2010, 06:08:55 pm »
yeah.. but I will though since I haven't in a long enough time to forget this command.

Edit: the only difference in sandstorm and sandstorm 2 is the store/recall pic is present in the second one
« Last Edit: June 12, 2010, 06:11:01 pm by Snake X »
Loved this place, still the best producers of power metal, and sparked my dreams of coding.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: logo help
« Reply #27 on: June 12, 2010, 06:09:50 pm »
DispGraph

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
Re: logo help
« Reply #28 on: June 12, 2010, 06:12:03 pm »
oh... right....   :-[

yeah, I should be good.

edit: errm... You might as well help me on this one since im probably going to ask more questions than its worth on how to do the bitwise thing.
« Last Edit: June 12, 2010, 06:16:14 pm by Snake X »
Loved this place, still the best producers of power metal, and sparked my dreams of coding.

SirCmpwn

  • Guest
Re: logo help
« Reply #29 on: June 12, 2010, 07:11:34 pm »
Sorry I didn't get back to you on this, but I'm glad you got it figured out.