Author Topic: uPong  (Read 20727 times)

0 Members and 1 Guest are viewing this topic.

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: uPong
« Reply #15 on: December 21, 2010, 12:43:44 am »
wow the frame rate and smoothness is impressive for a calc. welldone!
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: uPong
« Reply #16 on: December 21, 2010, 05:55:38 am »
wow the frame rate and smoothness is impressive for a calc. welldone!

Thanks much :)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: uPong
« Reply #17 on: December 21, 2010, 05:58:01 am »
DJ; this is an automatically created thread that nobody seems to be using :S This is the main topic.

Mhmm nice, at least the ball doesn't always bounce back at the same horizontal speed. It makes the game more challenging. Are you planning to add more features to it? Are you also planning to eventually work on your very own games from scratch (without re-using anyone's code) in the near future?

DJ, I am already working in projects from scratch, but in order to learn Axe, I made this little edits :D I also made another one but I'm not uploading it. I'll keep on editing games, but probably this is the last one I upload.

At the moment, I'm working in:
> Axe Guitar Hero;
> A Platformer with the help of Ashbad;
> Orbisism?? (haven't heard of it lately):


Also, I made a Game Maker Pong where the ball always bounced the same way :P
« Last Edit: December 21, 2010, 05:58:22 am by ScoutDavid »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: uPong
« Reply #18 on: December 21, 2010, 03:30:42 pm »
Yeah I saw now. I just could not find any other topic until today. I'll merge this one with the other.

I'm glad you're working on some new stuff.

You might want to not release too many edits of other people program on ticalc.org, otherwise you may get a bad reputation among other ticalc.org users since they'll think you don't do anything new. I think modifying programs is a good way to practice Axe programming, though.This is how I learned TI-BASIC besides the manual.
yunhua98: If I make any improvements to this game it'll probably be a two players in one calculator version, because what you did is weird xD It's good, I'm not negatively judging your program, but it's hard to understand your program :S
I think his program is fine, although from the screenshot it looks hard O.O

EDIT: Note, the double-posts above are not intended as double-posts. THis is because two topics were merged together and they both had replies.
« Last Edit: December 21, 2010, 03:35:58 pm by DJ Omnimaga »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: uPong
« Reply #19 on: December 21, 2010, 07:08:07 pm »
Quote
[16:48:48] <@DJ_Omni> Scout you complain about people checking your source code, yet you release other people program adding yourself as co-author, without adding any single noticeable new thing but a menu

I can't take this off my head... I am quite sure I added way more stuff than a menu (both in uPong and Racer3D: Replay).

I just made a new version! Added a pig mode where the ball is substituded by a pig face and changed the "made by" in the title screen :)

Screenshots:


The pig mode is activated by pressing 8. The collision doesn't work so well in this mode :(

« Last Edit: December 21, 2010, 07:12:59 pm by ScoutDavid »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: uPong
« Reply #20 on: December 21, 2010, 07:14:00 pm »
Quote
[16:48:48] <@DJ_Omni> Scout you complain about people checking your source code, yet you release other people program adding yourself as co-author, without adding any single noticeable new thing but a menu

I can't take this off my head... I am quite sure I added way more stuff than a menu (both in uPong and Racer3D: Replay).

I just made a new version! Added a pig mode where the ball is substituded by a pig face and changed the "made by" in the title screen :)

Screenshots:


The pig mode is activated by pressing 8. The collision doesn't work so well in this mode :(


Well I did not mind that you add a menu and stuff and add yourself to author list, but your comment directed at Graphmastur about checking your source code wasn't any better. It was like if you were allowed to look at other people source and do some modifications, but other people were not allowed to do the same with your programs. Kinda a double-standard there. So I had to bring this up. As for new features I meant stuff like the screenshot in your update, having multiple balls at once, linked gameplay (although that might be hard), maybe even power-ups/downs.

The TI community just do not take comments like the one posted on IRC earlier very lightly. Jhgenius01 was banned one week for that once.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: uPong
« Reply #21 on: December 21, 2010, 07:21:43 pm »
Code: [Select]
.UPONG

"<easy>"->Str4

