Results 1 to 4 of 4

Thread: I am Trying to make something like simcity!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 1999
    Location
    Lindenwold, NJ, USA
    Posts
    67

    Post

    I am Trying to make something like simcity!
    I would like to know how I could:
    When I click on the form it puts down a picture (of a building). How can I Add a Image Box to my form in runtime?

    ------------------
    Frankie Weindel

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800

    Post

    In the Click section put
    Picture1.top = Y
    Picture2.left = X

    I'm sorry If I mxed up the X and Y, switch them if something is funny. Pictures will overlap with this, hopefully you can expand from this. If this button is pushed, then this code is activated...etc.
    Sorry, Im in the process of moving data from one computer to my new one, so I don't have the code to create objects at runtime, but I will try to get them to you soon.

    Im curious how this turns out, Good Luck!


    Steve

    [This message has been edited by SteveCRM (edited 02-06-2000).]

  3. #3
    Member
    Join Date
    Sep 1999
    Location
    UK
    Posts
    45

    Post

    good luck!!! simcity in vb? don't think so!!!

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

  4. #4
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    Post

    Why not?
    I'm sure with DDraw you have enough performance to do some calculations about population... of course not that complex like in SC but something similary...

    (Good luck anyway)

    ------------------
    [email protected]
    ...
    Every program can be reduced to one instruction which doesn't work.


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