Author Topic: xy  (Read 17037 times)

0 Members and 1 Guest are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: xy
« Reply #60 on: May 09, 2011, 08:48:17 am »
Scout: not yet. I'd like to perfect the engine before I put anything new in it.

Yeah that's the way to go :D

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: xy
« Reply #61 on: May 09, 2011, 09:44:05 am »
Scout: not yet. I'd like to perfect the engine before I put anything new in it.

Yeah that's the way to go :D
That way I run less risk of breaking enemies when I make things better.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: xy
« Reply #62 on: May 09, 2011, 11:14:54 am »
Do you have any screenies? We <3 screenies.
This is sounding awesome, cant wait to play it :D
I'm not a nerd but I pretend:

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: xy
« Reply #63 on: May 09, 2011, 10:17:02 pm »
NEW XY!!!!!!!
I'm implementing my own, much altered, barely recognizable version of Bresenham's algorithm. It's not that I don't appreciate all the help everyone has provided, I just didn't get to a computer in time :P
I'm very proud of the fact that I have all eight directions Covered in one loop.
Here's my line algorithm:
X=X2
Y=Y2
T=X1
U=Y1

Code: (Frey's line drawing algorithm) [Select]
X-T->A
Y-U->B
A>>0-(A<<0)->I
B>>0-(B<<0)->J
abs(A)->C
abs(B)->D
If C>=D
C->H
Else
D->H
End
For(Q,0,H
Pxl-On(Q*A//H+T,Q*B//H+U
End
DispGraphClrDraw

Get it over here!
http://ourl.ca/10519/205534

EDIT: I posted the wrong algorithm. Whoops. X.X
« Last Edit: May 10, 2011, 04:06:36 pm by Freyaday »
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: xy
« Reply #64 on: May 10, 2011, 10:21:18 pm »
New xy! I added a bunch of new features and changed some button mappings.

Go get it over at
http://ourl.ca/10519/205534
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: xy
« Reply #65 on: May 10, 2011, 11:13:45 pm »
Okay, there's an engine. Where's gameplay at?
In-progress: Graviter (...)

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: xy
« Reply #66 on: May 10, 2011, 11:39:45 pm »
Hmm I haven't followed this much, but I don't understand the concept much. For some reasons when I moved around I would move diagonally. Is this intentional? ??? It looks fast, though O.O
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Re: xy
« Reply #67 on: May 10, 2011, 11:40:28 pm »
Velocity is high=You seem to move in a straight line beacuse gravity is low?
In-progress: Graviter (...)

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: xy
« Reply #68 on: May 10, 2011, 11:41:09 pm »
I don't know, but I mean sometimes I pressed down and moved diagonally. ???
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: xy
« Reply #69 on: May 11, 2011, 01:27:14 am »
Things move in straight lines in xy because time is quantized, so gravity only affects things once a time quantum passes. A "tick", if you will. Things travel in straight lines until something acts upon them, ie another tick occurs and gravity affects them again. This is not appearent at low speeds because ticks happen before it gets too far, creating the illusion of a curve.
DJ, when you press an arrow key, it doesn't affect the perpendicular direction of gravity. Hold down Alpha to show gravity direction
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

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: xy
« Reply #70 on: May 11, 2011, 02:27:11 am »
Ah ok, thanks for the info.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: xy
« Reply #71 on: May 11, 2011, 02:35:18 am »
You're very welcome. :)

Here's a screenie for y'all
Note: runs faster on real calc.
« Last Edit: May 11, 2011, 03:05:05 am by Freyaday »
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

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: xy
« Reply #72 on: May 11, 2011, 08:26:55 pm »
Nice. What is the difference between bold arrows and the others?

Also I like that circle effect. It almost look like 3D O.o
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: xy
« Reply #73 on: May 11, 2011, 08:38:42 pm »
The difference is in direction only. The reason that set of arrows is bold is because I couldn't find a character that matched the other three arrows, so I decided to go with that one.
At one point (this was never uploaded) you could change the ball diameter on the fly from 8 all the way down to one. I realized that the only way I could get a feasible collision engine going was if the ball diameter was 1, so, yeah.
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: xy
« Reply #74 on: May 11, 2011, 08:40:58 pm »
Wow.  That circle thing looks epic.  O.O
ld a, 0
ld a, a