Giter VIP home page Giter VIP logo

gravity_defied_cpp's People

Contributors

antonevmenenko avatar mxlgv avatar rgimad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gravity_defied_cpp's Issues

Привет от авторов порта под андроид :)

Привет! Очень круто, респект всем кто это сделал.

Я один из разработчиков порта под андроид и по совместительству админ сайта gdtr.net. Вы не против, если я размещу ссылку на этот проект на сайте? С указанием авторства, естественно.

Также, если вам будет интересно в будущем сделать интеграцию с нашей базой модов, я готов предоставить любые API в любом удобном формате.

memory leak(s) caused by improper handling of dynamically allocated memory

The project was ported from Java to C++ using automated tools, and during the porting process, raw pointers were used extensively, as they were the simplest option for the port. However, this has resulted in a memory leaking issue in the project.

Upon investigating the issue, it appears that the memory leak is caused by the improper handling of dynamically allocated memory. In particular, it seems that dynamically allocated memory is not being properly deallocated, leading to a buildup of unreferenced memory over time.

In order to fix this issue, it will be necessary to thoroughly review the code and identify the root causes of the problem. This may involve manually correcting the C++ code to properly handle dynamically allocated memory.

Rewrite the project in modern C++

Many things converted from Java look extremely strange. The resulting code, to put it mildly, does not correspond to modern C ++. Maybe it's worth rewriting while maintaining compatibility with level files?

make the game smoother by increasing the FPS

The game is currently running at only ~33 FPS, which is not sufficient for modern games. It would be great to increase the FPS and make it configurable, but there is a problem: the physics in the game is tied to the FPS, so if the FPS is simply increased, the game's time would flow faster, which is not acceptable. Therefore, before increasing the FPS, it would be necessary to untie the physics from it in some way.

Built-in resources

Hi @AntonEvmenenko! @rgimad and I had an idea to make the binary more autonomous, that is, to include resources in it. Of course, the best option would be to use Windows Resources, but there is nothing similar for Linux. Therefore, my idea is to compile resources into a binary. There are two ways:

  1. Use GNU-asm (I already tried this idea, but it looks a bit ugly).
  2. Add a CMake target that will convert resources to C arrays.

bugs with saving progress

When you complete all easy level track, then medium unlocks. Then you complete some tracks of medium, close the game and open again. But now current track is set to the last track of easy level, not the track of medium which you played last time. AND: all previously completed tracks of medium is LOCKED, except the first track of medium.

I'd like to offer help/support/extra pair of hands

Hello,

I'm super happy to find this project. I'm a big fan of Gravity Defied, and I think C++ port would allow fans to do a lot of cool things with the game.

If you need any help or support, or just an extra pair of hands to work on the project, please let me know. You can message me in Telegram (@anton_evmenenko)

I also speak Russian :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.