Visual Basic Studio

Discussion in 'Programming' started by Driesje44, Jun 18, 2015.

  1. Driesje44

    Driesje44 Active Member

    Thanks!

    Ow that's indeed just unused, it's deleted! Converted the animation now the my main project. It's still windows forms but it actually looks quit good! However a lot of images are converted from Scratch Designer so you can litteraly count the pixels, but i'll redraw them in Photoshop when the game is more stable :) The stuff i made in Photoshop is better tho xD

    But thanks again! Doing animations was the only big thing for my game that i didn't knwo how to do it yet! ^^
  2. RHY3756547

    RHY3756547 FreeSO Developer Staff Member Moderator

    The most important thing to remember when moving from Scratch is that loops in normal programming languages instantly execute, whereas in scratch they only execute once per frame.
  3. pisarz1958

    pisarz1958 Administrator Staff Member Moderator

    Sorry for the offtopic, but LBR, how do you live with such a slicing board? I can barely hold 4,5 inch one phone and the fact that I can't operate it with one hand because I'm not a mutant... I kinda miss my cute, small Nokia 700.
    RHY3756547 likes this.
  4. RHY3756547

    RHY3756547 FreeSO Developer Staff Member Moderator

    Kids like tablets more for some reason. At least that's my idea of things.
    Tirea likes this.
  5. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Because I can actually read what I need to? Besides, its not the point. I'd prefer a Nexus 5 but my 6 is more powerful.
  6. Driesje44

    Driesje44 Active Member

    I've got the Motorola Moto G 4G and I think it's 4,5 inch wich is perfect for me, but I understand that there are people who wants a bigger screen for some stuff like presentations etc

    On topic

    Just a question for what guys thinks is the best:
    In my game there are several locations you can go to. My idea is that each location is another form so that switching between them is easy and that i don't have to code each sprite to show and hide on the right moment like I had to do in Scratch (wich was horrible and it took a lot of time + it made the game slloow)

    Is this, in you opinion, a good idea?
    Last edited: Aug 11, 2015
  7. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Creating a game in Windows Forms is never a good idea and neither of the ideas you presented would be efficient or good-looking. You should, really, switch to SDL or XNA because they are really easy to learn if you understand graphics concepts. If you're looking for a viable solution in Windows Forms, panels would likely be the best way of doing it unless you can smoothly transition to a new window without the user noticing.
  8. Driesje44

    Driesje44 Active Member

    As I already said I want to learn Visual Basic before XNA ;)
    At this moment, my whole game is based on Forms (there is a form for the 'launcher', one for the log in and profile making, and one for location 1) the login and 'location 1' forms are both full screen and they switch quite smoothly. I'm going to see what panels are (as I told, i'm a totally noob with this stuff) and see if I can use it :) Thanks for helling!

    (Fun fact, just because everyone hates it, I made everything comic sans, muahahaha)
  9. francot514

    francot514 Well-Known Member

    You can do your game in Windows Forms, if is really simple drawing engine, but you should considerer, the game drawing will need a efficient loop functions to allow it do not cause lags or slowing the game window... But if you want to switch for Xna it is highly recommended to learn c# instead of Visual Basic, because with it you can do things faster and there is a lot of advantages learning the c# language.
    LetsRaceBwoi likes this.
  10. Driesje44

    Driesje44 Active Member

    Whell at this moment the whole game (including animations) is made out of pictureboxes x) You must know that the graphics are just basic-basic ;) The Sims 1/looks even better x) It runs quite good tho But it's quit a childish art style x) If you guys want i'll post some pictures if it's more playable ;)
  11. francot514

    francot514 Well-Known Member

    Yes some images will be good, but if youre using Winforms, why not to use System.Drawing graphics (GDI)..
    LetsRaceBwoi likes this.
  12. RHY3756547

    RHY3756547 FreeSO Developer Staff Member Moderator

    Yes, from what I hear GDI is very similar to HTML5 canvas, and is definitely much more suited to games than using components from a UI framework. I'd also suggest learning javascript+canvas if you want to try game dev, since all the graphics and sound APIs are right there waiting for you, in a way that can easily be distributed and run around the web.
  13. Driesje44

    Driesje44 Active Member

    Whell, is searched for it online and it looks quit...ugly to me? My graphics are all made in Photoshop (quit a kob yes xp) and can't really see them made with GDI, or i must have seen some very bad GDI so far :p

    It's coming along nicely :) It's sort of a life sim (with some Sims Online inspired elements). There is already a 'Hunger' need and a buyable kitchen + animation to fulfill that need :p (and a simpel profile making + login system that I want to use for savegames later :))

    The game is named That's A Burby (and use it for over 5 years so that's why it sounds so stupid xP I need a new name actually, suggestions anyone?) and this version is called That's A Burby 3: Life ('cause it's the first with really much sims inspired stuff) the 'burby' in fact (parody from the Furby) is nothing more than a blue egg with eyes and more :p (i still can't make humans so i use that instead) and the graphics are really basic

    So far the only pictures I uploaded yet are the start menu beackground, the Burby design and the kitchen, more will come ASAP
    [​IMG]
    [​IMG]
    (Ahem, search the egg ._.)
    [​IMG]

    I've done this after 2/3 week (idk i took a loong break) of learning (not all time af course, i actually started in the middle of my examination oops) so please don't be too critical 'bout it and the childish look. It's also my very first VB game.
  14. RHY3756547

    RHY3756547 FreeSO Developer Staff Member Moderator

    You can draw images with GDI.
  15. Driesje44

    Driesje44 Active Member

    But. i can't see why i would use them while my Pictureboxes system is working properly?

    Btw, is there a way to hide controls temporary in the designer? 'cause the panels in my form are really irritating if i'm busy with other stuf :c
  16. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Control.Visible = False in code, in designer click on the panel and set its Visible property to false
  17. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    I suggest that you get a working z-buffer so that you don't have to hack your way through send-to-backs and that you get some sort of ui system, like the one found in TSO, to simplify things.
  18. Driesje44

    Driesje44 Active Member

    But that doesn't make it invisible in the designer, does it? It's just when i'm busy with animation and stuff and those (3) panels are there in the backgroudn wich is quit unhandy x)
  19. LetsRaceBwoi

    LetsRaceBwoi Well-Known Member

    Oh, no it doesn't unfortunately.
  20. Driesje44

    Driesje44 Active Member

    Aaaand, what's a Z-buffer :rolleyes:

Share This Page