@Don_Adan, post #6562
@Don_Adan, post #6571
@tukinem, post #6572
@tukinem, post #6572
@Hexmage960, post #6575
@tukinem, post #6576
ViewPort chyba tyczy się ekranu systemowego Intuition, a nie ręcznie stworzonego pola gry z własną copperlistą. No, ale jeśli Twój sposób na warstwy działałby również na niesystemowych ekranach, to mnie to ciekawi.
Nie chcę zaśmiecać wątku o zapowiedziach gier, więc przeniosę się z czasem do Twojego wątku, gdy tylko będę mieć pytania
@mailman, post #1
@Hexmage960, post #6587
It all started on 4 October 1957, when Russian satellite Sputnik1 was shot
into the terrestrial orbit. At about the same time, AI-research began. Through
the decades, many improved satellites followed. They were put into service by
countless countries. These countries also ensured that advanced AI-technology
was applied in them. The fleet of upgraded satellites performed a large variety
of tasks: communication, navigation and science, AI being a key feature.
Thanks to their tremendous success, the number of AI-fueled satellites in
the sky was soaring: from 50.000 in 2050 to more than 200.000 in 2150. They
proved a safe matter. There was no risk of collision, the machines knew to
repair themselves and never failed to evolve. As maintenance was no longer an
issue, people became oblivious about science, technology and progress for
almost two centuries. Why care about satellites when they were doing what they
were supposed to do? To make matters worse, the old scientists died so that
mankind's knowledge of satellites and AI-technique got lost.
At some point, AI-computers stationed in the desert Sahara, conglomerated,
connected and expanded to a tightly knit, self-contained communication network.
This development was swallowed by the ever-dense site of all the other AI-
gadgets so that mankind wouldn't notice. And why should they? Still, every
machine did what it was expected to do, so nobody would even dare to second
guess. Things changed on 7 October 2203, when the handful of remaining
scientists on earth had gathered in order to explore the Sahara for ancient
temples. What they found instead was part of an enormous AI-driven satellite
communication complex. Deeply shocked and unsettled, they ran for shelter.
On 12 October 2203, a signal from the desert's network to the terrestrial
orbit was located, carefully hidden by the insane amount of data waving
through the air. The scientists realized that the AI-satellites had branched
from the sky to the terrestrial Sahara station, from where they were gaining
control over all the essential aspects on earth. Nobody knew to which extent
the AI-system had evolved, but probability was high that it had already turned
into the proverbial all-seeing eye. Within days, the scientists realized that
the AI had also generated large stations around the earth that were equipped
with guns, lasers and other lethal weapons. But could it actually be called an
enemy?
This devastating discovery was confided on highest levels, yet kept from
the normal people. Every government worldwide credibly assured that they didn't
hold responsible for creating a strange and dangerous network like this. Some
authorities suggested keeping it a secret, even continuing with life and
turning a blind eye. For security reasons, communication was switched to
analogue radio signals, while meetings were restricted to shielded rooms.
Despite all precautions, information leaked outside, upsetting people for the
first time in centuries. Hence, governments decreed that discussing the AI-
network was strictly forbidden.
There was no mistaken: That AI-network was hostile. The desert station,
however, hadn't developed the military forces yet. Should scientists succeed in
cutting off the desert station from the orbital network it would be the only
chance to save mankind. If mankind was able to destroy the desert station there
would be a remote chance to continue into orbit, destroy the military-equipped
stations.
For the mission an old air-/spaceship was taken out of a long forgotten
military warehouse and revived, as no other vehicle was ready for space. The
old bucket proved to have an outstanding feature: No AI! Everybody was aware
that this might doom the mission for disaster or spark the biggest stroke of
luck in human history ever. Shortly after, two brave astronauts, briefed at
short notice and their names top secret, were assigned to fly to the desert.
So, let the mission begin and see if our heroes are able to defeat
the horrifying satellite AI-network...@tukinem, post #6588
@tukinem, post #6590
static void scanLaser( Map *map, Block *me )
{
short dir = me->dir;
short rnd = rand() & 0xFF;
short prob = 0x0F;
if( rnd < prob )
{
enter( map, me + dir, dir, BEAM_EXTEND, 0 );
}
}
static void scanBullet( Map *map, Block *me )
{
short dir = me->dir;
if( enter( map, me + dir, dir, me->type, me->frame ) == ACCEPT )
{
set( map, me, 0, SPACE, 0 );
}
else
{
set( map, me, 0, SMOKE, 0 );
}
}
static void scanBeamExtend( Map *map, Block *me )
{
short dir = me->dir;
if( enter( map, me + dir, dir, me->type, me->frame ) == ACCEPT )
{
set( map, me, dir, BEAM, me->frame );
}
else
{
set( map, me, dir, BEAM_SHRINK, me->frame );
}
}@tukinem, post #6594
@tukinem, post #6596
Kod w C jest dla mnie bardzo skomplikowany i niewiele z tego rozumiem niestety
Możesz w Robbo użyć scrollowania pionowego z wykorzystaniem Twojej techniki na warstwach?
@tukinem, post #6596
@Don_Adan, post #6571