Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Different screen switching, menu, splash, game (very easy script to copy)  (Read 2115 times)

0 Members and 1 Guest are viewing this topic.

paulhaggo

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
This is some bad code i did

but it may help a beginner like me

It is a simple project which has 3 windows / forms

a splash screen, which swapps to menu, then fake game screen

enjoy

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Different screen switching, menu, splash, game (very easy script to copy)
« Reply #1 on: February 24, 2015, 10:06:14 pm »
This is some bad code i did
If you already admit up-front that it's bad code then please do not post it - make it good code instead and then post that.

Ricky

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
    • Tejada
    • Email
Re: Different screen switching, menu, splash, game (very easy script to copy)
« Reply #2 on: February 25, 2015, 01:05:28 am »
This is some bad code i did

but it may help a beginner like me

It is a simple project which has 3 windows / forms

a splash screen, which swapps to menu, then fake game screen

enjoy

I don't quite understand. Do you want feedback on this code? I'd recommend just using objects instead of calling isolated functions. That way you could make the 'screens' more dynamic and use them in a loop if you wanted.
Wilt thou yet say before him that slayeth thee, I am God? but thou shalt be a man, and no God, in the hand of him that slayeth thee.

 

anything