Mirage Source
http://miragesource.net/forums/

Messing around in new source
http://miragesource.net/forums/viewtopic.php?f=208&t=5150
Page 1 of 12

Author:  Robin [ Tue Mar 03, 2009 1:06 am ]
Post subject:  Messing around in new source

Image

Also, glad to see ImageShack aren't trying to hide the direct link anymore.

Author:  Dragoons Master [ Tue Mar 03, 2009 1:17 am ]
Post subject:  Re: Messing around in new source

Looks REALLY better ^^

Author:  GIAKEN [ Tue Mar 03, 2009 1:22 am ]
Post subject:  Re: Messing around in new source

There's not a way to do transparencies when using BltToDC is there?

Author:  Robin [ Tue Mar 03, 2009 1:25 am ]
Post subject:  Re: Messing around in new source

GIAKEN wrote:
There's not a way to do transparencies when using BltToDC is there?


No decent way, no. Why do you ask?

Author:  Vans [ Tue Mar 03, 2009 1:31 am ]
Post subject:  Re: Messing around in new source

Looks good =)

Author:  Dragoons Master [ Tue Mar 03, 2009 1:32 am ]
Post subject:  Re: Messing around in new source

Using DX8 is kind of easy, but, well... it's kind of hard(too much work) to use it.

Author:  Robin [ Tue Mar 03, 2009 2:30 am ]
Post subject:  Re: Messing around in new source

I use Dx8 a bit, but the texture constraints are too limiting for me.

Some more messing around. Added an npc spawn attribute, where you can also set the direction it spawns in.

Image

Author:  Pbcrazy [ Tue Mar 03, 2009 2:36 am ]
Post subject:  Re: Messing around in new source

nicely done! thats something you wouldn't normally think of.

Author:  Robin [ Tue Mar 03, 2009 3:13 am ]
Post subject:  Re: Messing around in new source

I add it to every source I touch ;D

Finished converting Npcs to run in a class. Just need to put all the subroutines in it, and it should run fine. I'll finish converting the rest of the data types over tomorrow. It's 3am, need sleep.

Author:  Pbcrazy [ Tue Mar 03, 2009 3:17 am ]
Post subject:  Re: Messing around in new source

curious, whats the advantage of using classes over types?

Author:  Matt [ Tue Mar 03, 2009 3:59 am ]
Post subject:  Re: Messing around in new source

Pbcrazy wrote:
nicely done! thats something you wouldn't normally think of.


That's been in the old FPO source for 3 years. And I also put it in PW for James a long time ago.

Author:  Pbcrazy [ Tue Mar 03, 2009 4:09 am ]
Post subject:  Re: Messing around in new source

ok let me reword that: "Not something I normally think of" :)

Author:  Vans [ Tue Mar 03, 2009 4:27 am ]
Post subject:  Re: Messing around in new source

Nice stuff robin, you never fail to amaze me :)

Author:  Lea [ Tue Mar 03, 2009 6:01 am ]
Post subject:  Re: Messing around in new source

lol, how to link an image to a forum from imageshack

Upload to image shack
See the red text? Click to display the hidden link. Use that link.

Author:  Robin [ Tue Mar 03, 2009 1:09 pm ]
Post subject:  Re: Messing around in new source

Lea wrote:
lol, how to link an image to a forum from imageshack

Upload to image shack
See the red text? Click to display the hidden link. Use that link.


Are you retarded for the hell of it?

I clearly said in my first post that they aren't trying to hide the direct link anymore.

How about you upload an image before posting?

Author:  Matt [ Tue Mar 03, 2009 1:58 pm ]
Post subject:  Re: Messing around in new source

Robin wrote:
Lea wrote:
lol, how to link an image to a forum from imageshack

Upload to image shack
See the red text? Click to display the hidden link. Use that link.


Are you retarded for the hell of it?

I clearly said in my first post that they aren't trying to hide the direct link anymore.

How about you upload an image before posting?


XD

Author:  Robin [ Tue Mar 03, 2009 2:10 pm ]
Post subject:  Re: Messing around in new source

Nearly finished fixing up the npc class.

The subs are a bit neater now, with things like:

Code:
Call Npc(npc_ID).Send(index)

Call Npc(npc_ID).Clear

Author:  Robin [ Tue Mar 03, 2009 6:32 pm ]
Post subject:  Re: Messing around in new source

Image

Classes are now stored like:

Code:
[CLASS1]
Name=Warrior
MaleSprites=0,1,4,7,8,9,13,16
FemaleSprites=0,2,11
STR=5
DEF=4
Speed=2
MAGI=0

[CLASS2]
Name=Wizard
MaleSprites=0,5,13,14,6
FemaleSprites=0,10,15,3
STR=3
DEF=3
Speed=1
MAGI=5


When loaded, the Sprite strings will be split up into an array. When making a new character, player's can scroll through the array and choose the sprite that they want to start with. Each class can have a different array of sprites for each sex.

Big thanks to Jacob for giving me the idea of storing them in a string and splitting it up. <3

Author:  Dragoons Master [ Tue Mar 03, 2009 7:15 pm ]
Post subject:  Re: Messing around in new source

Good idea ;P

Author:  Robin [ Tue Mar 03, 2009 7:42 pm ]
Post subject:  Re: Messing around in new source

Character's names now appear different colours.

Pkers are red, the other colours are the same as those ingame to show different access levels.

Image

Author:  GIAKEN [ Tue Mar 03, 2009 7:50 pm ]
Post subject:  Re: Messing around in new source

And they're animated? :D

Author:  Vans [ Tue Mar 03, 2009 7:53 pm ]
Post subject:  Re: Messing around in new source

robin, marry me <3

Author:  Robin [ Tue Mar 03, 2009 7:53 pm ]
Post subject:  Re: Messing around in new source

Vans wrote:
robin, marry me <3


Okay

GIAKEN wrote:
And they're animated? :D


Ofc.

Author:  Ciao [ Thu Mar 05, 2009 2:48 am ]
Post subject:  Re: Messing around in new source

Cool cakes.
That looks really snazzy
:)

Author:  Nean [ Thu Mar 05, 2009 2:50 am ]
Post subject:  Re: Messing around in new source

That's pretty crazy. Is it tough to do these things? I mean, I can't see why it'd be terribly hard, but then again I haven't attempted anything like this. :P

Page 1 of 12 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/