Int hedgeanimframes // Number of animation frames for hedgedog animation. String HedgedogAnim //File to look for Hedgedog animation while holding this weapon Weapon-only specific variables(only for the object that is the selectable weapon from menu):īool settimer //If timer can be modified by player by pressing 1-5įloat MinAngle,MaxAngle //Min and max aiming angleįloat MinPower,MaxPower //If MinPower >= MaxPower then power is constant and equal MinPowerīool Aimer //If it have got visible aimer These would be function for every object that can be created, there also would be few variables like:įloat gravity // how much gravity alters its pathįloat Bounciness //Bounciness for physics engineįloat friction //For objects like grenades, etc. Int animframes //Number of frames for animation (OR artenatively it could be X and Y velocities instead of Angle and Velocity) OnHit(float Velocity, float Angle) //Velocity - how fast object was flying when it hit, Angle - angle of object when it hit. InAir() //executed every frame while bullet is in air OnFire(int ID,float Angle,float Power) //ID-id of firng hedge
#Openlierox gun maker how to#
Because I'm a kind of person that likes telling everyone what and how to do I'll write an example(sorry, I can't hold on.): why? Because it would allow everyone to easily add new weapons without knowledge of programing. Also normal, but looped maps would be cool, especially looping caverns.ģ)Scripted map generators - What else is needed to be said? Functions allowing to draw lines, dots, squares and rectangles(also rounded), circles, another polygons, to smooth map, do noise(), to check if there is air in given point(or area) of map, and so onĤ) "States" of hedgedog (Flaming, Frozen, Paralyzed, Morphed into something, Poisoned and so on) for use as weapon effects, these could also be scripted (by setting Hedgedog variables like used animation, if it can be selected, moved, if can jump, fire weapons, speed, jump strength, etc.).ĥ) Scripted weapons - Implementing a (simple) script interpreter is not a very hard thing to do, so in my opinion adding scripted weapons should be Your top priority. I know it would be probably very hard to implement, but I think it is worth it. In my opinion it would be a LOT of fun to shoot enemy aove your head. Also anti-planets, where whole map is round, BUT it is 'inverted' - in center is air and borders are solid. Also gravity would weaken wth distance to planet.
what about non-standard maps where whole map is not a standard landscape but for example a planet? Also when player would move around(gravity would point to center of this 'planet') camera would change according to gravity direction. Also I tought about something that may be REALLY, REALLY weird, but also really interesting. This would require adding a "Reload time" variable for weapons. Only thing to do would be changing game logic so each player would have only one Hedgedog(or maybe more.) and all players would move in real-time. This would not require changing weapons or anything else. For that there would be another controls (WSAD + Fire, Jump, Rope/Another tool and Weapon menu keys for one player and Arrows + rest for second one). I know that this won't be exactly worms like but would be fairly easy to do (I think so.) so You could add a realtime gameplay where two (or more) players play over internet or in split-screen.
Also coloring could be done before loading level by simply:ī)Converting to HSV and changing huea saturation and valueĬ)Selective a or b - Red, green, blue, yellow, cyan and magenta areas get recolored separately (like filter from GIMP)Ģ) More game modes.
I think that adding more types of characters would be really great(Maybe Dragon, and everything else that is round, like Goo Balls ^^). I know that it is huge wall of text.ġ)Another skinsand colors for hedgedogs - I know it was already suggested but I have more detailed version - For now there are only hedgedogs.
I'd be gratefull if you would read it to the end. Sorry if there is an "etc." anywhere, it means "and so on" or "and simmiliar" in my language, I'm just too used to it to replace it with something, sorry. First - sorry for non-descriptible name of this topic, but for every game I see I have tons of ideas, so here we go: