Author Topic: uPong  (Read 23465 times)

0 Members and 3 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: uPong
« Reply #75 on: January 11, 2011, 04:42:54 pm »
Yeah I agree 1 pixel would be better, otherwise one game won't last long enough. Otherwise, maybe 2 pixels?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: uPong
« Reply #76 on: January 11, 2011, 04:44:29 pm »
Yeah I agree 1 pixel would be better, otherwise one game won't last long enough. Otherwise, maybe 2 pixels?

It lasts long enough!!! The paddle stops at X, so the game doesn't finish. DJ, go watch the screenie, please.

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 #77 on: January 11, 2011, 05:17:24 pm »
yeah, we know but the difficulty gets too high too fast.  ;)  if it moved  up 1-2 pixels every frame, it's difficulty goes up slower.  although maybe moving up 1-2 pixels should be for the easy mode...

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 Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: uPong
« Reply #78 on: January 12, 2011, 01:42:28 am »
Yeah I agree 1 pixel would be better, otherwise one game won't last long enough. Otherwise, maybe 2 pixels?
It lasts long enough!!! The paddle stops at X, so the game doesn't finish. DJ, go watch the screenie, please.
That was uncalled for Scout. How do you know he didn't already watch the screenshot? I think DJ deserves an apology.
/e

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: uPong
« Reply #79 on: January 12, 2011, 01:55:16 am »
^ this, and I'm considering terminating your account at this point. I did not even say anything wrong in my post, I just gave a suggestion. I tried the game earlier and it was good. I just felt that the paddle should not raise this fast. Also I did not notice it stops raising later, because you kept dying in your screenshot so I stopped watching after a while. Now I did, but as suggestion I would recommend having the paddle height increase every 5 points  by 2 pixel, although you could maybe allow the user to choose.

I did not deserve a rude post from you and I ask an apology. This is the last time, though. We do not welcome such behavior on Omnimaga.

Also to the other person that keeps rating up bad posts and rating down all my warning, be aware that I can monitor rating logs. What you're doing is vandalism, and vandalism can lead to an immediate permban. If I see it happen again, your account will be deleted.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: uPong
« Reply #80 on: January 12, 2011, 12:13:41 pm »
yeah, we know but the difficulty gets too high too fast.  ;)  if it moved  up 1-2 pixels every frame, it's difficulty goes up slower.  although maybe moving up 1-2 pixels should be for the easy mode...

I already made it one pixel in the easy version and 5 pixels in the hard version.

^ this, and I'm considering terminating your account at this point. I did not even say anything wrong in my post, I just gave a suggestion. I tried the game earlier and it was good. I just felt that the paddle should not raise this fast. Also I did not notice it stops raising later, because you kept dying in your screenshot so I stopped watching after a while. Now I did, but as suggestion I would recommend having the paddle height increase every 5 points  by 2 pixel, although you could maybe allow the user to choose.

I did not deserve a rude post from you and I ask an apology. This is the last time, though. We do not welcome such behavior on Omnimaga.

Also to the other person that keeps rating up bad posts and rating down all my warning, be aware that I can monitor rating logs. What you're doing is vandalism, and vandalism can lead to an immediate permban. If I see it happen again, your account will be deleted.

DJ, I recalled saying what I said later and regret, but I only noticed this now, and, sincerely, never thought I would be warned for it.

DJ, sorry for that, what I meant is that the game would end early if the paddle went up infinitely, but fortunately, it doesn't.

Concerning the person that rates good posts up and bad posts down, I don't know DJ, it's not me and that's why the rating system is not perfect.

Yeah I agree 1 pixel would be better, otherwise one game won't last long enough. Otherwise, maybe 2 pixels?
It lasts long enough!!! The paddle stops at X, so the game doesn't finish. DJ, go watch the screenie, please.
That was uncalled for Scout. How do you know he didn't already watch the screenshot? I think DJ deserves an apology.

That was indeed uncalled for.

-----------------------------------------------------------------------------------------------------------------------------

Major updates: I decided to rewrite my engine and not use Quigibo's anymore. I still use a subroutine he made and his ball sprite so I may keep crediting him :D The engine is finished, but it has one tiny bug at the moment.
« Last Edit: January 12, 2011, 12:17:22 pm by ScoutDavid »

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: uPong
« Reply #81 on: January 12, 2011, 12:17:57 pm »
Nice work, Scout.  :) What new things does the engine do?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: uPong
« Reply #82 on: January 12, 2011, 12:22:17 pm »
Nice work, Scout.  :) What new things does the engine do?

It's slightly faster and allows me to work on it more easily. Also, it allows me to change the ball's speed. I could do it in the other one, but not sure of how to.

Now I have a doubt, I've been having some bugs in the new engine, the ball sometimes doesn't bounce off when hitting a wall.

Code: [Select]
If X=88 .If ball X position is 88
. The code I need help with
End

I have no idea of how to make the ball bounce of realistically. Also, it has to work for If X=0 too :S

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: uPong
« Reply #83 on: January 12, 2011, 12:25:30 pm »
What type of engine do you use to move the ball?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: uPong
« Reply #84 on: January 12, 2011, 12:27:06 pm »
What type of engine do you use to move the ball?

I'm giving it random positions whenever it hits something and then follow that line. I do the same thing for walls, but every 1/100 times the ball goes through the wall :S

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: uPong
« Reply #85 on: January 12, 2011, 12:32:05 pm »
So, if the ball collides with something, you give it a random direction and then it follows that until the next collision?

How are you doing collision detection?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: uPong
« Reply #86 on: January 12, 2011, 12:38:01 pm »
The collision is based on maths.
« Last Edit: January 12, 2011, 12:50:10 pm by ScoutDavid »

Offline c.sprinkle

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 221
  • Rating: +23/-1
  • There ain't no rest for the wicked? True indeed.
    • View Profile
    • The Corread on NationStates.
Re: uPong
« Reply #87 on: January 12, 2011, 12:45:41 pm »
Ok. Do you have a line along the edges of the screen? If so, you can use a simple pxl-Test( routine.

If I am restating something obvious, I don't do ASM, so I can't really understand the ASM equivalents of Axe stuff. :P

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: uPong
« Reply #88 on: January 12, 2011, 12:49:03 pm »
I think that's something he meant to post in the Assemblex topic.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: uPong
« Reply #89 on: January 12, 2011, 12:49:18 pm »
Ok. Do you have a line along the edges of the screen? If so, you can use a simple pxl-Test( routine.

I will do that indeed, HOWEVER, how do you make the ball bounce left or right in a random position?