Results 1 to 13 of 13

Thread: Tetris/Blox in VB.net 2005

  1. #1

    Thread Starter
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Lightbulb Tetris/Blox in VB.net 2005

    Here is a Tetris / Blocks game with source code...

    UPDATED: new skin, removed the resource issues and unneeded files, added pause feature.
    And no, It does not contain an executable...
    Attached Files Attached Files
    Last edited by cptHotkeys; Jul 6th, 2007 at 09:26 PM. Reason: Updated Source

    Signatures suck

  2. #2
    Hyperactive Member singularis's Avatar
    Join Date
    Nov 2006
    Location
    Over There!
    Posts
    372

    Re: Tetris/Blox in VB.net 2005

    Hello cptHotkeys,

    The attached file does not contain an executable....
    The bin directory just has config files in it.....
    If what I said was helpful, give me rep!

    My Complete Games: -- 2D Zone (Space Shooter game) || _2D Zone 2_ || Ninja Blob (2D platformer) || Dren (Co-op up to 4 player base defence game)

    My Projects: -- The Dread Engine (2D VB game Engine) || A* Path Finding


    An excellent site for learning DirectX7, 8 & 9 (for VB6, C# & VB.net) would be: directx4vb.vbgamer.com --- For my projects and games see: pieper.freehostia.com

  3. #3
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Tetris/Blox in VB.net 2005

    I got it to run, but i had to modify the code. Your resource contains a tbg.png but the program wanted a tbg.bmp and a tbg copy.bmp, neither of which were there. I had to fix it. Feedback: Neat game although i don't personally care for how the blocks that have dropped are black and white.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  4. #4

    Thread Starter
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Re: Tetris/Blox in VB.net 2005

    Sorry about the reference, I was sure I sorted that out, maybe I uploaded the uncomplete version... I will fix it whe I get the chance...

    PS: I didnt include an executable because the upload would have been twice the size...

    Signatures suck

  5. #5
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Tetris/Blox in VB.net 2005

    Don't worry about it. This area of the forum states that if you were to include the .exe, you must notify us in the title. So no one should have expected it anyway. And the zip size limit would have prevented the upload.

    How about implementing some sort of pause mechanism? Even when the game loses focus, it keeps playing and what if i have to go pee? It doesn't even pause when you click the X and it asks you if you want to exit!
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  6. #6

    Thread Starter
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Re: Tetris/Blox in VB.net 2005

    Yes I think I will, but I will hide the screen so no cheating:P

    Signatures suck

  7. #7
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Tetris/Blox in VB.net 2005

    check out my game in my signature. That's exactly what i did. A giant "paused" covers up the entire game area.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  8. #8

    Thread Starter
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Re: Tetris/Blox in VB.net 2005

    I have just Added the pause feature and gave it a much nicer skin...
    Also removed the files that are not needed.
    And removed references to resources that werent there.
    Added intellisense for all public methods and events.
    Improved some commenting
    Removed the enums from the stupid class I had them in...
    The download is now half the size it was too...

    Take a look at the new skin, and rate me for it...
    Last edited by cptHotkeys; Jul 6th, 2007 at 09:36 PM.

    Signatures suck

  9. #9
    Lively Member
    Join Date
    Jan 2007
    Posts
    95

    Re: Tetris/Blox in VB.net 2005

    AweSomE Skin! Well thanks, i got an idea how to give my application a new skin!!! i was searching for skinning the application for ages! thanks dude!

  10. #10

    Thread Starter
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Re: Tetris/Blox in VB.net 2005

    Thanks man, I have done alot better skins than this, I have even done fully skinnable app before, athaugh the program itself was crap...
    It sounds like you have been looking for a good way of skinning an app, I too went throught this and failed to find anything that didnt require MS Windows Rocket Science for Dummies, so I just came up with my own Ideas. If you want any Ideas or would like any help just ask

    Signatures suck

  11. #11
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Tetris/Blox in VB.net 2005

    i wouldn't mind some tips for graphice manipulation. What did you create the blocks in? I am working on a game similar to Collapse!tm and the last version i manually made my blocks in paintbrush. I am having a heck of a time figuring out how to use photoshop.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  12. #12

    Thread Starter
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Re: Tetris/Blox in VB.net 2005

    Funny you say that, at the moment Im working on a new web site which I am going to provide photoshop tutorials for skinning in VB ect, but im on dialup where I live at the moment and hosting aint realy an option...
    I will make some tutorials and create a new thread, not today but I will start on them today...
    I learnt by finding website photoshop turorials, and thats pretty much all you need to know, I will work on something that can be used by everyone, cause it seems allot of people would benefit from it...
    If I can find this stupid program I made it will show you the ease of making skinnable apps suitable for beginners...
    I once tried to make a component wich would allow people to add skinnable functionality to their forms with 1 line of code to apply it like
    Code:
    Dim skinner as new skinhelper
    Skinner.ApplySkin(me, "C:\Skin.skn") Skin.skn being a zip file with appropriate images in it
    And a dynamic skin builder which would pass the form to a program which will allow to select any control and set the images for mouse events and states etc,
    Code:
    dim skinMaker as new SkiningTool(me)
    skinMaker.showdialog
    which would remove all coding from skinning, which is the way it should be, take WMP for example; you cant make a skin for that unless you know C++ which is absolutely stupid in my oppinion, why do we have to mix code with graphics when we have programs like photoshop???

    I failed to complete the skin builder but I should be able to make a better attempt at it now that my skills have improved substantialy compard to then, I will give it another go...

    PS: My websites never usualy stay on the web for more than a week, but if I make one people want I might get some hits, so it might survive...

    Signatures suck

  13. #13

    Thread Starter
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Re: Tetris/Blox in VB.net 2005

    Quote Originally Posted by Lord Orwell
    i wouldn't mind some tips for graphice manipulation. What did you create the blocks in? I am working on a game similar to Collapse!tm and the last version i manually made my blocks in paintbrush. I am having a heck of a time figuring out how to use photoshop.
    Yeah, I use photoshop I found some good tutorials to begin with which gave me all I needed to know to get started, I suggest you find some and just follow them through and after a couple you should be ok to do your own...
    and for the program, add them as resources and set a controls mouse over etc images in the appropriate events. I will post some links to tutorials soon...

    Signatures suck

Posting Permissions

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



Click Here to Expand Forum to Full Width