Jump to content
mehguy

VisualbB on windows 10

Recommended Posts

4 minutes ago, kisrael said:

Yeah, I know it's a different approach to thinking about code that I don't quite "get".

 

Just remember that VbB has more than one way to do something. For example, if you draw a sprite frame, you can drag and drop it where you want it in the code or you can simply copy the sprite data and paste it into the code that way.

Share this post


Link to post
Share on other sites
8 minutes ago, Random Terrain said:

 

Just remember that VbB has more than one way to do something. For example, if you draw a sprite frame, you can drag and drop it where you want it in the code or you can simply copy the sprite data and paste it into the code that way.

When you drag and drop, if you make changes to the graphic, do those update where you put it in the code?

Share this post


Link to post
Share on other sites
8 minutes ago, kisrael said:

When you drag and drop, if you make changes to the graphic, do those update where you put it in the code?

 

No, you have to remove the old data from the code and drag and drop again.

 

If the sprite is the kind that has upside down data, you can also flip the rows in the code using Flip Text and edit the sprite right there in the code.

 

Quote

Highlight some lines of code, select Flip Text and the order of the lines will be reversed. One use for this would be to temporarily flip sprite data so it's no longer upside down so you can do some quick editing right there in the Code Editor. When you're finished, you can highlight the sprite data again, select Flip Text and the sprite data will be upside down again.

 

Share this post


Link to post
Share on other sites

yeah. that's the kind of thing that my mind has trouble with. the drag and drop is mildly convenient shorthand for a copy and paste one-way trip, not an actual live connection to an asset and the code like it is in other tools

 

Sometimes, in the interests of simplicity and transparency (making sure the programmer knows what's going on) - having more than one way to do it is actually a disadvantage!

 

But again, different strokes for different folks.

Share this post


Link to post
Share on other sites

Yeah, I don't drag and drop. I just copy data from the various tools and paste it into the code.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...