[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2007-12-21T09:50:48-05:00 http://petesqbsite.com/phpBB3/app.php/feed/topic/2539 2007-12-21T09:50:48-05:00 2007-12-21T09:50:48-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=16089#p16089 <![CDATA[first graphic based....game?]]> Statistics: Posted by BDZ — Fri Dec 21, 2007 9:50 am


]]>
2007-12-21T00:10:01-05:00 2007-12-21T00:10:01-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=16082#p16082 <![CDATA[first graphic based....game?]]> Statistics: Posted by Nodtveidt — Fri Dec 21, 2007 12:10 am


]]>
2007-12-20T23:51:29-05:00 2007-12-20T23:51:29-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=16078#p16078 <![CDATA[first graphic based....game?]]>
Would you consider please changing your bloated avatar?
if you have a problem with my avatar, PM me, don't crap up a thread with irrelevant things. its under 150x150 so whats the big deal?
Avatar rules as stated right above where you upload an avatar:
Only one image can be displayed at a time, its width can be no greater than 80 pixels, the height no greater than 80 pixels, and the file size no more than 6 KB.
I daresay 149 pixels is greater than 80 pixels, and as amazing as Rumsfield folding a crane is, it's a whole lot larger than 6 KB.

Statistics: Posted by BDZ — Thu Dec 20, 2007 11:51 pm


]]>
2007-12-20T20:25:08-05:00 2007-12-20T20:25:08-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=16075#p16075 <![CDATA[first graphic based....game?]]>
Would you consider please changing your bloated avatar?
if you have a problem with my avatar, PM me, don't crap up a thread with irrelevant things. its under 150x150 so whats the big deal?

Statistics: Posted by Andrew Dance — Thu Dec 20, 2007 8:25 pm


]]>
2007-12-20T17:28:41-05:00 2007-12-20T17:28:41-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=16073#p16073 <![CDATA[first graphic based....game?]]> Statistics: Posted by Lachie Dazdarian — Thu Dec 20, 2007 5:28 pm


]]>
2007-12-20T15:02:10-05:00 2007-12-20T15:02:10-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=16069#p16069 <![CDATA[first graphic based....game?]]>
your last DO has no LOOP...how do you want it to go?
ok, that is just a typo, lol. its fixed now, and i edited the code box in the first post to match what it is now.

Statistics: Posted by Andrew Dance — Thu Dec 20, 2007 3:02 pm


]]>
2007-12-20T13:29:17-05:00 2007-12-20T13:29:17-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=16066#p16066 <![CDATA[first graphic based....game?]]> Statistics: Posted by sid6.7 — Thu Dec 20, 2007 1:29 pm


]]>
2007-12-20T13:22:02-05:00 2007-12-20T13:22:02-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=16065#p16065 <![CDATA[Re: first graphic based....game?]]>
here's the source
I only see a bit of the source.

Mac
its all there

it ends with the

Code:

END IF

Statistics: Posted by Andrew Dance — Thu Dec 20, 2007 1:22 pm


]]>
2007-12-20T12:16:49-05:00 2007-12-20T12:16:49-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=16064#p16064 <![CDATA[Re: first graphic based....game?]]>
here's the source
I only see a bit of the source.

Mac

Statistics: Posted by Mac — Thu Dec 20, 2007 12:16 pm


]]>
2007-12-19T22:37:11-05:00 2007-12-19T22:37:11-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=16057#p16057 <![CDATA[first graphic based....game?]]>
The flicker is, of course, a result of the CLS. You're using SCREEN 7, which means you can always use screen pages. Look up how to do this in the QB help, it gives a pretty good explanation.

yeah, i stumbled across the pages tutorial right after i posed this, and removed the flickering.

As for the buggy controls, im hoping what you said will help, using the variable and all.

Statistics: Posted by Andrew Dance — Wed Dec 19, 2007 10:37 pm


]]>
2007-12-19T22:20:15-05:00 2007-12-19T22:20:15-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=16055#p16055 <![CDATA[first graphic based....game?]]>
One suggestion I have for you: if you're going to use INKEY$, don't try doing $$$ against INKEY$ itself. Instead, create a variable and do it like this:

Code:

A$ = INKEY$IF A$ = "d" THEN' your code here
etc etc etc.

Statistics: Posted by Nodtveidt — Wed Dec 19, 2007 10:20 pm


]]>
2007-12-20T15:16:28-05:00 2007-12-19T20:03:35-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=16048#p16048 <![CDATA[first graphic based....game?]]>
I know that its slow and skips a lot and crappy as hell, but its good enough for me because at least i understand DATA, DIM, GET, and PUT.

help as to why its skippy (and im sure it's because of the CLS every time you move) is greatly appreciated, because i like my little Bobby Blobby :3 and i want to turn him into a full fledged game eventually lol.

here's the source

edit: hmmm..i seem to of lost somehow my working version...strange.

Code:

'blob facing rghtDATA 00,00,10,10,10,00,00,00,00DATA 00,10,10,10,10,10,10,00,00DATA 10,10,10,10,10,01,10,10,00DATA 10,10,10,02,10,10,10,10,10DATA 10,10,10,10,02,02,02,10,10DATA 00,10,10,10,10,10,10,10,00'blob facing leftDATA 00,00,00,00,10,10,10,00,00DATA 00,00,10,10,10,10,10,10,00DATA 00,10,10,01,10,10,10,10,10DATA 10,10,10,10,10,02,10,10,10DATA 10,10,02,02,02,10,10,10,10DATA 00,10,10,10,10,10,10,10,00'facing down spriteDATA 00,00,00,00,00,00DATA 00,00,10,10,00,00DATA 00,10,10,10,10,00DATA 10,10,10,10,10,10DATA 10,10,10,10,10,10DATA 10,01,10,10,01,10DATA 02,10,10,10,10,02DATA 10,02,02,02,02,10DATA 00,10,10,10,10,00SCREEN 7CLSCOLOR 2, 6'draw the sprites on screen so they can be stored in memoryFOR Y = 0 TO 5  ' For each row  FOR X = 0 TO 8  ' For each column    READ DotColor    PSET (X, Y), DotColor  NEXT XNEXT YFOR Y = 6 TO 11  ' For each row  FOR X = 0 TO 8  ' For each column    READ DotColor    PSET (X, Y), DotColor  NEXT XNEXT YFOR Y = 12 TO 20  ' For each row  FOR X = 0 TO 5  ' For each column    READ DotColor    PSET (X, Y), DotColor  NEXT XNEXT Y'Store the sprites to memoryDIM blobR%(0 TO 8, 0 TO 5)DIM blobL%(0 TO 8, 6 TO 11)DIM blobD%(0 TO 5, 12 TO 20)GET (0, 0)-(8, 5), blobR%GET (0, 6)-(8, 11), blobL%GET (0, 12)-(5, 20), blobD%CLSbx = 50by = 50PUT (bx, by), blobR%A$ = INKEY$DOIF A$ = "d" THENCLSbx = bx + 2PUT (bx, by), blobR%END IFIF A$ = "a" THEN       CLS       bx = bx - 2       PUT (bx, by), blobL%END IFIF A$ = "s" THENCLSby = by - 2PUT (bx, by), blobD%END IFLOOP
go crazy.

-Andrew

Statistics: Posted by Andrew Dance — Wed Dec 19, 2007 8:03 pm


]]>