Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make the players screen bigger
#1
Ok, now first of all we have:

PicScreen in FrmMirage
Pic_X = 32 pixel
Pic_Y = 32 pixel
Max_mapx = 15
Max_mapy = 11

Ok, now Max_mapX is 15, so it is 15 times Pic_X, so it means 15 times 32, cuz one tile is 32 pixel, got it?

Ok, so the same for max_mapy.

So:


15 x 32 = 480
11 x 32 = 352

So it means the map has 15 tiles from top to bottom and 11 from left to right, its just the size of the map, not what u see. What u see is how big your picScreen is, so that’s why u can walk and walk, because the map is bigger, but u cant see all of it:



So the size of the piscreen is:
Height: 480
Width: 352

So if u put height for example 200, u just can see 200 pixel to the bottom, but the map is still bigger than u can see!



I hope this helps you!


Thank you!



PS: This is a pretty old and easy tutorial, but i saw a request, and maby someone doesnt know that too. Smile
Reply
#2
that request was for changing 'max_mapx' and 'max_mapy'...
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#3
Maybe If you don't know but I wrote a tutorial that explains it all.
Reply
#4
Kite Wrote:that request was for changing 'max_mapx' and 'max_mapy'...


so what? there are still some people who dont know how to change this, and like i said, its a pretty old and very easy tutorial, nothing special at all...and @sign, sry but i didnt see anything like that so i just posted this


guys, what the hell is wrong with you? i just tried to help some noobs and you post stuff like: ah, what a shitty tut, nobody need something like that(the other thread) or: i already wrote soemthing like that -.-...geez...
Reply
#5
people can submit any tutorials they want, nomatter if someone already made a tutorial that does the same thing. in VB there are many different ways to do the same thing. Now if it was blatently a direct copy of another tutorial without prior permission to said author i could understand why people would get upset.
Reply
#6
Did i say the tutorial was pointless? Did i say that he shouldn't have posted the tutorial?

I was only saying, that the request he answered to, was not asking this question.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#7
Kite Wrote:I was only saying, that the request he answered to, was not asking this question.

you dont even know what request i am talking about, mabe it was ins msn -.-.

Anyway, lets just stop that stupid argumentation,

bye
Reply
#8
why is there an argument here? he told people how to change the max width and height... and also how to change your picScreen to go with it (the calculation you need)...

i say this is a good tutorial for those new to mirage source... thanks Smile
Reply
#9
You posted the tutorial 2 minutes after posting it in the Tutorial Request section... anyway, its a great tutorial for new people, good job Gilgamesch.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#10
Kite Wrote:You posted the tutorial 2 minutes after posting it in the Tutorial Request section... anyway, its a great tutorial for new people, good job Gilgamesch.

thanks my friend Smile
Reply
#11
When i do this i follow the steps and it all works fine untill i load my game then when i walk into the new area (past teh normal size pic screen) I lose conection to teh server?

Can soemoen help plz ?
Reply
#12
Go into the maps folder on both the client and server (make sure that you are NOT logged in, and that the server is NOT active), and delete the "maps" folders. Then boot the server back up and try it again. Should be working fine at that point.
Reply
#13
Thanks this sorted my problem Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)