Author Topic: testing gravity  (Read 9669 times)

0 Members and 1 Guest are viewing this topic.

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
testing gravity
« on: October 05, 2011, 08:49:56 pm »
Guess what? you'll never guess.
I wanted to see if I could simulate gravity, and it mostly worked!
this is my first ever real not really game, but sort of useless program in Axe!
I am so happy.
But, I have one question: run the program, and you will see what the problem is, it is too hard to explain.

I guess I should tell you the controls in it:
2nd-turn pixel on
mode-turn pixel off
Y=-clear entire screen
Graph-go to gravity simulator
clear-exit
2nd(while in gravity simulator)-rocket boost
arrow keys-move

source and executable are included

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: testing gravity
« Reply #1 on: October 05, 2011, 09:04:16 pm »
compile it for ion plz not asm(
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline boot2490

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 607
  • Rating: +54/-36
    • View Profile
    • Boot2490's Stuff
Re: testing gravity
« Reply #2 on: October 05, 2011, 09:07:44 pm »
No! I don't have a shell
Why is ion better?
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 #3 on: October 05, 2011, 09:10:21 pm »
compile it for ion plz not asm(
I have no idea what you are talking about. ???

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: testing gravity
« Reply #4 on: October 05, 2011, 09:11:34 pm »
Hbj: he included the source ;)
EDIT double ninja'd, blarg

So, the problem is when the char tries walk up a slope, it goes through it?  Try pixel-testing the pixels next to the feet, see if that fixes it.
I haven't looked at the source but I'd erase the initial sprite as well, so it doesn't stay there the entire time.


@parser in Axe you can select what to compile it for.  He's suggesting to compile for Ion instead of "No Shell."
« Last Edit: October 05, 2011, 09:14:39 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: testing gravity
« Reply #5 on: October 05, 2011, 09:14:20 pm »
Hbj: he included the source ;)

So, the problem is when the char tries walk up a slope, it goes through it?  Try pixel-testing the pixels next to the feet, see if that fixes it.


@parser in Axe you can select what to compile it for.  He's suggesting to compile for Ion instead of "No Shell."
oh, i never realized that problem, but i will fix that.
the problem i was referring to was when you first enter the gravity simulator, then when you move, a copy of the guy just sits there, and for some reason i can't get rid of him...

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: testing gravity
« Reply #6 on: October 05, 2011, 09:26:29 pm »
well i guess it doesn't matter :P
I just cant get it to run :/
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: testing gravity
« Reply #7 on: October 05, 2011, 09:27:58 pm »
what calc do you have?
i made it on an 84+ se

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: testing gravity
« Reply #8 on: October 05, 2011, 09:37:30 pm »
running it on Wabbit on 84PSE
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: testing gravity
« Reply #9 on: October 05, 2011, 09:38:42 pm »
this may sound stupid, but what's Wabbit? ???
a lot of people talk about it.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: testing gravity
« Reply #10 on: October 05, 2011, 09:48:48 pm »
emulator
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: testing gravity
« Reply #11 on: October 05, 2011, 09:50:27 pm »
http://wabbit.codeplex.com/
The best of the z80 emulators, and in active development :)
(more recent version under the Downloads tab)

I'm looking at the source now, btw.

EDIT:
Code: (from source) [Select]
Pt-Off(40,55,Pic3)Try getting rid of/commenting away this line, then see if it works.
« Last Edit: October 05, 2011, 09:59:53 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: testing gravity
« Reply #12 on: October 06, 2011, 07:02:32 pm »
Sweet thanks. don't know how that got in there.
new one should be coming soon...

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: testing gravity
« Reply #13 on: October 06, 2011, 09:10:35 pm »
No! I don't have a shell
Why is ion better?
It isn't much better, but when compiling a program No Stub (Asm(prgmNAME)), it doesn't show up under Ion nor MirageOS, only in Doors CS7. If compiled for Ion it cannot be ran from Asm(), but at least it shows up in every shell and in addition to that with Doors CS7 you can run it without the Asm( prefix like a BASIC program.

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: testing gravity
« Reply #14 on: October 06, 2011, 09:20:17 pm »
Quote
with DCS7
...and zStart, and NoShell, and CalcUtil, and maybe some others.
;)
« Last Edit: October 06, 2011, 09:20:35 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue