Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Class inheritance, and its limits
Post: Class inheritance, and its limits

I was quite pleased, when saw a post about new update. Can someone explain me - how does it work and what are limits of this implementation? In the best case scenarion with exsamples, following for du...
clop1000 General 0 4,567 03-31-2017, 04:29 PM
    Thread: 15th Anniversary Congrats
Post: RE: 15th Anniversary Congrats

Congratulations! It's definitely the best game about programming in existence, at least in the know universe)
clop1000 General 3 15,283 03-31-2017, 04:23 PM
    Thread: Several mining bots working simultaneously
Post: Several mining bots working simultaneously

Is there any ready to cook code to implement following: several bots simultaneously grab titanium ore, and they don't use the same block. And i completely don't understand how the interconnection b...
clop1000 General 3 11,329 10-07-2016, 07:08 PM
    Thread: Aim angle
Post: RE: Aim angle

Thx! Now i know the basics of trigonometry!)☺ I finally i understood meaning of Sin,and other unknown things ☺ Your post is fantastic.
clop1000 General 3 12,494 07-06-2016, 09:29 AM
    Thread: Aim angle
Post: Aim angle

My bad, i absolutely don't know a math and geometry. Can someone advise me about how to determine an angle between a bot and a target. Of course it's for Flying objects. I will really appreciate your ...
clop1000 General 3 12,494 07-05-2016, 04:13 PM
    Thread: Map Editor
Post: RE: Map Editor

Has any progress been made on this subject? I just want to use a plain and simple map editor to make my own mission for testing purposes.
clop1000 Help 4 24,710 07-05-2016, 02:44 PM
    Thread: Finding Powercells that needs charging
Post: RE: Finding Powercells that needs charging

Is there any way to get a reference on the holder of PowerCell? For instance - i got a list of PowerCells, and i want tot know, which of them are installed in bots. object.load - does not work proper...
clop1000 General 13 39,578 07-05-2016, 01:03 PM
    Thread: Reference as return type.
Post: RE: Reference as return type.

But copy of this will be still active? And a really little question. What type category are? I mean what type of variable can contain it?
clop1000 General 5 14,706 07-04-2016, 05:14 PM
    Thread: Reference as return type.
Post: RE: Reference as return type.

Yeah. I just got some kind of a glitch. Now i am curious about - is there some kind of garbage collector. extern void object::Spider2() { int[] q; q = qw(); message(q[2]); } public int[] qw() ...
clop1000 General 5 14,706 07-04-2016, 04:22 PM
    Thread: Advanced targeting
Post: RE: Advanced targeting

it works perfectly! You have a good memory))
clop1000 General 3 10,720 07-04-2016, 04:12 PM
    Thread: Reference as return type.
Post: Reference as return type.

Is it possible to get a reference to an object through return type? How do i do that? for instance i want to make a simple function - object findemptycell() { object o; int i=0; while (true) {...
clop1000 General 5 14,706 07-04-2016, 03:34 PM
    Thread: Checking used objects. (ore that was moved)
Post: RE: Checking used objects. (ore that was moved)

(07-02-2016, 02:53 PM)radioactivity Wrote: I'm gonna take my opportunity to curse dynamic id system. Should every item get static id, like in original Colobot, you could save list of id's of Titaniu...
clop1000 General 6 19,195 07-02-2016, 04:53 PM
    Thread: Advanced targeting
Post: Advanced targeting

I curious  - how exactly direction function works? May some one share his/her own example of code, in which used only position of me and target, and their YAWN,ROLL, and so on.
clop1000 General 3 10,720 07-02-2016, 02:01 PM
    Thread: Checking used objects. (ore that was moved)
Post: Checking used objects. (ore that was moved)

I am working on the code for a bot, that will be automatically drag a titanium ore to a specific destination (for instance flag, or even better just destination (z,x,y)), find a free space, and go to ...
clop1000 General 6 19,195 07-02-2016, 01:24 PM
    Thread: IDE with intellisense
Post: RE: IDE with intellisense

It will be great! But may be is there any way to use source code or dll, with purpose Code::Blocks or some other IDE know about command's in colobot, and made possibly autocomplete
clop1000 General 3 10,269 07-02-2016, 12:57 PM
    Thread: IDE with intellisense
Post: IDE with intellisense

Is there anyway to use IDE compatible with colobot gold?  It is like a torture to write code without this little nevertheless useful option.
clop1000 General 3 10,269 06-30-2016, 11:51 AM
    Thread: Finding Powercells that needs charging
Post: RE: Finding Powercells that needs charging

Thx! it's really good explanation!
clop1000 General 13 39,578 05-05-2016, 04:39 PM
    Thread: Finding Powercells that needs charging
Post: RE: Finding Powercells that needs charging

melex750 excellent job! But - what is the meaning of this part of code? - if (item.velocity.x != nan) { speed = abs(item.velocity.x); ...
clop1000 General 13 39,578 05-03-2016, 12:42 PM