Thread: Beta 1 with source code

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    589

    Beta 1 with source code

    Ok there is still alot of work todo but the sun is shining outside so here it is. Feal free to comment and flame. I know there is alot of things in the code that needs to be changed.

    http://flashdaddee.com/forums/showth...?threadid=1795

  2. #2
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    Looks really cool, but it crashed everytime I try to create an arc or something........maybe I need to restart or something.......btw I am using XP.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    Mm thats strange..You shouldn't have to restart. I have not tested it on XP only on 9X NT4 and W2k and never had any problems. Does it start on line creation to?

    If you chose Create->line-> endpoints
    then cursor from the menu, click on the drawing area
    select cursor again and click on the drawing area

    Does it still crash?

  4. #4
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    For the other menu options you need to have an entity created. So if you create a line with cursor to cursor. then you can select endpoint and move the cursor close to the line and the line will change color. if you then click it will select the endpoint that is closest to the cursor position. And you have to press esc to be able to access the top menus again. That is a flaw that i am working on.

  5. #5
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    Originally posted by Barjor
    Mm thats strange..You shouldn't have to restart. I have not tested it on XP only on 9X NT4 and W2k and never had any problems. Does it start on line creation to?

    If you chose Create->line-> endpoints
    then cursor from the menu, click on the drawing area
    select cursor again and click on the drawing area

    Does it still crash?

    When I click on endpoint it brings up the menu on the left, I lose control of the program, meaning I can't actually moved the program window itself and I cannot click on the drawing area. But this IS windows I am using so I might have to restart later on.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  6. #6
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    And well yeah it does stop responding and ends up crashing after a while, but ask around it might just be my system that I have to restart, but I'll do it later, I am working on something with Direct X and crap and if I restarted now it would take some time to "set up" everything again, sorry .
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  7. #7
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    MM if I select Create anything midpoint without anything being on the screen it crashes. The only way to create something the first time is with the cursor option.

  8. #8
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    Originally posted by elchulo2002



    When I click on endpoint it brings up the menu on the left, I lose control of the program, meaning I can't actually moved the program window itself.
    MM yes that could be improved. This is the deal. When the menu pops up to your left, select cursor. The menu will then close. Click on the drawing area and the menu will pop up again. select cursor and click on the drawing area. You should now have a line. To get out of the loop press esc and you should regain control of everything. MM I really should fix that tight loop thing. After the first entity is created you can select any of the left menu options. If you as an example choose midpoint move the cursor close to the entity you want to draw from. It will get highlighted when you are within "reach" click and that position is selected..Mm I am not explaining wery well right now. I need to make my intentions clearer in the program and show an error instead of a crash.

  9. #9
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    On the wery bottom of the window the program promts you for what input it expects.

  10. #10
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    Originally posted by Barjor


    MM yes that could be improved. This is the deal. When the menu pops up to your left, select cursor. The menu will then close. Click on the drawing area and the menu will pop up again. select cursor and click on the drawing area. You should now have a line. To get out of the loop press esc and you should regain control of everything. MM I really should fix that tight loop thing. After the first entity is created you can select any of the left menu options. If you as an example choose midpoint move the cursor close to the entity you want to draw from. It will get highlighted when you are within "reach" click and that position is selected..Mm I am not explaining wery well right now. I need to make my intentions clearer in the program and show an error instead of a crash.

    Ok now that worked like a charm........
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  11. #11
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    Ok let me do an example and see if I can explain mu convoluted way of thinking

    Open app
    1.Select *Create ->Line->Endpoints a menu will pop up
    2.Select cursor: menu will go away
    3.Move cursor to drawing area and click: menu will pop back up
    4.Select cursor: menu will go away
    5.Move cursor to drawing area and click: Line will be created
    6.Press Esc :menu will go away
    7.Select *Create->Arc->Center+edge.: Menu will pop up
    8.Select midpoint: menu will go away
    9.Move cursor to the line. The line will then change color
    10. Click the line: Menu will pop up
    11.Select enpoint
    11.Move cursor to one of the end of the line, Line will get change color.
    12.Click and an arc will be created

  12. #12
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    Xform is used to move/copy .scale.rotate entities around the screen.

  13. #13
    Registered User
    Join Date
    Feb 2002
    Posts
    589
    Ok it sems like anything that have to do with edit -> trim will crash the computer. That will be fixed by tomorow among some other minor crash prone tasks.

  14. #14
    Registered User
    Join Date
    Feb 2002
    Posts
    589

    Smile

    Ok there is a new version of this beta with alot of improvments. It doesn't crash anymore. EVER,, it runs as solid as a brick..erh well sometimes it doesn't but...Basicly everything works better now. The line selection algoritm is improved. Edit->trim works etc
    Give it a try and tell me what you think.

    http://flashdaddee.com/forums/showth...?threadid=1795
    Last edited by Barjor; 04-05-2002 at 09:17 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 'Type' Error on Build of Officially Released Source Code
    By Jedi_Mediator in forum C++ Programming
    Replies: 5
    Last Post: 07-07-2008, 05:28 PM
  2. Search for patterns in source code
    By MiamiCuse in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 10-23-2005, 11:28 PM
  3. DxEngine source code
    By Sang-drax in forum Game Programming
    Replies: 5
    Last Post: 06-26-2003, 05:50 PM
  4. Lines from Unix's source code have been copied into the heart of Linux????
    By zahid in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 05-19-2003, 03:50 PM
  5. Source Code Beautifier
    By Hammer in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 05-05-2002, 09:21 PM