Click here to Skip to main content
14,580,589 members

Visual Basic

 
PinnedHOW TO ANSWER A QUESTION PinPopular
Chris Maunder12-Jul-09 22:40
cofounderChris Maunder12-Jul-09 22:40 
PinnedHow to get an answer to your question PinPopular
Chris Maunder10-Nov-05 16:30
cofounderChris Maunder10-Nov-05 16:30 
QuestionHow to get one I have multiple objects of the same type at run time with VB 2010 Pin
Member 1487052122-Jun-20 18:01
MemberMember 1487052122-Jun-20 18:01 
AnswerRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Dave Kreskowiak23-Jun-20 13:55
mveDave Kreskowiak23-Jun-20 13:55 
AnswerRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Ralf Meier23-Jun-20 20:47
professionalRalf Meier23-Jun-20 20:47 
AnswerRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Member 1487052124-Jun-20 3:54
MemberMember 1487052124-Jun-20 3:54 
GeneralRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Richard MacCutchan24-Jun-20 4:27
mveRichard MacCutchan24-Jun-20 4:27 
GeneralRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Dave Kreskowiak24-Jun-20 7:02
mveDave Kreskowiak24-Jun-20 7:02 
GeneralRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Ralf Meier24-Jun-20 19:55
professionalRalf Meier24-Jun-20 19:55 
GeneralRe: How to get one I have multiple objects of the same type at run time with VB 2010 Pin
Gerry Schmitz25-Jun-20 3:44
mveGerry Schmitz25-Jun-20 3:44 
QuestionUpdater for multi-user program Pin
Member 1487021322-Jun-20 6:32
MemberMember 1487021322-Jun-20 6:32 
QuestionRe: Updater for multi-user program Pin
Maciej Los22-Jun-20 6:42
mveMaciej Los22-Jun-20 6:42 
AnswerRe: Updater for multi-user program Pin
Member 1487021322-Jun-20 6:52
MemberMember 1487021322-Jun-20 6:52 
GeneralRe: Updater for multi-user program Pin
Maciej Los22-Jun-20 7:04
mveMaciej Los22-Jun-20 7:04 
AnswerRe: Updater for multi-user program Pin
David Mujica24-Jun-20 7:42
MemberDavid Mujica24-Jun-20 7:42 
GeneralExcel vba userform video game project Pin
Member 1483176618-Jun-20 4:20
MemberMember 1483176618-Jun-20 4:20 
I am sure this is not the best format to ask this question/ have this general discussion.

My project is at the barebones, working on a lot of the basics at the moment. The plan is to have a game completely ran on a userform.

Really the only thing I have kind of figured out is the the key logging to track when the space bar, left, right, up, down arrow keys have been pressed. I have only figured out how to do that if a textbox is the focus. Not the happiest with that at moment. Any thoughts on this is appreciated.

I have done a ton of research to see what is currently out there. A majority of the code I find is ran on a spreadsheet, which becomes the base/map. Taking away the spreadsheet leaves my google searches with not many results.

Something I have thought of is having a userform with multiple textboxes like a spreadsheet. Each textbox would be like one cell on a spreadsheet. Problem with this is that I don't think that would do well once trying too get more advance with the game.

The thing that seems like it will be key is keeping track of the pixels location of every object and creating the game logic from there.

The object of the game really isn't the focus right now. To give an end game for my first problem/"curiousosity on how others would go about it" lets say the game is to have a character dodge incoming missles/objects that would come from any direction straight across the board.

I would post my code but it really isn't much at the moment.

1. Please don't respond with something like "why would you do this in vba" or anything like that. I am well aware that there other languages that would better fit this.
2. Sorry for everything being "scatter brained" this is my first time posting a question after about 2 years of doing multiple projects using vba.
3. If there is a better site or resource to use for what I am trying to do please let me know.

There isn't any direct questions, more so looking to get thoughts and opinons on anything I put out there. Appreciate any feedback!
GeneralRe: Excel vba userform video game project Pin
Dave Kreskowiak18-Jun-20 10:19
mveDave Kreskowiak18-Jun-20 10:19 
GeneralRe: Excel vba userform video game project Pin
Member 1483176618-Jun-20 20:31
MemberMember 1483176618-Jun-20 20:31 
GeneralRe: Excel vba userform video game project Pin
Dave Kreskowiak19-Jun-20 3:17
mveDave Kreskowiak19-Jun-20 3:17 
QuestionGenerate XML file in VB6 Pin
Member 148580729-Jun-20 5:02
MemberMember 148580729-Jun-20 5:02 
AnswerRe: Generate XML file in VB6 Pin
Richard MacCutchan9-Jun-20 5:28
mveRichard MacCutchan9-Jun-20 5:28 
QuestionMove an user control by drag & drop Pin
Fabrizio Pulvirenti7-Jun-20 8:54
MemberFabrizio Pulvirenti7-Jun-20 8:54 
AnswerRe: Move an user control by drag & drop Pin
Richard MacCutchan7-Jun-20 21:56
mveRichard MacCutchan7-Jun-20 21:56 
AnswerRe: Move an user control by drag & drop Pin
Eddy Vluggen8-Jun-20 1:21
professionalEddy Vluggen8-Jun-20 1:21 
GeneralRe: Move an user control by drag & drop Pin
Fabrizio Pulvirenti8-Jun-20 5:20
MemberFabrizio Pulvirenti8-Jun-20 5:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.