Really cool! Does it only work with upward-facing spinning blocks? (What if they were place on the bottom?) Does the program make use of the calculated center of mass? (So many questions!)
wow nice control engineering .. do you check the angle of the main block? Is this only a "on" "off" controlsystem? There are several mathematical regulation-technics which could stabilize the system more.
Really cool! Does it only work with upward-facing spinning blocks? (What if they were place on the bottom?) Does the program make use of the calculated center of mass? (So many questions!)
wow nice control engineering .. do you check the angle of the main block? Is this only a "on" "off" controlsystem? There are several mathematical regulation-technics which could stabilize the system more.
In the video I posted, the center of mass is not used and it's only a digital on/off system. I changed it to use the center of mass after the video was recorded, as well as giving analog support (0f-1f) for the control system. Currently it assumes all spinning blocks are upward-facing, but I'm working on improving this, of course. Want to let the user select which spinning blocks to use, so you can use some (excluded from the control system) to propel yourself, etc.
EDIT; And yes, it checks the angle of the main block. But I might concider an option to check the average angle of all blocks, but this would be a bit more difficult as some blocks can be rotated when placed, and it would break massively if a piece fell of.
New game-mode idea (That I hope might pique your interest) 2 Player Races.
Utilizing the checkpoint game-mechanic seen in a few levels (most notably Marksmans Pass) I was thinking custom maps could be created to have 2 players race against eachother in.
This would require the addition of a 2nd "main block". This one could be red. Then the checkpoints could differentiate between WHO is passing over the checkpoints. Alternatively, The game could simply create a 2nd copy of whatever car is used for the race automatically (would need to allow player to customize controls)
The courses could be of any type, really. It would add excitement to have bombs littered around the course as obstacles, and preferably the course wouldn't be completely flat (adding hills and tunnels as seen on marksmans pass) etc. Perhaps even could add some bleachers with peasants in them to "cheer!"
Just a rough idea. Think it would be fun down the line, and would open up more same-screen multiplayer options.
New game-mode idea (That I hope might pique your interest) 2 Player Races.
Utilizing the checkpoint game-mechanic seen in a few levels (most notably Marksmans Pass) I was thinking custom maps could be created to have 2 players race against eachother in.
This would require the addition of a 2nd "main block". This one could be red. Then the checkpoints could differentiate between WHO is passing over the checkpoints. Alternatively, The game could simply create a 2nd copy of whatever car is used for the race automatically (would need to allow player to customize controls)
The courses could be of any type, really. It would add excitement to have bombs littered around the course as obstacles, and preferably the course wouldn't be completely flat (adding hills and tunnels as seen on marksmans pass) etc. Perhaps even could add some bleachers with peasants in them to "cheer!"
Just a rough idea. Think it would be fun down the line, and would open up more same-screen multiplayer options.
I actually think that wouldn't be too too hard. I'll look into it!
EDIT; As I predicted, not too hard! Loading in 2 different robots might be a bit harder though, as the loading code is obfuscated, but I might be able to find a workaround.
That's excellent! That is perfect for same-screen racing! You basically load up the "racecar" then duplicate it, and allow player 2 to customize the controls before you start the race! Excellent! (Now we just need some sick race-tracks) :P
Loading in 2 different robots might be a bit harder though, as the loading code is obfuscated
But it isn't?
Well, as far as I can tell, it's inside of a couple of coroutines. That makes it pretty annoying (difficult) to read, and certainly even more difficult to modify.
"Both optimists and pessimists contribute to society. The optimist invents the aeroplane, the pessimist the parachute." ~ George Bernard Shaw
It's farily annoying to read, but certainly not obfuscated. Modifying it isn't too hard as long as you don't try to add a lot of stuff, like just call a method you have in your dll.
It's farily annoying to read, but certainly not obfuscated. Modifying it isn't too hard as long as you don't try to add a lot of stuff, like just call a method you have in your dll.
But I'm not finding anything that actually leads to any loading code?