Results 1 to 8 of 8

Thread: I made a start on Breakout

  1. #1
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    159

    I made a start on Breakout

    Simple version of a classic, I will work on making it better once I've had some sleep.

    Enjoy.

    Status
    25-Feb-09 V1.0 Basic game (some bugs)
    26-Feb-09 V1.01 Added Time and scoring. Also every 30 seconds the play area reduces. some minor corrects to game play and stuff..
    27-Feb-09 V1.02 improved timing hopefully. added a catch on Left mouse and release on right button with angles if mouse is moving.

    Attached Files Attached Files
    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

  2. #2
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: I made a Pong

    Hi Mike,

    very nice, I did not survuved for long, must practise more
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  3. #3
    Senior Member Lionheart008's Avatar
    Join Date
    Sep 2008
    Location
    Germany, Bad Sooden-Allendorf
    Age
    51
    Posts
    934
    Rep Power
    109

    Re: I made a Pong

    hi michael

    pretty nice thing! - I have test it some minutes before and it remember me the classic pong game I have seen the first time at grandmas tv twenty years ago...

    what feature you will include for the next releases?? I am curious to see it and like such simple games what about a score??? new for me: the ending *.tbasicx... very good! It's just cryptic to see the code !

    bye, best regards, Lionheart
    you can't always get what you want, but if you try sometimes you might find, you get what you need

  4. #4
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    159

    Re: I made a Pong

    Updated. look
    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

  5. #5

    Re: I made a Pong

    Nice one. Thanks for showing

  6. #6
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    159

    Re: I made a Pong

    Some more minor updates but if the timing issues are sorted I will add some blocks like arkanoid to kill.

    thanks

    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

  7. #7
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: I made a Pong

    Ciao Michael,

    I tested your script. Very nice. Here my testing issues:

    • when I resize the window nothing will be visible anymore
    • angle of the ball seems always by 45 degree. I remember when Simone developed Arkanoid like example one of the the problems was how to calculate correct angle after ball hit the paddle, the effect, the direction from which the ball was hit and the corresponding next angle. Not simple. I do not remember if Simone 100% solved this issue


    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  8. #8
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: I made a Pong

    Michael,

    to keep the picture correct after resizing, while taking the comfort of keeping working with same resolution, just use TBGL_RenderMatrix2D(0, 479, 639, 0) or TBGL_RenderMatrix2D(0, 0, 639, 479) before rendering each frame.


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

Similar Threads

  1. BreakOut starting project
    By ErosOlmi in forum YouTube
    Replies: 18
    Last Post: 14-02-2007, 19:44

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •