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

0 Members and 2 Guests are viewing this topic.

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 #240 on: May 31, 2010, 01:06:23 pm »
I'm not sure. What I think is that it's because BB was setup to launch BASIC programs and the author did not take ASM ones into account. Maybe someone has a way to do it or maybe the author could update it to launch ASM programs. I don't know.

As for inverting parts of the screen I've been wondering that too. If the boxes width and heights are multiples of 8, you can use multiple 8x8 black sprites to invert them, though.

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Your Projects - Post and Critique
« Reply #241 on: May 31, 2010, 01:13:02 pm »
And when I insert the pic into the program, I added det(12 before Pic#->DispGraph, but it displays some random pixels on the bottom row where the inaccessible row 64 is.  I don't think det(12 WORKS THERE, BECAUSE i'M guessing thats a portion of the next Pic in RAM.  If I'm right, can someone tell how to fix this? ???

You have to put the det(12) directly after the picture data because the det command is a data command and isn't actual code.
___Axe_Parser___
Today the calculator, tomorrow the world!

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: Your Projects - Post and Critique
« Reply #242 on: May 31, 2010, 01:18:18 pm »
Hey, yunhua98 welcome here!  Although I don't think you need more games now, if you want you can use any Axe games I'd made that are in this thread.  Keep in mind that most of them were for previous versions of Axe. ;D  What you've done looks nice! :D

I've got a math final today, and when I'm done, I'm going to make a multitask clone ;D
I can't wait to see it! ;D

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Your Projects - Post and Critique
« Reply #243 on: May 31, 2010, 09:55:42 pm »
I'm not sure. What I think is that it's because BB was setup to launch BASIC programs and the author did not take ASM ones into account. Maybe someone has a way to do it or maybe the author could update it to launch ASM programs. I don't know.
I meant if we started with a BASIC program with the first line Asm(prgmPROGNAME, which then returns, uses number stored in ANS to determine which game to go to.
And when I insert the pic into the program, I added det(12 before Pic#->DispGraph, but it displays some random pixels on the bottom row where the inaccessible row 64 is.  I don't think det(12 WORKS THERE, BECAUSE i'M guessing thats a portion of the next Pic in RAM.  If I'm right, can someone tell how to fix this? ???

You have to put the det(12) directly after the picture data because the det command is a data command and isn't actual code.

Thanks!  Can you implement the Inverting part of screen as a command?
Suggestion: "iPart(coordinates of top left corner, coordinates of bottom right corner)" maybe? (invertPart)  (This is assuming its always a rectangle.) ;)
« Last Edit: May 31, 2010, 10:58:39 pm by yunhua98 »

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Your Projects - Post and Critique
« Reply #244 on: May 31, 2010, 10:03:05 pm »
^++
Agreed and seconded.
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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 #245 on: June 01, 2010, 03:13:51 am »
It would be nice, but if you don't need speed (IMHO, if it's for a menu selection, you don't need speed) and use inverting at several places, you can simply store the 4 coordinates edges in variables, then put the filling code in a sub routine.

10->A
5->B
65->C
25->D
Sub(FI)

Lbl FI
For(E,A,C)
For(F,B,D)
Pxl-Change(E,F)
End
End
DispGraph
Return

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Your Projects - Post and Critique
« Reply #246 on: June 01, 2010, 04:52:59 am »
Even if speed was a factor, that routine is still really fast :P
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Your Projects - Post and Critique
« Reply #247 on: June 01, 2010, 11:59:01 am »
Thanks DJ, thats what I was going to use until Quigbo decides about the my suggestion, although I realize your code is better than the one I put in.
*[Clear], [Del], ...*

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Your Projects - Post and Critique
« Reply #248 on: June 01, 2010, 12:23:59 pm »
Hmm, the idea could work.  I like the idea for iPart() as the command, but at the same time, I am also planning to add the Rect() command for drawing filled boxes and I wonder if I can use a modifier to switch between fill black, fill white, and fill invert.  This will come when I get to geometry drawing, but don't expect it for a while.
___Axe_Parser___
Today the calculator, tomorrow the world!

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 #249 on: June 01, 2010, 03:03:09 pm »
Rect() sounds better IMHO.

A modifier could be used indeed.

Example

Rect(x1,y1,x2,y2,modifier)

0=filled black
1=filled white
2=filled XOR
3=black outline
4=rickroll
5=white outline
6=XOR'ed outline

For outlines, I think people can easily use Line(), though, and make a routine like a few posts ago if they need to draw a filled rectangle with different outline color multiples times in their program
« Last Edit: June 01, 2010, 03:03:27 pm by DJ Omnimaga »

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Your Projects - Post and Critique
« Reply #250 on: June 01, 2010, 08:27:37 pm »
i can't upload a screenshot, unfortunately (last time i tried to rom dump all i got was a nasty ram clear)

but, here are files of a relatively simple game where you jump on platforms and try not to hit the ground.
it's for the ti 84+ , since most programs i make are only for myself i don't bother with compatibility. however, if you don't own a ti 84 then in the source simply change the variable T from 90 to 30. otherwise, your game will go very, very slowly (:

EDIT: the number below "score:" when you die was just for me to keep track of how many milliseconds the game was pausing at a certain score... your actual score is to the right of the text. oh, and if anyone takes the time to beat 1756 points, you beat me.
« Last Edit: June 01, 2010, 08:37:51 pm by nemo »


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: Your Projects - Post and Critique
« Reply #251 on: June 01, 2010, 08:41:19 pm »
Nemo, that's pretty cool.  Nice program! :D

Rect() sounds better IMHO.

A modifier could be used indeed.

Example

Rect(x1,y1,x2,y2,modifier)

0=filled black
1=filled white
2=filled XOR
3=black outline
4=rickroll
5=white outline
6=XOR'ed outline

For outlines, I think people can easily use Line(), though, and make a routine like a few posts ago if they need to draw a filled rectangle with different outline color multiples times in their program
* ZTrumpet uses Rect(0,0,95,63,4) on DJ_Omni! ;D

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Your Projects - Post and Critique
« Reply #252 on: June 01, 2010, 08:49:57 pm »
@nemo: Wonky controls but I beat ya score. :) [2154]
@ztrumpet: I need the RECT() command; GIMME!
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Your Projects - Post and Critique
« Reply #253 on: June 01, 2010, 08:53:21 pm »
what?! i was playing that game all day in math today!
i know the controls are weird  :) for example, when you hit your head on an overhead platform, your velocity is set really low so it seems like your character kind of hangs there for a moment before descending.


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 #254 on: June 01, 2010, 10:14:28 pm »
Oh nice game, I noticed the head glitch, tho XD

It was weird at first but I got used to it and nice game ^^

Screenshot below: