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

Growlith1223

Members
  • Posts

    2042
  • Joined

  • Last visited

Posts posted by Growlith1223

  1. It's been a few years since i've been on this forum but im back and am currently looking for any work.

    **Languages**
    I work in a fair bit of languages, my main languages i use on a daily basis are C++, Java, Javascript, Python, however i am proficient in other languages as well such as VB6, VBNET, C#, and Lua.

    my pricing is $7/hr usd. If there is any issues with the code after the sale is complete, bug fixing for said sale is free and will be done as quick as possible.

    As far as work i've done, i don't really have much to show as a lot of my work anymore is backend development.

    Doubt i'll get anybody but doesn't hurt to try!
  2. it's less work than keeping track of resets, but yea, i believe you can do it that way if you wanted, it'll just require a tiny bit more processing power

    EDIT: Your method's benefit is support for Windows XP and below. Windows XP and below does not have the GetTickCount64 method so it'll just crash on there(if you're worried about WindowXP and below support that is)
  3. GetTickCount returns a DWORD-based value, which is essentially VB6's Long datatype, but still larger since a Dword is an unsigned int. because you can't actually GET an unsigned value in VB6(without some extra maths that i can't think of right now), it's going to overlap regardless of what datatype you use. sure, you could probably divide the Tick count by some value and keep going, but eventually you're still going to hit the limit of Long(or in this case, GetTickCount in general), and overlap into the negatives.

    What my code does is get rid of that overlap entirely. Single and Double go nowhere near what the Currency datatype can go to, that and it can actually hold the value that GetTickCount64 provides.

    tldr;
    GetTickCount will overlap regardless of what you do. GetTickCount64 just holds a LOT larger of a value to prevent this
  4. There are various ways of fixing this issue, essentially GetTickCount will overlap into the negatives after a certain amount of time has passed(i can't remember the exact amount of days, but Long is 2.14 billion, and that goes by within like, i believe a week or 2)

    There's also timeGetTime, which will get you a longer duration before the value is overlapped to a negative(47 days).

    But, there's an even better solution. You'd be losing out on support for Windows XP however as Windows XP does not have support for it.

    GetTickCount64. this uses the Currency data type in vb6(ULongLong in C++, ULong in .net), it has a max of 9,223,372,036,854,775,807. which lasts for years.

    to use this, simply do
    ```
    Public Declare Function GetTickCount64 Lib "kernel32" () As Currency
    Function getTick() As Currency
    getTick = GetTickCount64 * 10000
    End Function
    ```
    Essentially what this does is, return the value from getTickCount64 * 10000. why the multiplication? the value that is received from GetTickCount64 is a floating point value(a LOT smaller than getTickCount), however, if you mutliply by 10k, it returns a solid value, which is what we need.

    You CAN use something like a long at this point, but you'll be getting the same issue again with the rolling over to the negative values.

    This essentially solves the issue of trying to handle the rolling over issue, in a few lines of code.

    As i said however, you lose the ability to use any program with this code, on Windows XP as WinXP does not have support for it.

    Hope this helps!
  5. All sprites have to be divisible by 32 in the width and height, this is because of how the animation system works.

    your sprites can be 4k by 4k as long as you have the needed frames in the image, otherwise you'll have some weirdness happening with sizes that aren't divisible by 32.
  6. the emerald, yea i'll agree it does need some work, same with the sapphire. as for the gold gem, it's a yellow Emerald type of gem, wasn't really going for a specific type of gem(think chaos emerald), but yea it definitely needs some work.

    The other thing, it is indeed a wand.

    do keep in mind all of these textures are 16x16
  7. So, I am fully aware that I am not good at creating graphics, But this is my progress from the LAST TIME I posted graphics, which was like 1-2 years ago actually

    ![](https://i.gyazo.com/e5cab4d08da094de835c958e1e447ee9.png)
    ![](https://i.gyazo.com/6bffb0fb8515cb044eefb157b3e9f847.png)
    ![](https://i.gyazo.com/47bec6543bb7b1af9649fd73a5e8a2a4.png)
    ![](https://i.gyazo.com/ab23333015ef232f0a447f326d791f09.png)
    ![](https://i.gyazo.com/c4ea56b4a3d8e26c85bf914351473fe7.png)
    ![](https://i.gyazo.com/57200d4b4f503e55e471d7c3b6b2e5ea.png)

    Opinions? lol
  8. im gonna be one of the ones to defend vb.

    while i wouldn't recommend learning it(or any .net languages imo but that's just me), VB is still a viable option, now to say why.

    VB.NET's pros
    - Easy to learn(stupidly easy)
    - can be converted to C# very easily

    C#'s pros
    - Can lead to learning more lower level languages(C/C++/another language i can't remember that's a derivative of C++)
    - can be converted to vb.net very easily

    They both do the exact same thing in terms of processing, they both compile to the same MSIL compiler. they do absolutely nothing differently to each other except for a few other things made easier in C#.

    im not defending VB.net entirely, i still say you should learn something else being as, well, C#/Java/even C++ are relatively easy to learn(C++ can take some time but it's small differences from C#). imo should just go straight to C/C++, but like i said, that's just me.

    EDIT: rather than just giving a "you shouldn't use this, you should this instead", give some pros and cons from each language. not everyone is going to know why you want them to use it or not use it, and are too lazy to google that half the time as well.
  9. open source doesn't necessarily mean the death of an engine, it gives growth to it for split-offs, or in a sense, custom versions.

    Regardless, even if you obfuscate the source code, .NET and java is still one of the easiest language platforms to decompile, so eventually someone'd get their hands on the source.

    i personally am not going to decompile it(if you closed source it) except for the soul purpose to judge your code lol
  10. honestly i'd rather just ask someone to make the logo for you, regardless

    There's a site called

    https://cooltext.com/

    that will only generate text, at least from what i remember
×
×
  • Create New...