Author Topic: Your Projects - Post and Critique  (Read 116624 times)

0 Members and 1 Guest are viewing this topic.

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: Your Projects - Post and Critique
« Reply #420 on: July 09, 2010, 03:29:40 pm »
I've updated the Jetpack Simulation program.


Differences:
     The character sprite is changed mildly (no more "Look Mom! No hands!")
     HUD greatly improved
     Now, it says Autopilot On/Autopilot Off
     When autopilot is working, its corner inverts
     Life-like measurements and...
          (slightly inaccurate) Metric system support! Press MODE to switch
     'Super Boost' key, try to find it
     The arrow that appears on top goes up and down
     Can't go up infinitely
     The ground is at 0 instead of -48
     If you go too fast, the Y-Velocity Inverts as a warning
     Autopilot will not fire if person is on the ground, only in the air
     Source has spaces for less confusion
     Some display/autopilot fixes

I have a pretty good idea of how to make this into a game engine.  I just need to figure out how to implement tilemaps and TIOS pics and such.
Probably more versions to come
« Last Edit: July 09, 2010, 03:40:48 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline BuckeyeDude

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 283
  • Rating: +42/-0
    • View Profile
Re: Your Projects - Post and Critique
« Reply #421 on: July 09, 2010, 06:46:16 pm »
I think BuckeyeDude should examine those file formats, because it might be good that his emu supports this format.

And I did so. It appears that the flag and version fields were switched in the header. Basically if you take the file from the archive of your calc, one byte (the 69th one) is $80. The very next byte is the version. Your files had these bytes switched, so basically if you removed them from your calc archived, the calc wouldn't accept them because they believed that they were from a way newer version of the OS. Thus if they were taken from ram, (which just has the byte as 0) they work fine. I'll let lionel know, so he can check it.

Also dj thanks, but its definitely not my emu, i'm really only a maintainer. :P I dont want to steal jim and spencers credit
« Last Edit: July 09, 2010, 06:47:44 pm by BuckeyeDude »

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: Your Projects - Post and Critique
« Reply #422 on: July 09, 2010, 08:44:22 pm »
Aaah ok ^^

And Darl, nice ^^

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Your Projects - Post and Critique
« Reply #423 on: July 10, 2010, 05:33:01 pm »
darl, what kind of game would you might be implementing it into?


Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Your Projects - Post and Critique
« Reply #424 on: July 11, 2010, 02:40:47 am »
@Darl: I know there isn't much to the demo yet but I'll be the first to say that it looks really cool! I'd be interested in seeing what it could be further developed into. ^^

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: Your Projects - Post and Critique
« Reply #425 on: July 12, 2010, 03:29:37 pm »
Thanks!
I've tried to add a pause menu, but it's very glitchy and afterwards caused the screen to flash and do all this weird stuff.
As for the kind of game, I was thinking of making a sort of papijump clone in which the platforms disappear or something.
In the meantime, and in response to a few "how does this work" questions (mostly from school), I wrote this commented and working source that's only the actual movement engine.  I was thinking parts of it might be useful for an axe pinball game???

Come to think of it, I'll put up JETSRC3 anyway.  MATH is the problematic menu.  'Options' doesn't do anything.  'Quit' is what you should avoid.
CLEAR is still the quit key, or the "emergency exit" key if you tried the Pause→Quit action.
[^]now inverts the screen and does a wave effect from the "Wave Simulator-Sort of" thread
If you leave the program running without pressing any keys for about a minute, it will ask "You Still There?" and count down from 10, quitting on 0.
Also in V3 are minor bug and sprite fixes as usual

Edit..
I know a papijump thing wouldn't really need TI-OS picvars, but I'm still curious.
How can I do it?

