Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Smarter overloading method?
Post: RE: Smarter overloading method?
You can encapsulate your arguments into classes using multiple constructors. It's still fairly ugly, but rather than scaling exponentially on the number of arguments the complexity scales linearly on ... |
|
DomesticAnt |
Help
|
1 |
7,517 |
03-24-2018, 01:57 PM |
|
|
Thread: Array elements crashing program [SOLVED]
Post: RE: Array elements crashing program
I want my program to be able to solve the MazesOnMars levels and reliably reach objects surrounded by ruins (e.g. Titanium and PowerCells in the Tropica "On the Offensive" mission). I'm afraid that an... |
|
DomesticAnt |
Help
|
4 |
11,055 |
03-22-2018, 01:53 AM |
|
|
Thread: Array elements crashing program [SOLVED]
Post: RE: Array elements crashing program
Yes, a representation at 1-pixel (5m) resolution the map is easier to deal with (n.b. your code would run much faster if you add ipf(5000) to the top of your travel() function).
If the only thing the... |
|
DomesticAnt |
Help
|
4 |
11,055 |
03-20-2018, 09:04 PM |
|
|
Thread: Array elements crashing program [SOLVED]
Post: Array elements crashing program [SOLVED]
I'm trying to write a simple path finding algorithm, and I've run into a problem with cbot arrays that I can't seem to work around:
I'm trying to create a 2d array representing the map at a 1m scale,... |
|
DomesticAnt |
Help
|
4 |
11,055 |
03-20-2018, 02:40 AM |
|
|
Thread: Several mining bots working simultaneously
Post: RE: Several mining bots working simultaneously
Sorry for the thread necromancy, but I actually wrote one of these for the original Colobot (sadly I no longer have the code).
It wasn't just mining, but a general economic support program that could... |
|
DomesticAnt |
General
|
3 |
13,277 |
02-18-2017, 02:06 PM |
|
|
Thread: No aliens on minimap
Post: RE: No aliens on minimap
Minor addendum: Wasps do appear on the map, some of the time. I think it's just when they're flying. |
|
DomesticAnt |
Help
|
2 |
9,212 |
01-30-2017, 01:10 AM |
|
|
Thread: No aliens on minimap
Post: No aliens on minimap
I'm currently playing through the single player missions using the latest "windows-debug" build (Jan 28, 2017)
I cannot see icons for any aliens on the mini-map, in any mission I've tried.
I have bu... |
|
DomesticAnt |
Help
|
2 |
9,212 |
01-29-2017, 07:35 PM |