Author Topic: The Reign of Legends 3 Port [Grammer]  (Read 27798 times)

0 Members and 1 Guest are viewing this topic.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: The Reign of Legends 3 Port [Grammer]
« Reply #135 on: February 02, 2012, 05:43:15 pm »
Ok. I was messing with sine and cosine because I wanted to implement them in Omnima magic.
and this is the result XD

2nd/ALPHA = change rotation speed
F1/F2 = spread/closer
arrow key= move circles

source:
Code: [Select]
:.0:
://CIRCLE TEST
:.MAG15
:0→A→B→C
:1→F
:9→G
:Repeat getKey(15
:ClrDraw
:A→Z
:prgmLbl "CIRCO
:Circle(C,B,5,1
:Circle(C,B,3,1
:A+128→Z
:prgmLbl "CIRCO
:Circle(C,B,5,1
:Circle(C,B,3,1
:A+64→Z
:prgmLbl "CIRCO
:Circle(C,B,5,1
:Circle(C,B,3,1
:A+64+128→Z
:prgmLbl "CIRCO
:Circle(C,B,5,1
:Circle(C,B,3,1
:DispGraph
:A+F→A
:G+getKey(53
:-getKey(52
:→G
:F+getKey(54
:-getKey(48
:→F
:D+getKey(3
:-getKey(2
:→D
:E+getKey(1
:-getKey(4
:→E
:End
:.CIRCO
:128+cos(Z
:10+D+Ans/G→B
:128+sin(Z
:10+E+Ans/G→C
:End
:Stop

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: The Reign of Legends 3 Port [Grammer]
« Reply #136 on: February 02, 2012, 06:13:29 pm »
Holy crap, that is really cool! Like, wow O.O

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: The Reign of Legends 3 Port [Grammer]
« Reply #137 on: February 02, 2012, 06:14:50 pm »
That looks great! I wonder if there will be some flashing backgrounds or stuff with it? It would make it look more OP. :D

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: The Reign of Legends 3 Port [Grammer]
« Reply #138 on: February 02, 2012, 07:35:44 pm »
Oh my word O.O Three more things I want to note:
1) I found some optimisations to make it faster
2) That is 6MHz ?!!? Wow!
3) I just made a version that also lets you add more to the ring and it is smaller and faster. I also think I have a bug in one specific part of my code to compute sine and cosine, so hopefully I can have that fixed x.x

Code: [Select]
3→N
256/N→I
0→A →B →C      ;need spaces here!
1→F
9→G
Repeat getKey(15
ClrDraw
A→Z
For(H,1,N
128+cos(Z
10+D+Ans/G→B
128+sin(Z
10+E+Ans/G→C
Circle(C,B,3,1
Circle(C,B,5,1
Z+I→Z
End
DispGraph
A+F→A
G+getKey(53
-getKey(52→G
F+getKey(54
-getKey(48→F
D+getkey(3
-getKey(2→D
E+getkey(1
-getKey(4→E
getKey(10
-getKey(11
If +N
+N→N 256/N→I
End
Stop

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: The Reign of Legends 3 Port [Grammer]
« Reply #139 on: February 02, 2012, 11:05:20 pm »
Pretty nice Xeda :D

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: The Reign of Legends 3 Port [Grammer]
« Reply #140 on: February 04, 2012, 06:09:25 pm »
Omnima testing part 2.

Code: [Select]
:.0:
://CIRCLE TEST
:.MAG15
:0→A →D →E
:1→F →N
:9→G →H
:Repeat getKey(15
:ClrDraw
:256/N→M
:For(O,1,N
:O-1
:*M
:+A→Z
:prgmLbl "CIRCO
:Circle(C,B,5,1
:Circle(C,B,3,1
:End
:If A^2
:Fill(1
:DispGraph
:A+F→A
:G+getKey(53
:-getKey(52
:→G
:F+getKey(54
:-getKey(48
:→F
:D+getKey(3
:-getKey(2
:→D
:E+getKey(1
:-getKey(4
:→E
:N+getKey(51
:-getKey(50
:If ! 
:N
:→N
:H+getKey(47
:-getKey(46
:→H
:End
:.CIRCO
:128+cos(Z
:10+D+Ans/G→B
:128+sin(Z
:10+E+Ans/H→C
:End
:Stop

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: The Reign of Legends 3 Port [Grammer]
« Reply #141 on: February 04, 2012, 06:28:05 pm »
O.O I almost said some inappropriate, non-PG things O.O That is freaking awesome! Do you mind if I play with that to see if I can do some 3D stuff?

EDIT: Also, instead of doing prgmLbl "CIRCO, I would do something like Lbl "CIRCO→K before the mainloop when you are initialising variables and then use prgmK

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: The Reign of Legends 3 Port [Grammer]
« Reply #142 on: February 04, 2012, 06:29:42 pm »
sure. :D
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: The Reign of Legends 3 Port [Grammer]
« Reply #143 on: February 04, 2012, 06:30:25 pm »
*saint just past out
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: The Reign of Legends 3 Port [Grammer]
« Reply #144 on: February 04, 2012, 06:35:01 pm »
There are folks that want a flight simulator and they think Grammer can do it after seeing this O.O They are serious about this, by the way o.o
:thumbsup: for you

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: The Reign of Legends 3 Port [Grammer]
« Reply #145 on: February 04, 2012, 06:38:15 pm »
There are folks that want a flight simulator and they think Grammer can do it after seeing this O.O They are serious about this, by the way o.o
;D for you
O.O
* TBO_Yeong can't see how Omnima will turn out.
Sig wipe!

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: The Reign of Legends 3 Port [Grammer]
« Reply #146 on: February 05, 2012, 09:45:19 am »
Really cool looking graphic work there Yeong and Xeda! :D

*Edit* Xeda was reffering to when I had 2520 posts. Only Xeda would know such things. ;D  :thumbsup:
« Last Edit: February 05, 2012, 10:07:19 am by Art_of_camelot »

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: The Reign of Legends 3 Port [Grammer]
« Reply #147 on: February 05, 2012, 09:51:47 am »
All I did was modify yeongs code, I had no clue how to go about this on my own o.o Also, side note, the number of posts you have made is now divisible by integers 1 through 10 (and is the smallest such integer with this property)

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: The Reign of Legends 3 Port [Grammer]
« Reply #148 on: February 05, 2012, 02:29:49 pm »
Looks nice, but I seriously hope there is some background animation or something to go with it, like in one of Darl181's former avatar, for example, otherwise I think this looks too much like a Cure spell or something and not a powerful attack spell.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: The Reign of Legends 3 Port [Grammer]
« Reply #149 on: February 05, 2012, 02:31:08 pm »
I'm just messing with circles and trigs right now. The finished Omnima will have everything like flicker, damage, and giant Yamato Cannon laz0r beam.
Sig wipe!