[irrelevant]does anybody know where the sub( or th enew ref( rref( tokens are? or are they only in the Catalog?
[/irrelevant]
« Last Edit: July 12, 2010, 03:41:15 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

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: Your Projects - Post and Critique
« Reply #426 on: July 12, 2010, 04:43:47 pm »
I'll probably give those a try later

As for Papijump, Ztrumpet made one in Axe 0.0.5, back in Feb or March, he migth be able to help you. Someone else made one too, but I forgot who.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Your Projects - Post and Critique
« Reply #427 on: July 12, 2010, 04:50:16 pm »
sub( is in the catalog, and is best accessed by going up from 'T'
ref( and rref( are in the matrix menu under math.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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: Your Projects - Post and Critique
« Reply #428 on: July 14, 2010, 04:39:45 pm »
Thanks.
And I just remembered why I never used wabbitemu, apart from the archive thing.
Is there a working 84+ skin where they're the same size anywhere?

as for the other person who wrote papijump, I remember, before I registered, it was like guy followed by a load of numbers.
The main problem is probably going to be the pxl-test when the jetpack-wearing person is falling 5 pixels a frame. I'm trying to make it as reaistic as possible...

EDIT:
Oops, had an old version. 1.5 works. yay!
« Last Edit: July 15, 2010, 02:57:37 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

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: Your Projects - Post and Critique
« Reply #429 on: July 18, 2010, 10:17:37 pm »
yeah pixel test is hard when you don't fall at one pixel rate. I got lot of troubles in my ball game x.x

Also I tried your two programs and nice physics, but I had troubles exiting the new jet thing, also the menu cursor moved in opposite direction :(

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: Your Projects - Post and Critique
« Reply #430 on: July 19, 2010, 03:25:52 pm »
Yeah, I can't figure out the habits of the 'return' token.  In the beginning of the program I have "If getkey(15):Goto E:End" with Lbl E as the ending label.
*Takes out calc and opens JETSRC3*
The pause menu is a subroutine (PM) in which a variable is manipulated. If the variable {L1+4} (ran out of letters) equals 1 or 2, is has a return token to go back to the main loop.
If it equals 3 (Quit), it should go to Lbl E.

If {L1+4}=3
Goto E
End

Lbl E
ClrDraw
Clrhome
Fix2
Fix4

Should, but seems not to.
Trying to fix some 'Idiot errors'.
RAM just cleared.  That was really odd...

If you get problems getting out of jet3, [CLEAR] is still a fast, bug-free, no-menu-used exit.
I would suggest just staying clear of the menu for now until I get it fixed.
I'll have to re-write the whole menu thing.
« Last Edit: July 19, 2010, 03:29:49 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

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: Your Projects - Post and Critique
« Reply #431 on: July 19, 2010, 03:28:59 pm »
Oh I did use Clear and it still happened ???

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: Your Projects - Post and Critique
« Reply #432 on: July 19, 2010, 03:38:37 pm »
Try letting it sit until The number on the top-left counts up to 600.
If you don't want to wait that long, then..
In the source, scroll to the line before the
. About 1 min.
And after
.AUTO PROGRAM
 END (APD-LIKE)

You could change the number where it says If R=600 to a lower number so you don't have to wait as long.
If all else fails, Mirage has that nifty ON+CLEAR shortcut.

Hmm, seems like I took out the If getKey thing from the source.
This'll be tricky...
« Last Edit: July 19, 2010, 03:46:17 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Your Projects - Post and Critique
« Reply #433 on: July 19, 2010, 03:41:47 pm »
Darl181, "return" is the statement that does two things. it a) exits the subroutine it's currently in or b) if not in a subroutine, exits the program.

so if you have an If statement that jumps to a subroutine at the end of the program and expect the program to end, it won't, because they program is in a subroutine. so after the If statement becomes true, the program will jump to the subroutine (lbl E in this case) and then notice it's at the end of the program, so it'll assume "Return" has been placed there. from there, it will exit the subroutine, not the program. just the subroutine. so if you want to exit the program on an If statement, try this.

Code: [Select]
ReturnIf (EXP)

so if you wanted to exit the program when a user presses clear you could use
Code: [Select]
ReturnIf getKey(15)
« Last Edit: July 19, 2010, 03:43:18 pm by nemo »


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: Your Projects - Post and Critique
« Reply #434 on: July 19, 2010, 03:42:45 pm »
Ok thanks

And I didn't knew the Mirage shortcuts worked in Axe programs. Most ASM programs made after 2001 blocks those.