Mirage Source

Free ORPG making software.
It is currently Sat Apr 27, 2024 10:27 am

All times are UTC


Forum rules


Make sure your tutorials are kept up to date with the latest MS4 releases.



Post new topic Reply to topic  [ 1410 posts ]  Go to page 1, 2, 3, 4, 5 ... 57  Next
Author Message
PostPosted: Wed Nov 26, 2008 2:21 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
ok with this code you can do stuff like this

Image

now this tutorial is very easy first step is to declare the stuff below. so in ModDeclares add
Code:
Private Declare Function CreateEllipticRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, _
    ByVal X2 As Long, ByVal Y2 As Long) As Long

Private Declare Function SetWindowRgn Lib "User32" (ByVal hWnd As Long, ByVal hRgn As Long, _
    ByVal bRedraw As Boolean) As Long


then after this you need to add this function<it can be added in anywhere but i just added mine to the bottom of ModDeclares>
add this code anywhere.

Code:
Function CutCirCle(Form As Form, Left, Top, Fat, Tall)
    SetWindowRgn Form.hWnd, CreateEllipticRgn(Left, Top, Fat, Tall), True
End Function


and after that all you need to do is to call the function on form load. so add this to any of your Sub Form_Load on any form.

Code:
Call CutCirCle(Me, 0, 30, 1000, 900)


ok now here is the fun part messing with the call a bit =]. Well

Call CutCirCle(Me, 0, 30, 1000, 900) the first 0 is the bottom it move the bottom away or back to original, the second is the top it removes the top of the form, as the other two are the two sides left and right. So have fun making weird shapes with your forms.

this especially works good for your mainmenu. :wink: cheers*

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
PostPosted: Wed Nov 26, 2008 4:20 pm 
Offline
Knowledgeable
User avatar

Joined: Sat Dec 30, 2006 9:09 am
Posts: 252
Nice code, yes.
Useful :P maybe.

_________________
Image


Top
 Profile  
 
PostPosted: Wed Nov 26, 2008 4:23 pm 
There's code that will remove a certain color from the form, which would be better, so you can do popout characters on the gui and shit.


Top
  
 
PostPosted: Sat Nov 29, 2008 2:47 am 
Offline
Newbie

Joined: Tue Jan 02, 2007 5:45 pm
Posts: 17
I've tried this before. It makes your form all laggy and stuff. :(


Top
 Profile  
 
PostPosted: Sat Nov 29, 2008 3:20 am 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
my form loaded quite fast with this ^^.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
PostPosted: Sat Nov 29, 2008 3:24 am 
I can't see a use for this.


Top
  
 
PostPosted: Sat Nov 29, 2008 5:01 am 
Offline
Knowledgeable
User avatar

Joined: Sun Dec 03, 2006 6:18 am
Posts: 228
Location: NJ, United States
Seems like he just wanted to post a tutorial :roll:

_________________
[23:30] mvrckoffspring88: Quake brand Noob Sauce


Top
 Profile  
 
PostPosted: Sat Nov 29, 2008 5:39 am 
a = a + 1

There, that's how you make a variable's number, go up by one.

>.>

Useless tutorial. :D


Top
  
 
PostPosted: Sat Nov 29, 2008 7:04 am 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
Give him a fucking break. At least he's even submitting tutorials.

Thanks for the tutorial.

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
PostPosted: Sat Nov 29, 2008 8:16 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
this tutorial could be used to change the shape of your main menu or other forms that you want to e a weird shape or cool shape and such. its meant to allow you to customize your game even more rather than having a plain box with 3d pop out characters.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
PostPosted: Sun Nov 30, 2008 12:43 am 
With the 3D pop out stuff, you just set the color you want to be removed and the code does it.

It's very simple.


Top
  
 
PostPosted: Sun Nov 30, 2008 2:45 am 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
the pop out and this are both good codes either way its really up to the user on what they want. who knows they might want to use both. but it is really there choose ^^.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
PostPosted: Sun Nov 30, 2008 5:04 pm 
I'm sorry, I just so absolutely no use for this code. I mean, sure, it's neat, but really what could you use it for in an ORPG?


Top
  
 
PostPosted: Sun Nov 30, 2008 5:19 pm 
Offline
Pro
User avatar

Joined: Thu Jun 01, 2006 5:52 pm
Posts: 461
Perfekt wrote:
I'm sorry, I just so absolutely no use for this code. I mean, sure, it's neat, but really what could you use it for in an ORPG?


Just because you have no sense of creativity doesnt mean everybody else lacks it too.


Top
 Profile  
 
PostPosted: Sun Nov 30, 2008 5:23 pm 
Mithlomion wrote:
Perfekt wrote:
I'm sorry, I just so absolutely no use for this code. I mean, sure, it's neat, but really what could you use it for in an ORPG?


Just because you have no sense of creativity doesnt mean everybody else lacks it too.


