Search found 110 matches

by izidor
Wed May 13, 2009 12:04 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Another little game of my
Replies: 3
Views: 3192

Another little game of my

Hi i am back and i am creating a game (again). I need some ideas, what to do in game, something to collect? Here is the code: SCREEN 13 DIM wall(10, 10), floor(10, 10), grass(10, 10), grassb(10, 10), flowers(10, 10), water(10, 10), player(10, 10) DIM map(20, 19) FOR y = 1 TO 10 FOR x = 1 TO 10 READ ...
by izidor
Mon May 11, 2009 6:59 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Location
Replies: 3
Views: 3769

Thanks for reply. When i was searching net i found another solution command CHDIR.
by izidor
Sun May 10, 2009 2:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Location
Replies: 3
Views: 3769

Location

Lets say that i have folder named text and in it there is text.txt.Here is my question how to open file from specific folder without writing "C:\..." or "D:\..."?
by izidor
Tue May 05, 2009 2:56 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

How to make it full screen?
by izidor
Tue May 05, 2009 4:39 am
Forum: QBASIC and QB64 Questions & Answers
Topic: OS
Replies: 10
Views: 8889

OS

Is it possible to make OS in qbasic that can be instaled from cd (you can use it with out windows)
by izidor
Sun May 03, 2009 3:24 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

All works fine! Game with first level will be done tomorrow!
Tomorrow check http://izzysqb.weebly.com in downloads.
by izidor
Sun May 03, 2009 12:45 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

Yes but diamond acts like wall you can't go "on" him.
by izidor
Sun May 03, 2009 8:17 am
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

Like this?

Code: Select all

k$ = INKEY$
IF k$ = "a" and map(x,y) = 5 then
PUT floor ...
score = score + 1
end if


by izidor
Sun May 03, 2009 7:05 am
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

Here i go again. I have out a diamond in the game, but how to make my score go + 1. I was trying with IF player(x, y) = diamond(x, y) then score = score + 1 END IF But it didn't work. Do you have any ideas or somebody else? SCREEN 13 DIM wall(10, 10), floor(10, 10), door(10, 10), window(10, 10),diam...
by izidor
Sun May 03, 2009 5:52 am
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

Thanks if there weren't for you I would never finished this game engine.
Thanks for everything ! :D
by izidor
Sat May 02, 2009 1:07 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

Now it is perfect!
Thanks for all help. But can i define x and y of window screen because now it is little down.
And why do I have to press same key two times in a moment? (if you know)
by izidor
Sat May 02, 2009 12:14 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

Why not?
Code works but it doesn't let me go on some positions that are floor.
by izidor
Sat May 02, 2009 5:29 am
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

This code works perfectly but it doesn't delete its trail screen 13 DIM wall(10, 10), floor(10, 10), door(10, 10), player(10, 10) DIM map(20, 19) for y = 1 to 10 for x = 1 to 10 read clr pset (x, y), clr NEXT: NEXT GET (1, 1)-(10, 10),wall for y = 1 to 10 for x = 1 to 10 read clr pset (x, y), clr NE...
by izidor
Sat May 02, 2009 5:13 am
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

It doesn't work
by izidor
Fri May 01, 2009 12:55 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

@burger2227

Yeah it work, but (why is there always but? :( ) it doesn't delete previous pic and it creates one bore on left or right side.

@Nixon

Thanks, maybe i will use it :D
by izidor
Thu Apr 30, 2009 2:38 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

If you find some time, can you just type the code that will work with the game.
by izidor
Thu Apr 30, 2009 12:59 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

Bad news, code isn't working, i don't know why
by izidor
Thu Apr 30, 2009 7:11 am
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

@burger2227

I will try it

@qbasicfreak

Then you will be my first tester :)

EDIT:

Huh, can you give me example ?
And i got idea:
If i make counter that will count how many times did i press (for now lets say) left arrow. We will call that counter "a%" and here is the formula:
x = x + a%
by izidor
Wed Apr 29, 2009 1:37 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

Huh, again me screen 13 DIM wall(10, 10), floor(10, 10), door(10, 10), player(10, 10) DIM map(20, 19) for y = 1 to 10 for x = 1 to 10 read clr pset (x, y), clr NEXT: NEXT GET (1, 1)-(10, 10),wall for y = 1 to 10 for x = 1 to 10 read clr pset (x, y), clr NEXT: NEXT GET (1, 1)-(10, 10),floor for y = 1...
by izidor
Wed Apr 29, 2009 10:06 am
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

Sorry but that doesn't mean anything in the world to me. Sorry for being rude. Is it possible to make my character design in DATA statement like this: DATA 6,6,0,0,0,0,0,0,6,6 DATA 0,0,0,7,0,0,7,0,0,0 DATA 6,6,0,0,0,0,0,0,6,6 DATA 0,0,0,12,12,12,12,0,0,0 DATA 6,6,2,2,2,2,2,2,6,6 DATA 1,1,2,2,2,2,2,2...