|
Post by Azan on Jul 5, 2005 16:59:46 GMT -5
Graphics 800,600 SetBuffer BackBuffer() Global dragging=False Type ob Field x,y,sx,sy,name$,clicked End Type ClsColor 155,155,155
createob(50,50,"Player") createob(150,50,"Monster") createob(250,50,"Door") While Not KeyHit(1) Flip Cls
updateob() Wend
Function createob(x,y,name$) b.ob=New ob b\x=x b\y=y b\name$=name$ b\clicked=False End Function
Function updateob() For b.ob=Each ob mx=MouseX() my=MouseY() If MouseDown(1) And mx<=b\x+30 And mx>=b\x And my<=b\y+30 And my>=b\y And dragging=False Then b\clicked=True dragging=True EndIf If Not MouseDown(1) Then b\clicked=False dragging=False EndIf If b\clicked=True Then b\x=mx-15 b\y=my-15 EndIf Color 0,0,0 Rect b\x,b\y,30,30 Color 255,255,255 Text b\x,b\y,b\name$ Next End Function
this is incredibly crappy (made in only 5 minuets) but it is possibly the start of an online D&D (note that I will need images of the D&D icons) so far the posibility of this working is quite good (the networking and everything will be our biggest challenge but ive already made some online demos and this is pretty easy ) DMs will have alot of powers like seeing the history of a player (where they moved etc.) and the possibilities are endless, note that if NZ does start this in the end stages we will need an experienced D&D player *Cough kiddo *cough to add on little extra things, or tidbits that would help
|
|
|
Post by Azan on Jul 7, 2005 16:03:03 GMT -5
updated heres some pics for those of you who dont have blitz img74.imageshack.us/img74/296/22141243bp.jpgimg74.imageshack.us/img74/3951/pic10101013mi.jpgOkay explanations, the first pic is of the menue bar closed and when you mouse over it it opens up (as seen in the second pic) Now the menue bar will hold all of the buttons that take you to places like your inventory, player stats etc. etc. when the buttons are clicked (buttons coming soon) the information like stats etc. will be displayed in the info menue, note that I will make a button to close the info bar as well, the dice bar is where you can roll your dice or see what other players rolled the info bar will also hold other things as well, and I still havent included a chat bar but thats coming soon as well and please forgive the images all of them are purely for programming purposes I will replace most of them when its nearing completion the final product will look almost nothing like this. Also note that the images are small and distorted this is to save bandwidth
|
|
|
Post by Azan on Jul 7, 2005 22:25:08 GMT -5
|
|
|
Post by Umbrafire on Jul 9, 2005 19:47:39 GMT -5
excellent, keep up the good work ;D
|
|
|
Post by Azan on Jul 9, 2005 19:51:15 GMT -5
thanks, we will see how far it can go
|
|