Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

12it123

Members
  • Posts

    39
  • Joined

  • Last visited

    Never

Posts posted by 12it123

  1. Really nice job indeed! I'm also working on CS:DE and for some reason the Y-Based rendering isn't working… I'm not even sure it has one. What this does, it helps fix problems like this if you're using sprites larger than 32 x 32
    ![](http://i60.photobucket.com/albums/h8/12it123/Issue.jpg)
    So in sub render_graphics I replaced the player code with
    ```
            ' Players
            For y = 0 To MAX_MAPY
                For i = 1 To MAX_PLAYERS
                    If IsPlaying(i) And GetPlayerMap(i) = GetPlayerMap(MyIndex) Then
                        If Player(i).y = y Then
                            Call DrawPlayer(i)
                        End If
                    End If
                Next
    ```
    It fixed that issue but for some reason now the character disappears if the map's y is bigger than 19\. See if you can look into this because I'm sure supporting larger sprites would be great for this engine.
  2. Thanks for the help and the fast response ZeroX8 but I tried what you suggested and it resulted in this and I still have my issue. I hope you can help me out, thanks tons again.
    ![](http://i60.photobucket.com/albums/h8/12it123/Problem2.png)
  3. Hey guys, I'm usually one to do things by myself and I know the very basics of programming but this really has me stumped. Anyways, I'm trying to change the way the sprite format back to how it was when  Eclipse Origins was released and I almost have it! But apparently it's only recognizing the top 32x32 square of the character which means the character's head has to be on the item and not his feet. It's not only items though, The block attribute also only works for the top half of the spirit instead of the bottom where it should.

    Here's an example of where the player needs to be to pick up the items (There's a wooden sword behind the player's head):
    ![](http://i60.photobucket.com/albums/h8/12it123/Problem.png)

    And here's my DrawPlayer (I believe that's the only thing regarding this that I've edited):
    ```
    Public Sub DrawPlayer(ByVal index As Long)
        Dim Anim As Byte
        Dim i As Long
        Dim x As Long
        Dim y As Long
        Dim sprite As Long, spriteleft As Long
        Dim rec As GeomRec
        Dim attackspeed As Long

        ' pre-load sprite for calculations
        sprite = GetPlayerSprite(index)
        'SetTexture Tex_Char(Sprite)

        If sprite < 1 Or sprite > Count_Char Then Exit Sub

        ' speed from weapon
        If GetPlayerEquipment(index, Weapon) > 0 Then
            attackspeed = Item(GetPlayerEquipment(index, Weapon)).speed
        Else
            attackspeed = 1000
        End If

        If Not isConstAnimated(GetPlayerSprite(index)) Then
            ' Reset frame
            Anim = 1
            ' Check for attacking animation
            If Player(index).AttackTimer + (attackspeed / 2) > GetTickCount Then
                If Player(index).Attacking = 1 Then
                    Anim = 2
                End If
            Else
                ' If not attacking, walk normally
                Select Case GetPlayerDir(index)
                    Case DIR_UP
                        If (Player(index).yOffset > 8) Then Anim = Player(index).Step
                    Case DIR_DOWN
                        If (Player(index).yOffset < -8) Then Anim = Player(index).Step
                    Case DIR_LEFT
                        If (Player(index).xOffset > 8) Then Anim = Player(index).Step
                    Case DIR_RIGHT
                        If (Player(index).xOffset < -8) Then Anim = Player(index).Step
                End Select
            End If
        Else
            If Player(index).AnimTimer + 100 <= GetTickCount Then
                Player(index).Anim = Player(index).Anim + 1
                If Player(index).Anim >= 3 Then Player(index).Anim = 0
                Player(index).AnimTimer = GetTickCount
            End If
            Anim = Player(index).Anim
        End If

        ' Check to see if we want to stop making him attack
        With Player(index)
            If .AttackTimer + attackspeed < GetTickCount Then
                .Attacking = 0
                .AttackTimer = 0
            End If
        End With

        ' Set the left
        Select Case GetPlayerDir(index)
            Case DIR_UP
                spriteleft = 0
            Case DIR_RIGHT
                spriteleft = 1
            Case DIR_DOWN
                spriteleft = 2
            Case DIR_LEFT
                spriteleft = 3
        End Select

        With rec
            .top = 0
            .height = (D3DT_TEXTURE(Tex_Char(sprite)).height)
            .left = (spriteleft * 3 + Anim) * (D3DT_TEXTURE(Tex_Char(sprite)).Width / 12)
            .Width = (D3DT_TEXTURE(Tex_Char(sprite)).Width / 12)
        End With

        ' Calculate the X
        x = GetPlayerX(index) * PIC_X + Player(index).xOffset - ((D3DT_TEXTURE(Tex_Char(sprite)).Width / 12 - 32) / 2)

        ' Is the player's height more than 32..?
        If (D3DT_TEXTURE(Tex_Char(sprite)).height) > 32 Then
            ' Create a 32 pixel offset for larger sprites
            y = GetPlayerY(index) * PIC_Y + Player(index).yOffset - ((D3DT_TEXTURE(Tex_Char(sprite)).height / -32))
        Else
            ' Proceed as normal
            y = GetPlayerY(index) * PIC_Y + Player(index).yOffset
        End If

        RenderTexture Tex_Char(sprite), ConvertMapX(x), ConvertMapY(y), rec.left, rec.top, rec.Width, rec.height, rec.Width, rec.height
    End Sub
    ```
  4. @Rioshima

    If it's an essay you want it's an essay you shall get.
    By the time I'm done you're gonna be full of regrets.
    You'll never forget how corny you sound when I pull up in my corvette.
    So i'll just light a cigarette and flick the ashes at your face.
    Bringing up cartoons in a rap battle is a disgrace.
    So i'm here to set you in your place.
    Like I said this is a verbal homicide.
    And while i'm flicking ashes I'm filling this place up with muzzleflashes.
    Cause your missing a nice flow, and I'd bet you'd spit that slow.
    So while your in the cold, In the snow. I'll be swimming in dough.
    I've probably said this before. But that's ok cause' your nothing but a big whore.
    You and long rhymes do nothing but bore.
    So i'll be the teacher and asign you and F.
    Yeah you heard me, Don't pretend your deaf.
  5. I'm making this a verbal homicide.
    Let me point you to a rapping guide.
    So when you see me on your block you better hide.
    If anyone told you, "You can rap!" They lied.
    Cause' I'm klling serially, clearly you'll see.
    That's it's impossible to disagree. With me.
    I'm equivalent to what you wanna be.
    I'm deeper than pothole when I hit the streets.
    Might catch me at your mom's house beating my meat.
    Cause' like I said, I'm an elite, and your nothing but weak.
    Not to mention bleak.
    Unmatchable technique make me unique.
    We got australians trying to rap.
    Throw in some brits and it's nothing but crap.
    I'll make your mind run laps as my raps unwrap.
    I've never been so sure, You're all just insecure. Unsure.
    We'll let me reassure that you were premature.
    Not to mention immature.
    But I got the cure.
    Cause all I am is pure.
    So I'm end this with some advice.
    Take a hike you dikes.
    Cause I'll just flat your bike, with a spike.
    Psych, I'm joking I'm not the violent type.
    And that's what we have alike.
    But if provoked I won't hesistate to choke.
    and make you broke. Don't take this as a joke.
  6. Yo kids, Shouldn't you be napping?
    Not rapping.
    I got no remorse, I make your wife file a divorce.
    TPuppy, Is nothing but a small guppy.
    Fish meat is neat, to eat but not to compete. With me.
    A talented MC, That you'll never be. I'll have you down on your knees.
    Flea infested mutts make me sick. Give you a kick and end up with a walking stick.
    Smash your dick with a brick, I react quick.
    Takes all the clit for myself and leave you nothing to lick.
    Cause' when I'm on the mic I'm similar to a dynamite.
    A dog can bite but it can't put up a fight.
    Better run for your life cause somebody's gonna die tonight.
  7. Thorns cause little damage, Try a knife.
    Don't get mad, Just change your way of life.
    Don't live your life in strife, I'm giving you advice.
    Don't be as soft as marsh mellow. Expect a cello. Preparing for your funeral.
    I'l be glad to help you reach god quicker. You're rhymes make me snicker, bust a lung laughing.
    See I'm not a bad man, I just wont hesitate to give you a shorter life span.
    The nerve of some of you, You getting served and don't even realise it.
    They should make it illegal to rap without a permit.
    Eliminate the waste your all misplaced.
    The day care is that way!
    Just call me Shakespeare I bring fear in the eyes of your white queers.
    Ahead of my time, boy do I wish you were a mime.
    This is a part time, and I'm way into my prime.
  8. My mom said I shouldn't diss girls.
    But reading this shit is making me hurl.
    Dreaming of riches, While I'm smacking the bitches.
    And Murdering Snitches.
    Your about to Get killed by an unknown.
    I'm killing two birds with one stone
    Ain't none of you in the zone.
    You never stood on a street.
    Never packed any heat.
    If I were you I wouldn't even compete.
    I'm an elite, while all yall in the backseat.
    So admit defeat, Retreat, You're obsolete.
    Keep up with the times, Your spittin nursery rhymes.

    Your best rhymes still ain't shit.
    To be good in this game you gotta commit,
    and admit that your unfit.
    So just **quit**.
  9. Yeah I was there yesterday to witness it all. It was crazy! I'm gonna buy it for sure. Favorite tracks are: No Love, Space Bound, Going Through Changes, Almost Famous, Love The Way You Lie, and You're Never Over. Well that's about the whole album xD

    I'm also buying a copy for sure.
  10. Just a suggestion but I've seen some people erase that part of the weapon that should not appear. I don't think a source edit could fix that either way due to the fact that the weapon would render under the character and also behind the right arm which would make it look weird.
  11. > the modeling progem im refering to is anim8tor, and i hate it
    > fps creator is a really neat program

    Have you seen this?
    [http://www.blender.org/](http://www.blender.org/)

    Then again your teachers might be using Anim8tor to get you guys used to 3D modeling. I used Anim8tor at first, I then made the switch to Blender. Confusing at first but It gets easy.

    Art

    @xelander:

    > If all is artist's, what are real artist's then?

    There aren't any real artist, There's just some people who are more dedicated to art.
  12. I'm pretty sure I mentioned that I have zero knowledge with VB6\. I tried messing around with the X and Y's seeing as all I did to make the body 48x64 was change some 32's to 48 until I got lucky. It's not working out much for the head = ( I'd also like to thank everyone who has recently posted since I wasn't getting my help before. The name and the HP bar can be easily alligned later.
  13. @Kimimaru:

    > Do you think you can post some of the code that changes the head sizes, please?

    I'm trying to do that myself =0 That's all I need fixing the body I did myself and It should be easy to change to any size I feel like once I get the head working which is what I am in need of help with.
×
×
  • Create New...