All courses now render properly. WIP items (shell, banana, fake item)

This commit is contained in:
riperiperi committed 2019-06-09 23:50:55 +01:00
1 parent e010627b5d
commit ff21142744
45 files changed
+3400 -1193

No files matched your search

+3
View File
@@ -45,6 +45,8 @@ window.controlRaceCPU = function(nkm) {
var destConst;
var destPoint;
var item = false;
function fetchInput() {
//basically as a cpu, we're really dumb and need a constant supply of points to drive to.
//battle mode AI is a lot more complex, but since we're only going in one direction it can be kept simple.
@@ -83,6 +85,7 @@ window.controlRaceCPU = function(nkm) {
offTrans += 1/240;
if (offTrans >= 1) chooseNewOff();
item = !item;
return {
accel: accel, //x