Skip to content

Instantly share code, notes, and snippets.

View raphaelpierquin's full-sized avatar

Raphaël Pierquin raphaelpierquin

View GitHub Profile
add_library('VideoExport')
off = 0
hue = random(80)+10
rate = 10
def keyPressed():
global videoExport
if (key == 'r'):
videoExport.startMovie()
if (key == 'q'):
@raphaelpierquin
raphaelpierquin / bulbedistracteur.js
Created March 29, 2017 16:28
Une IA pour arriver sur l'ennemi en même temps que ses bulbes.
var chip = CHIP_ROCKY_BULB;
if (getWeapon()==null) setWeapon(WEAPON_DESTROYER);
var enemy = getNearestEnemy();
var bulbe = unDeMesBulbes();
if (jeSuisSuffisammentLoinDe(enemy) and bulbe != null) {
avanceVersSansTropTEloignerDe(enemy, bulbe);
var utils = require("utils");
exports.paris = function() {
carte(48.8534100, 2.3488000, 1, 8, 2, 1);
};
exports.talloires = function() {
carte(45.839395, 6.215118899999993, 3, 40, 50, 1);
};