Author Topic: testing gravity  (Read 9666 times)

0 Members and 1 Guest are viewing this topic.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: testing gravity
« Reply #30 on: October 09, 2011, 09:54:23 pm »
It looks pretty awesome, parser.  Excellent work. :)

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: testing gravity
« Reply #31 on: October 10, 2011, 03:49:27 pm »
Hey, ima make you a screenie.


hey, that looks farmiliar ;)
thanks butts!

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: testing gravity
« Reply #32 on: October 10, 2011, 06:00:58 pm »
Wow! How did you get slopes to work???

Can I use this (or parts of it) for my game?
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: testing gravity
« Reply #33 on: October 10, 2011, 06:08:38 pm »
Wow! How did you get slopes to work???

Can I use this (or parts of it) for my game?
of course you can! I love to be of service.
check out the source, I commented it as much as possible...
happy programming! :trollface:
nice emoticon. :)

EDIT: just please give me credit  ;)
« Last Edit: October 10, 2011, 06:26:36 pm by parser padwan »

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: testing gravity
« Reply #34 on: October 10, 2011, 06:39:25 pm »
I will, but I am very busy as of late and I am actually considering taking a one week break from omni.
I have more than three sprite requests, almost ten projects of my own, and more schoolwork than ever. But, I try to multitask.
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: testing gravity
« Reply #35 on: October 11, 2011, 10:37:23 am »
*cough* jumping *cough*
looks good btw.
I'm not a nerd but I pretend:

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: testing gravity
« Reply #36 on: October 11, 2011, 11:21:53 am »
The jumping looks kinda forced, though, it doesn't slow down at the top, and it jumps too high.
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: testing gravity
« Reply #37 on: October 11, 2011, 02:31:44 pm »
In the program, you don't actually jump. You use your rocket booster and go upwards.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: testing gravity
« Reply #38 on: October 11, 2011, 03:07:58 pm »
The screenshot looks awesome!
*Yeong wonders how to make slope(up) work
Sig wipe!

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: testing gravity
« Reply #39 on: October 11, 2011, 03:25:37 pm »
yeah, thats cool.
I'm not a nerd but I pretend:

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: testing gravity
« Reply #40 on: October 11, 2011, 06:18:43 pm »
How does the slope work?
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: testing gravity
« Reply #41 on: October 11, 2011, 08:22:15 pm »
How does the slope work?


First of all, here's the guy sprite: (for the pxl-Tests)
00111000
00101000
00111000
00010000
01111100
00010000
00101000
00101000
Quote from: code
Code: [Select]
:./= this means "does not equal to"
:.X is the players X position and Y is the players Y position
:
:.see if going up slope to the left
:
:If getKey(2) and (X/=1) and (pxl-Test(X+2,Y+7)) and (Y/=1)
:Y-1->Y
:End
:
:.see if just going left
:
:If getKey(2)
:X-1->X
:End
:
:see if going up slope to the right
:
:If getKey(3) and (X/=88) and (pxl-Test(X+6,Y+7)) and (Y/=1)
:Y-1->Y
:End
:
:.see if just going right
:
:If getKey(3) and (X/=88)
:X+1->X
:End

all it is is just pxl tests near the feet, seeing if there is a slope.
hopefully that helped. :)
« Last Edit: October 11, 2011, 08:25:56 pm by parser padwan »

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: testing gravity
« Reply #42 on: October 12, 2011, 04:18:03 pm »
That makes sense. Cool!
I'm not worried about SOPA creating censorship, that will not stand for long. I'm worried that they'll succeed in stopping piracy!

Spoiler For Signature, updated march 23, 11:28 PM EST:















An useful tool!

PM me if you need some help. I am glad to be of assistance and part of the TI Communnity.

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: testing gravity
« Reply #43 on: October 15, 2011, 10:52:30 pm »
Woot I finally found out how to do screenies!!!  :w00t:

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: testing gravity
« Reply #44 on: October 15, 2011, 11:05:38 pm »
This is late, but
No! I don't have a shell
Why is ion better?
You can run programs compiled for Ion directly from the homescreen as well, no shells needed.