• Register

## Critical Domain

### Apples and Astronauts | TBD

A "bullet hell" type vertical scrolling space shooter. Features a realistic economy system. Also will have Oregon-trail like resource system that you need certain things to keep your crew alive and healthy in space.

Articles

#### 2 dimensional dynamic grid effect (QB64 code)

Client Side Coding Tutorial 1 comment

SCREEN _NEWIMAGE(1024, 768, 32), 0, 1, 0

DIM gridx(33, 33)
DIM gridy(33, 33)
DIM gridxm(33, 33)
DIM gridym(33, 33)

FOR b = 0 TO 32
FOR a = 0 TO 32
gridx(a, b) = a * 32
gridy(a, b) = b * 32
NEXT
NEXT

test1 = 1
RANDOMIZE TIMER

originx = 512
originy = 768 / 2

DO
FOR b = 1 TO 32
FOR a = 1 TO 32

LINE (gridx(a, b), gridy(a, b))-(gridx(a, b - 1), gridy(a, b - 1)), _RGB(a * 8, 0, b * 8)
LINE (gridx(a, b), gridy(a, b))-(gridx(a - 1, b), gridy(a - 1, b)), _RGB(a * 8, 0, b * 8)
NEXT
NEXT

FOR b = 1 TO 32
FOR a = 1 TO 32
IF gridx(a, b) > wellx - 200 AND gridx(a, b) < wellx + 200 THEN
IF gridy(a, b) > welly - 200 AND gridy(a, b) < welly + 200 THEN
gridx(a, b) = gridx(a, b) + ((wellx - gridx(a, b)) * .02)
gridy(a, b) = gridy(a, b) + ((welly - gridy(a, b)) * .02)
END IF
END IF

gridx(a, b) = gridx(a, b) + ((a * 32 - gridx(a, b)) * .01)
gridy(a, b) = gridy(a, b) + ((b * 32 - gridy(a, b)) * .01)

NEXT
NEXT

timez = timez + .05

IF diamode = 0 THEN
diameter = diameter + 1
IF diameter > 500 THEN diamode = 1
END IF
IF diamode = 1 THEN
diameter = diameter - 1
IF diameter < 1 THEN diamode = 0
END IF

wellx = originx - (diameter * (SIN(timez)))
welly = originy - (diameter * (COS(timez)))

IF timez > 6.2 THEN timez = 0
_LIMIT 60

PCOPY 1, 0
CLS 1
LOOP WHILE INKEY\$ = ""

Files

#### Critical Domain v1.0.0 playtest 1

Demo

Alpha for Critical Domain v1.0.0 Created in Blender Game Engine

#### Critical Domain Beta 0.5.4 indev

Demo

This is the current form of Critical Domain, it's still being worked on and everything doesn't quite work yet.

#### Critical Domain Beta 0.4.3

Demo

This is the first 'public' beta for Critical Domain. It features 4 different enemy types and 3 boss types. Things that work: Bullet system works, graphics...

Creator

Critical Domain is going to be on the back-burner for a while. It's not going to be anything like what that alpha looked like either. After getting more experience with BGE, I've found that I've done many things wrong in that build and will have to start over once more. Thankfully I still have all the resources, so it's more a matter of recoding and reconfiguring the game.

In the meantime, keep your eyes open for new of 'Adam Armstrong Adventure'. The reason that CD is not getting as much attention.

Creator

Critical Domain v1.0.0 Play Test 1 is on schedule for the 25th. The first test of this game will be put up for download at 12am eastern time for Xmas.

IF YOU PLAY THIS VERSION... Please leave a message here or on our main forum at Applesandastronauts.com and there will be a thread set up on Xmas Eve for testers to list their computer's hardware specs.

As of right now, we are supporting Windows and Linux. We may have a Mac version ready for the 25th, but that's not a definite thing.

Creator

Game is being completely revamped. I plan to finish the 2d version, but 1.0.0 is being ported and rebuilt in a completely new system using Blender Game Engine. There is an alpha build that has basic controls, and many ships have been modeled. Development in Blender is fantastically fast as well, and we project a playable beta in the next month or two at most!

Creator

New graphics are in the works. I've been taking a break from the coding thing lately as I had a new job, but I was robbed on a delivery and now I'm between jobs, so I have all the time in the world to get this done, hopefully for a 1.0.0 xmas release!

Creator

We will be putting the 'public' beta on IndieDB when we finish adding more features and enemies.

Creator

Beta 0.1.1 is done and will be on the AA forum soon. Check out our main website and register for the forums for more info!

Creator

I have to get the memo/readme text files finished, and I'm going to probably add some sound/music to the zip file and implement at least the music.

Creator

Working on the next snapshot right now. So far, things planned for it are: