Author Topic: Grapher  (Read 8488 times)

0 Members and 3 Guests are viewing this topic.

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Grapher
« on: December 17, 2011, 05:22:13 pm »
Hey everyone! So I have been hanging out at my friends house and *pwning* his calculator. For the past hour I have been working on a graphing program for geometry. So far I have a GUI, graphing with lines, intersecting lines, and rectangles. (Keep in mind this project is only an hour old) Anyway, it is completely flickerless and so far the only grayscale is behind the X button. I will regularly update this post with all the things I add, and I will ALWAYS post a screenie  :D. This is what I have planned for this project:

- Flickerless movement and point plotting (Done)
- GUI (Done)
- Slope display in the corner
- Much more options
- Gray grid lines behind the screen to make it look like a graph (Done)

Update 1 is out! Link: http://ourl.ca/14522/272130

Anyways, if you have any problems or suggestions, feel free to post them below. Thanks :)

Screenie:


Download link for source and executable below:
« Last Edit: December 17, 2011, 10:12:21 pm by thydowulays »
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




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: Grapher
« Reply #1 on: December 17, 2011, 05:25:17 pm »
go to modify then you can add it at the bottom of the screen where it says add attachments

By the way!!! WELCOME TO OMNI!! You should Introduce yourself
« Last Edit: December 17, 2011, 05:25:54 pm by saintrunner »
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Grapher
« Reply #2 on: December 17, 2011, 05:27:14 pm »
go to modify then you can add it at the bottom of the screen where it says add attachments

By the way!!! WELCOME TO OMNI!! You should Introduce yourself

Thanks! I have introduced myself already. This website is pretty legit, so I'm going to be pretty active with all the projects I'm working on.
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




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: Grapher
« Reply #3 on: December 17, 2011, 05:29:33 pm »
sure thing! and Yeah, I really enjoy it, Oh (from experience) if you ever can't think of a project idea, you should check out the downloads section....The guys here are pretty hardcore and have some sweet games out!
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Grapher
« Reply #4 on: December 17, 2011, 05:31:49 pm »
sure thing! and Yeah, I really enjoy it, Oh (from experience) if you ever can't think of a project idea, you should check out the downloads section....The guys here are pretty hardcore and have some sweet games out!

Yeah I've seen some amazing stuff out there..... I've also kept up with your Seeker project. It looks pretty amazing! I'm still experimenting with platformer games, but I'm much better at GUI apps and top-view based games.
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




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: Grapher
« Reply #5 on: December 17, 2011, 05:33:45 pm »
I need to work on GUI apps. I can make you a simple platformer source code, if your interested
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Grapher
« Reply #6 on: December 17, 2011, 05:35:35 pm »
I need to work on GUI apps. I can make you a simple platformer source code, if your interested

I could help you with some GUI stuff :). The most advanced platformer I've made is one that uses unrealistic gravity and pxl-Test xD. But if you would like to help me with a platformer that would be nice as well :)
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




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: Grapher
« Reply #7 on: December 17, 2011, 05:43:10 pm »
Yeah, I'm still working on a more realistic gravity, as far as pxl-testing, I find that to be a pretty good way to go. But yeah, if you need help, just PM me (when you get enough posts lol)
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Grapher
« Reply #8 on: December 17, 2011, 05:47:29 pm »
Yeah, I'm still working on a more realistic gravity, as far as pxl-testing, I find that to be a pretty good way to go. But yeah, if you need help, just PM me (when you get enough posts lol)

Okay, thanks. Well I have to go for now, but thanks :)
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




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: Grapher
« Reply #9 on: December 17, 2011, 05:48:31 pm »
ok, Oh and you don't have to quote me every post... Just so you know :)
My Sprites Thread   :Updated often :) for your viewing pleasure

GAMES:

Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Grapher
« Reply #10 on: December 17, 2011, 06:34:40 pm »
:P

Yeah, I'm making a scrolling platformer.

Quote
The most advanced platformer I've made is one that uses unrealistic gravity and pxl-Test xD.
Having realistic gravity is really easy; you just need a few more variables.
But then once acceleration is fast, pixel testing gets a bit tricky. I'm figuring that out but I'm going to use leafiness0's strategy which is do a pixel test below the player and then keep moving up until it stops colliding.

For gravity, here's an example I made for saintrunner with some notes:
(saintrunner if you took that code, I made an error in that one. The guy won't fall O.O (this one is fixed (with y acceleration (which was -8 instead of 8 ))))

Jumping isnt really that bad.

[FFFFFFFFFFFFFFFF]->Pic1 ;Pic, but just a cube :P
56*256->Y ;X and Y are inflated by 256 for accuracy
0->X->V->W->A->B->J
Repeat getKey(15)
If getKey(54)
-256->W ;Set Y velocity to -256 to go up
256->V ;Set X velocity
8->B ;Set a downward acceleration to fall
End
If Y/256>57 ;simple collision with the bottom of screen
56*256->Y ;Reset
0->A->B->V->W
End
V+A->V+X->X ;Find X coordinates
W+B->W+Y->Y ;Find Y
Pt-On(X/256,Y/256,Pic1)
DispGraphClrDraw
End

Where X,Y are coordinates
V,W are velocities
A,B are accelerations

For this actual topic:
Looks cool. Imagine if for geometry someone made a two-collumn proof solver O.O
So this lets you draw lines and rectangles so far?
« Last Edit: December 17, 2011, 06:41:59 pm by epic7 »

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Grapher
« Reply #11 on: December 17, 2011, 07:22:34 pm »
Lol sorry saint, on most forum websites im on, people wont reply if you dont quote their posts. Thanks epic! Whoa, I didn't know there was a DispGraphClrDraw command. :O
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus




Offline epic7

  • Chopin!
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2200
  • Rating: +135/-8
  • I like robots
    • View Profile
Re: Grapher
« Reply #12 on: December 17, 2011, 07:28:33 pm »
From squidjetx's guide on optimizations, I've heard it does the same as
:DispGraph
:ClrDraw
But is twice as fast.

Offline Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: Grapher
« Reply #13 on: December 17, 2011, 08:21:15 pm »
This is just scary. I made a geometry program called Grapher, except it's for the computer.

Offline thydowulays

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 184
  • Rating: +12/-1
  • Don't gimme dat lip
    • View Profile
    • Thy Gaming Forum
Re: Grapher
« Reply #14 on: December 17, 2011, 08:49:26 pm »
lol nice. Can anyone help me with the gray lines that would make a grid? I have made a small program that displays gray lines, but i cant properly embed the concept in mine. The source is in the post. Could I have some help? Thanks :)
Current Projects:
-Sparta GUI Library: 25% - Alpha Stage
-Grapher - 75% - Beta Stage *on hiatus