"SCORE:"->Str2
[6363636363633F1F]->Pic3
[FCFEC6C6FEFCC0C0C0]->Pic4
[3C7EE7C3C3E77E3C]->Pic5
[00CEDFF3E3C3C3C3]->Pic6
[3F7FC3C37F3F037FFE]->Pic7
[FF00000000000000]->Pic8
[1F2868A76A2A271F]->Pic9
[F81416E55654E4F8]->Pic0

DiagnosticOff
Lbl 1
ClrDraw
ClrHome
Fix 5
.Code for image
Pt-On(25,10,Pic3   
Pt-On(34,9,Pic4   
Pt-On(34,10,Pic4+1
Pt-On(42,10,Pic5   
Pt-On(51,10,Pic6   
Pt-On(60,9,Pic7   
Pt-On(60,10,Pic7+1

Pt-On(0,19,Pic8
Pt-On(8,19,Pic8
Pt-On(16,19,Pic8
Pt-On(24,19,Pic8
Pt-On(32,19,Pic8
Pt-On(40,19,Pic8
Pt-On(48,19,Pic8
Pt-On(56,19,Pic8
Pt-On(64,19,Pic8
Pt-On(72,19,Pic8
Pt-On(80,19,Pic8
Pt-On(88,19,Pic8
Pt-On(96,19,Pic8


Text(32,21,"2nd:play

If sub(CS,"<easy>",Str4)
Text(35,28,Str4
Else
Text(34,28,Str4
End

Text(29,35,"clear:quit

"|vPongHS"->Str5
GetCalc(Str5)->H
!If H
UnArchive Str5
GetCalc(Str5)->H
End
!If H
GetCalc(Str5,8)->H
End

If sub(CS,"<easy>",Str4)
If {H}>9
Text(25,42,"Highscore:",{H}>Dec
Else
Text(27,42,"Highscore:",{H}>Dec
End
Else
If {H+1}>9
Text(25,42,"Highscore:",{H+1}>Dec
Else
Text(27,42,"Highscore:",{H+1}>Dec
End
End



Fix 3
Text(0,49,"             made by: David G.                           
Text(0,55,"                                           Kevin H.                                       
Fix 2

DispGraph



Repeat getKey->theta
End

If getKey(3) or getKey(19)
104->{Str4+1}
114->{Str4+3}
100->{Str4+4}
End

If getKey(2) or getKey(35)
101->{Str4+1}
115->{Str4+3}
121->{Str4+4}
End

If theta=28
1->G
End

If theta=15
Fix 4
ClrHome
ClrDraw
Return
End

.THIS IS THE START OF THE GAME CODE
If theta=54
ClrDraw
0->S-1->D
44->Z*256->X
10->Y
sub(HT)

Repeat getKey(15)

If sub(CS,"<hard>",Str4)
4->M
Else
2->M
End

.MOVE LEFT CODE
If getKey(2) or getKey(35) and (Z!=0
Z-M->Z
End

.MOVE RIGHT CODE
If getKey(3) or getKey(19) and (Z!=88
Z+M->Z
End

.RANDOM POSITION FOR BALL
X+V->X
Y+D->Y

.LOSING CODE
If Y>70
Goto D
End

.RANDOM POSITION FOR BALL WHEN HIT UPPER BARRIER
If Y=0
sub(HT)
End

.HIT IMAGE CODE
If Y=54 and (abs(X/256-Z)<8
sub(HT)
S+1->S
End
If X/256=0 or (X/256=88
~V->V+X->X
End



ClrDraw
[000000000000FFFF]->Pic1
[0000182C3C180000]->Pic2
If sub(CS,"<easy>",Str4
Line(0,0,96,0)
Line(0,0,0,64)
Line(95,0,95,63)
Line(0,63,95,63)
End
Pt-On(Z,54,Pic1
If G=1
Pt-On(X/256,Y,Pic9
Pt-On(X/256+8,Y,Pic0
Else
Pt-On(X/256,Y,Pic2
End
DispGraph

End

.LOSE LABEL
Lbl D
ClrDraw
ClrHome
Fix 5
.Code for image
Pt-On(25,25,Pic3   
Pt-On(34,24,Pic4   
Pt-On(34,25,Pic4+1
Pt-On(42,25,Pic5   
Pt-On(51,25,Pic6   
Pt-On(60,24,Pic7   
Pt-On(60,25,Pic7+1

Pt-On(0,35,Pic8
Pt-On(8,35,Pic8
Pt-On(16,35,Pic8
Pt-On(24,35,Pic8
Pt-On(32,35,Pic8
Pt-On(40,35,Pic8
Pt-On(48,35,Pic8
Pt-On(56,35,Pic8
Pt-On(64,35,Pic8
Pt-On(72,35,Pic8
Pt-On(80,35,Pic8
Pt-On(88,35,Pic8
Pt-On(96,35,Pic8

If G=1
Pt-On(40,48,Pic9
Pt-On(48,48,Pic0
End

If S>9
Text(33,38,Str2,S>Dec
Else
Text(35,38,Str2,S>Dec
End

If sub(CS,Str4,"<easy>")
S->{H}
Else
S->{H+1}
End

DispGraph

Pause 1500
Repeat getKey->U
End
Goto 1




.ROUTINES
Return
Lbl CS
0->r3
Repeat {r2+r3}->r4 != {r1+r3} or ({r1+r3}->r5 = 0) or (r4 = 0)
::r3+1->r3
End
If r4 or r5=0
::1
::Return
End
0
Return

Lbl HT
rand^512-256->V
~D->D

Else
Goto 1
End

Source Code is here.

multiple balls at once is really easy to make! Gotta work on that.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: uPong
« Reply #22 on: December 21, 2010, 11:29:27 pm »
Ah cool to hear you're adding them!

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: uPong
« Reply #23 on: December 22, 2010, 08:14:23 am »
I finished this project. I'm not even releasing the pig with a few bugs fixed version :/

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: uPong
« Reply #24 on: December 22, 2010, 08:18:00 am »
What do you mean by "finished"? Normally, when you say that, you're saying that the game is completely done... Are you canceling the game?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: uPong
« Reply #25 on: December 22, 2010, 08:48:00 am »
What do you mean by "finished"? Normally, when you say that, you're saying that the game is completely done... Are you canceling the game?

Yes, I realized that both of my Axe games (Racer 3D: Replay and uPong) were not well welcomed by some people, this is, I am sure I added a few things to the original games, but some people still think all I added was a menu, so I'd better make a game from scratch so that I can get some respect :)

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: uPong
« Reply #26 on: December 22, 2010, 10:42:58 am »
I hope your not making games just for the respect.  D:  But I also doubt that everyone doesn't appreciate you for editing games first.  Everyone has to have a starting point, and when you joined you haven't even programmed calcs before.  This isn't saying you shouldn't make your games from scratch, its just that I believe you are under a false impression, or from a minority at Omnimaga.

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>

Ashbad

  • Guest
Re: uPong
« Reply #27 on: December 22, 2010, 10:54:30 am »
What do you mean by "finished"? Normally, when you say that, you're saying that the game is completely done... Are you canceling the game?

Yes, I realized that both of my Axe games (Racer 3D: Replay and uPong) were not well welcomed by some people, this is, I am sure I added a few things to the original games, but some people still think all I added was a menu, so I'd better make a game from scratch so that I can get some respect :)

don't think that.  I appreciate your effort in doing it -- you made some really nice example programs into some really nice games.

And, remember, respect does not count for anything -- and, even if people don't approve of your games, don't let that stop you -- do what you want! :)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: uPong
« Reply #28 on: December 22, 2010, 11:09:36 am »
You're confusing respect with respect. Respect is something someone has or hasn't, people respect each other or not. Then there's Omnimaga Respect, totally different things. Maybe I shouldn't have said respect...

Concerning what led me to cancel this project:

Yesterday on IRC, a few people (blamed? critisided?, geez I don't know which word to use) the fact that I edit Kevin's games and say they are mine and all I add is a menu. So, I cancelled this project to avoid that kind of opinion :)

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: uPong
« Reply #29 on: December 22, 2010, 11:11:35 am »
ahh... I see.  Well, then, I hope you still continue coding.  ;)

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>