luizppa / top-gear Goto Github PK
View Code? Open in Web Editor NEWThe SNES Top Gear game made in Allegro 5
License: GNU General Public License v3.0
The SNES Top Gear game made in Allegro 5
License: GNU General Public License v3.0
When playing multiple consecutive races causes the cars to be incorrectly ordered on the **cars array (global variable in helpers/game.c) therefore, causing them to be rendered in an incorrect order and also affecting things like placements.
Running a few tests i could realize that the cars array stays ordered like it has been at the end of the first race placed, which should not happen since the array goes through a quick sort each time the game is updated. To avoid this i started cleaning the cars array at the end of each race (on void clear_game()
at helpers/game.c line 717) and refilling it at each race start (on void setup()
at helpers/game.c lines 583 and 589) but it does not seem to be of any help.
Olá Luiz,
Tentei compilar seu jogo no Windows com MINGW porém não tive êxito, apesar de conseguir alterar o makefile-windows até que todos os arquivos fossem compilados (gerados o ".o") deu problemas no linker.
Tentei criar um projeto no MSVC 2022, mas foi pior ainda, a versão do C++ do MSVC é superior e diversas modificações teve que ser feitas no código apenas para tentar compilar, mesmo assim também não consegui compilar.
Eu ainda não testei no linux pra ver se dá certo, porém queria mesmo compilar no windows.
Será que tem alguma coisa que estou fazendo errado pra tentar compilar o game?
Obrigado.
[]'s
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.