Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Challenges
#2
Okay, here's the one that I sort of suggested earlier, but it's a little simplified:

Make an action game using the 640x480x16 screen mode 12. Flicker is acceptable, but only if it does not seriously inhibit gameplay. The game must have at least three basic controls: left, right, and jump. A gravity force is required to hold the player down. The game is not required to scroll either vertically or horizontally. The player sprite or visual representation must have at least two cels of animation, and there must be a criteria to 'win' and to 'lose' other than running out of time. (Falling off the screen is acceptable) The game must be fun. You may not use a library unless it is pureQB and is to provide a function like mouse control or audio. Audio is not necessary because it often doesn't work on different hardware setups and makes the file sizes much larger.

Gameplay: /10
Visuals: /10
Details: /10
Fun Factor: /10

Total: /40


The due date is November 30th. I intend to enter the contest, but have not begun mine yet. This code illustrates how to directly access the video memory is SCREEN 12:

Code:
DEFINT A-Z
DECLARE SUB pix12 (vertical%, horizontal%, c%)
DIM SHARED bitfield(7) AS INTEGER
   bitfield(0) = 128: bitfield(1) = 64: bitfield(2) = 32
   bitfield(3) = 16: bitfield(4) = 8: bitfield(5) = 4
   bitfield(6) = 2: bitfield(7) = 1

SUB pix12 (vertical%, horizontal%, c%)
   IF (vertical% < 0) OR (horizontal% < 0) THEN EXIT SUB
   IF (vertical% > 479) OR (horizontal% > 639) THEN EXIT SUB
   DEF SEG = &HA000: OUT &H3CE, 4: OUT &H3C4, 2
   P& = vertical%: P& = P& * 80 + horizontal% \ 8
   bit% = bitfield(horizontal% AND 7): bitmask% = 255 - bit%
   OUT &H3CF, 0: OUT &H3C5, 1: B% = PEEK(P&) AND bitmask%
   IF (c% AND 1) <> 0 THEN B% = B% OR bit%
   POKE P&, B%
   OUT &H3CF, 1: OUT &H3C5, 2: B% = PEEK(P&) AND bitmask%
   IF (c% AND 2) <> 0 THEN B% = B% OR bit%
   POKE P&, B%
   OUT &H3CF, 2: OUT &H3C5, 4: B% = PEEK(P&) AND bitmask%
   IF (c% AND 4) <> 0 THEN B% = B% OR bit%
   POKE P&, B%
   OUT &H3CF, 3: OUT &H3C5, 8: B% = PEEK(P&) AND bitmask%
   IF (c% AND 8) <> 0 THEN B% = B% OR bit%
   POKE P&, B%
END SUB

Good luck. 8)
Reply


Messages In This Thread
New Challenges - by wildcard - 09-10-2002, 03:46 AM
New Challenges - by wizardlife - 09-10-2002, 06:41 AM
New Challenges - by wizardlife - 09-10-2002, 06:44 AM
Another challenge - by LooseCaboose - 09-10-2002, 09:11 AM
New Challenges - by aetherfox - 09-15-2002, 06:21 PM
New Challenges - by wizardlife - 09-16-2002, 01:28 AM
New Challenges - by wildcard - 09-16-2002, 02:14 AM
New Challenges - by mofu - 09-26-2002, 01:10 AM
New Challenges - by wildcard - 09-26-2002, 02:38 AM
New Challenges - by Neo - 09-26-2002, 02:29 PM
New Challenges - by mofu - 09-26-2002, 05:02 PM
New Challenges - by wildcard - 09-26-2002, 07:36 PM
New Challenges - by mofu - 09-27-2002, 12:32 AM
New Challenges - by na_th_an - 11-06-2002, 03:30 AM
New Challenges - by wizardlife - 11-06-2002, 04:30 AM
loosecabooses challange... - by eKrax - 12-17-2002, 04:44 AM
New Challenges - by LooseCaboose - 12-17-2002, 04:59 AM
New Challenges - by LooseCaboose - 12-18-2002, 06:59 AM
... - by eKrax - 12-18-2002, 08:06 AM
New Challenges - by LooseCaboose - 12-18-2002, 09:22 AM
New Challenges - by Generic - 02-03-2003, 04:30 AM
About the pi program... - by oracle - 03-21-2003, 09:39 AM
New Challenges - by someone42 - 03-21-2003, 03:30 PM
pi - by oracle - 03-22-2003, 03:25 AM
New Challenges - by someone42 - 03-22-2003, 08:43 AM
New Challenges - by oracle - 03-22-2003, 11:45 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)