Search found 110 matches

by izidor
Tue Apr 28, 2009 10:52 am
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

Yes, I want to use INKEY$ but I dont know how to "tell" qbasic to move my character.
by izidor
Tue Apr 28, 2009 9:11 am
Forum: QBASIC and QB64 Questions & Answers
Topic: HomeRobber
Replies: 37
Views: 17876

HomeRobber

I am creating game engine. And I'm kinda stuck. How to make character move on DATA based map. DIM wall(10, 10), floor(10, 10) DIM map(20, 19) screen 13 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), ...
by izidor
Tue Apr 28, 2009 9:05 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Few noob questions
Replies: 2
Views: 2603

thx :D
by izidor
Mon Apr 27, 2009 2:37 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Few noob questions
Replies: 2
Views: 2603

Few noob questions

1:
How to make my program be in full screen (so that i can not see X button)

2:
How to compile bas to bat.
by izidor
Mon Apr 27, 2009 12:31 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Wav and MIDI
Replies: 3
Views: 3601

Ups my mistake :)
by izidor
Mon Apr 27, 2009 10:25 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Wav and MIDI
Replies: 3
Views: 3601

You can place this topic to spam or whatever. Because i found solution. If somebody wants to know how to do it use this commands.

_SNDPLAYFILE (filename$,[sync%],[volume!])
Example:
_SNDPLAYFILE "file.wav",1

I am not sure will this work in other QBasic compiler then QB64.
by izidor
Mon Apr 27, 2009 9:57 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Wav and MIDI
Replies: 3
Views: 3601

Wav and MIDI

How to play wav or midi in qbasic. I have read tutorial on site but they explain how to make wav or midi player not how to play a sound.
by izidor
Wed Apr 22, 2009 1:42 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Reading and checking
Replies: 7
Views: 5490

@Mentant
There wasnt problem in your code, it was in my

@burger2227
Sorry but Mentant's code is better to me because its more simple :)

@Mentant

I'm using QB64, yeah its strange to me too but i think it compiles bas file to exe with some c++ app or something else
by izidor
Wed Apr 22, 2009 1:22 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Reading and checking
Replies: 7
Views: 5490

thx for reply but it says "C++ compilation failed"
but thx anyway
by izidor
Wed Apr 22, 2009 3:22 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Reading and checking
Replies: 7
Views: 5490

Reading and checking

I am working on a game in witch you must create account (with name and password) Name is saved in n001.dat, password is saved in p001.dat. and this is my problem: I want to make my program read n001.dat and p001.dat, and is the name and password that you wrote same as n001.dat and p001.dat input "-"...