Um. Give me an example that you can do with this code. Since you're so creative.

I swear, you pixel artists think you're so great. Big whoop. You can place pixels and make a picture. Learn to program on top of it.

Programming is much harder than pixeling.


Top
  
 
PostPosted: Sun Nov 30, 2008 8:36 pm 
Offline
Pro
User avatar

Joined: Thu Jun 01, 2006 5:52 pm
Posts: 461
How is programming harder than pixeling?

All you have to do with programming is understand the shit language youre learning.. and i cant understand how you can even consider yourself a real programmer.. Just because you understand a simple language as VB6 more than some other people who hardly given it time.

And what you can do with this code?.. Just the part where you dont understand than changing shapes and shit can be usefull of GUI's and shit proves how little creativity you really got.

Im not sure how good this code works, but i dont see how it could not be developed into doing better shit like, cooler popups for Windows or shit.


Top
 Profile  
 
PostPosted: Sun Nov 30, 2008 9:14 pm 
I don't consider myself a programmer.

And if you would take the time to read my prior posts in this thread, you would see that I informed him of code that does exactly what you just said that I am not creative enough to do.

Guess what though fucker, I was the first one to have the popout characters on a gui.

Fuck off.

Sorry Gen. If you want though, I can post up that other code.


Top
  
 
PostPosted: Mon Dec 01, 2008 12:19 am 
Offline
Pro
User avatar

Joined: Thu Jun 01, 2006 5:52 pm
Posts: 461
Perfekt wrote:
I don't consider myself a programmer.

And if you would take the time to read my prior posts in this thread, you would see that I informed him of code that does exactly what you just said that I am not creative enough to do.

Guess what though fucker, I was the first one to have the popout characters on a gui.

Fuck off.

Sorry Gen. If you want though, I can post up that other code.


Wow youre so cool :D.
Suck my dick.


Top
 Profile  
 
PostPosted: Mon Dec 01, 2008 12:35 am 
Women don't have a penis.


Top
  
 
PostPosted: Mon Dec 01, 2008 1:29 am 
Offline
Persistant Poster
User avatar

Joined: Fri Aug 15, 2008 3:11 pm
Posts: 633
Perfekt wrote:
Women don't have a penis.


care to make a bet
points at robin
lol jk

_________________
╔╗╔═╦═╦══╦═══╗
║║║║║║║╔╗║╔═╗║
║║║║║║║╚╝║║║║║
║╚╣║║║║╔╗║╚═╝║
╚═╩╩═╩╩╝╚╩═══╝


╔╦═╦╦════╦═══╗
║║║║╠═╗╔═╣╔══╝
║║║║║║║║╚═╗
║║║║║║║║╔═╝
╚═╩═╝╚╝╚╝ ?


Top
 Profile  
 
PostPosted: Mon Dec 01, 2008 2:53 am 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
yes post up the other code please so that way it gives coders more of a choose to use either or.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
PostPosted: Mon Dec 01, 2008 3:05 am 
Alright, I'll get around to it tomorrow sometime.


Top
  
 
PostPosted: Mon Dec 01, 2008 3:36 am 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
I don't know about you guys, but if I saw a game that had this GUI...

Image

I would be like holy fuck that is awesome.

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
PostPosted: Mon Dec 01, 2008 6:12 am 
Offline
Persistant Poster
User avatar

Joined: Tue May 30, 2006 2:07 am
Posts: 836
Location: Nashville, Tennessee, USA
Google Talk: rs.ruggles@gmail.com
Mithlomion wrote:
Im not sure how good this code works, but i dont see how it could not be developed into doing better shit like, cooler popups for Windows or shit.


Essentially, this tutorial says "fuck off" square forms. It allows you to make a circle, semi-circle, or quarter-circle. Out side of the aforementioned shapes, the transparency with color negligence is much more useful.

_________________
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image


Top
 Profile  
 
PostPosted: Mon Dec 01, 2008 3:05 pm 
Offline
Knowledgeable
User avatar

Joined: Fri Feb 02, 2007 4:50 am
Posts: 263
Location: usa michigan centriville
yep ^^ it uses circles and semi circles and such <there are other one's out there that i saw that allow you to move your form the way you want the shape the be its really weird , but that addon to vb cost money TT.TT but would be cool , and there are other codes that allow you to do things with waves and such. you could even tap into the dx7vb.dll and pull out the flashing stuff to make your forms flash on and off in spots or use the particle parts of dx7vb.dll and make flames that actually blaze in a form. any of these ways are really up to the coder and maker of there game. it doesn't matter which one they use they all work in the ways that the user would like them to work in based on his or her opinion.

_________________
Fuck? I really joined in 2006.
Spirea, Chat Rooms, Discussions, Help. everything you need in one spot.
http://spirean.com
I love my computer, you never ask for more, you can be my princess or be my whore


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1410 posts ]  Go to page 1, 2, 3, 4, 5 ... 57  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 40 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group