Recent content by hechelion

  1. hechelion

    Damaged state for entities and damaged pain animation

    If I understand your problem correctly, your entity has four damage states and four sprites that play depending on that state. However, when it takes damage, the engine always executes the PAIN animation, and what you want is for PAIN to play with "ff2pilar2.gif" or "ff2pilar3.gif" or...
  2. hechelion

    Solved Is there a way to modify the pause time of an attack using code?

    Thank you so much for your time and response. Your code is very clean and well-documented, so it's quite self-explanatory and allows me to understand what modifications need to be made.
  3. hechelion

    Solved Is there a way to modify the pause time of an attack using code?

    Hi. I have an attack system that changes based on certain variables, so I alter the amount and type of damage using a script. So far, everything is working. The problem is that when a critical attack occurs, I'd like to increase the pause time, but I haven't been able to figure out how to do...
  4. hechelion

    Solved Random script giving an unexpectly expected result

    No, that's the instruction, where "seed" is the number of the seed you want to use. The statement code you should use is: srand(openborvariant("ticks")); On the first level of your game, and only on the first level, check if you have a script that loads with "levelscript". If you do, edit...
  5. hechelion

    Solved Random script giving an unexpectly expected result

    When you start the first stage, modify the random number generator seed with: You can use the "ticket" counter as the seed; it's not ideal, but it usually works fine. srand(openborvariant("ticks")); There are more complex and better ways to generate a seed so that the result "feels" more...
  6. hechelion

    Possible Steam achievement implementation?

    Thanks for that information.. I was completely unaware of that feature, so in theory it should be possible to integrate the Steam API. Just out of curiosity, is there any documentation on how to interact with a DLL from OpenBOR scripts?
  7. hechelion

    Possible Steam achievement implementation?

    If I may offer a comment, @DCurrent if you're going to invest time in implementing something like this, I think it would be better to consider adding support for accessing a DLL. The Steam API changes over time, and I believe it would be easier to update a DLL and access from a script than to...
  8. hechelion

    Solved It is there a way to use visual studio code for scripts in OpenBOR?

    Are you referring to a script within a TXT file or to .c files? If you mean .c files, Visual Studio Code should automatically detect the syntax and apply the corresponding extension (it asks if you want to download it when you open the file), so perhaps you don't have a C extension loaded...
  9. hechelion

    Possible Steam achievement implementation?

    To use achievements on Steam, you need access to the Steam API. Officially, it's only provided as C++ code that you can integrate into your game or create a DLL. Unofficially, there are many ports of the API for different languages and engines. From what I know of OpenBOR, there's no way to...
  10. hechelion

    Openbor on Ubuntu

    You have 2 options. The first, download the source code and compile it on the PC with ubuntu. 100% sure it works, but I don't recommend it unless you have experience building linux applications. The second, and the one I recommend. use this version of openbor...
  11. hechelion

    Compile Android Build

    Google play have a limit for the apk you can upload, but the apk "per se" not. That problem can be the size of the JVM stack, Trying increasing the heap size of your JVM. If you'll excuse my intrusion, why do you need to compile the game with the .PAK inside the APK?
  12. hechelion

    Finding Optimal Color Palette for Image

    Hi, The problem is that the number of red pixels are too few compared to other colors, the optimization algorithm looks for the most used colors in the image, not those that are most striking to the human eye. Note :Not only are they few, but they are also very similar tones to others that...
  13. hechelion

    Which Video Editor to Download

    You need to install the Microsoft Visual C++ 2015 redistributable first. Edit: https://www.microsoft.com/en-us/download/details.aspx?id=52685
  14. hechelion

    Which Video Editor to Download

    Kdenlive. Is for linux (free and opensource), but have a port to windows. https://kdenlive.org/en/
  15. hechelion

    Build OpenBor

    This is a bit more complicated, Linux is a more generic name that encompasses many variants. Normally when you say plain "linux" it is similar to when you say plain "windows", it is usually referring to only the latest versions for desktop computers. But in the same way that you have windows...
Back
Top Bottom