Search found 18 matches
- Fri Dec 03, 2010 10:01 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Changing Sprite Arrays
- Replies: 3
- Views: 8809
- Fri Dec 03, 2010 1:25 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Changing Sprite Arrays
- Replies: 3
- Views: 8809
Changing Sprite Arrays
I have my game set up like this: dim shared character sprite arrays then i set Char1Name$ = whoever i want to be the 1st character and it will load their sprites as follows: DEF SEG = VARSEG(Char1Right(0)) BLOAD path$ + "\Characters\" + CHAR1Name$ + "\rightTIL.til", Varprt(Char1R...
- Fri Dec 03, 2010 1:17 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: QLB - QuickLibrary
- Replies: 7
- Views: 15479
- Wed Dec 01, 2010 7:21 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: RPG Battle Mechanics
- Replies: 0
- Views: 15270
RPG Battle Mechanics
anybody know of a good resource to find RPG battle mechanics equations? like PhysicalDAMAGE = (WeaponStrength + CharacterStrength) / (EnemyDefense * (EnemyLevel/100)) + INT((RND + 1) * (CharacterStrength/10) or MagicDamage = ((CharacterMagic + SpellLevel) * (CharacterLevel/100) / EnemyMagicDefense) ...
- Wed Dec 01, 2010 12:27 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Keyboard buffer problem
- Replies: 7
- Views: 15175
thanks.. i figured it out. im a little confused though, why did you say you cant poke and peek with newer pc keyboards and then suggest that i poke and peek? anyways, im assuming the keyboard buffer array is < 300 entries? i think i heard somewhere it was 255 or 155 i just let the first 300 times th...
- Tue Nov 30, 2010 11:34 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Keyboard buffer problem
- Replies: 7
- Views: 15175
- Tue Nov 30, 2010 11:33 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Keyboard buffer problem
- Replies: 7
- Views: 15175
- Tue Nov 30, 2010 9:46 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Keyboard buffer problem
- Replies: 7
- Views: 15175
- Tue Nov 30, 2010 8:53 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Keyboard buffer problem
- Replies: 7
- Views: 15175
Keyboard buffer problem
for my main walking engine, im using INP(96) which seems to work fine other than the anomaly with releasing 2 buttons at once and the CPU missing one of the keyUP inputs. however, ill call a subroutine where i prefer using key$ = inkey$, it makes more sense for battle menus, item menus, etc. the pro...
- Tue Nov 30, 2010 8:39 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: string/integer/array tipping point
- Replies: 15
- Views: 20660
- Mon Nov 29, 2010 8:30 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: string/integer/array tipping point
- Replies: 15
- Views: 20660
ah i see. well im pretty stoked on qb64 either way. doing stuff i could never do before cause of the 'out of memory' issues. qb can technically do 32 bit color with the loadimage (Path$, i): screen i but is there a way to to graphics in realtime, in 32bit, or am i still stuck with what i can put int...
- Mon Nov 29, 2010 7:25 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: string/integer/array tipping point
- Replies: 15
- Views: 20660
right. im only using def seg = varseg(variablename(0)) commands if i remember correctly, in the previous versions of qbasic, when you edited code, it kept track of the lines which had been edited, and then checked those for syntax, keeping the wait time before running the program pretty short, even ...
- Mon Nov 29, 2010 3:14 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: string/integer/array tipping point
- Replies: 15
- Views: 20660
- Mon Nov 29, 2010 3:11 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: string/integer/array tipping point
- Replies: 15
- Views: 20660
it does. i said in my earlier post that i had identified it as the problem, i guess i wasnt very clear. my engine runs smoothly when i change those variables. im guessing im not the first one who has used the letters 'def' in a variable in qb64.. especially considering how many people use QB to make...
- Mon Nov 29, 2010 1:50 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: string/integer/array tipping point
- Replies: 15
- Views: 20660
i think you're right. i was using lots of variables with DEF in them like... dim shared Char1DEF as integer dim shared Char1MagicDEF as integer dim shared Char2DEF as integer dim shared Char2MagicDEF as integer dim shared Char3DEF as integer dim shared Char3MagicDEF as integer dim shared Char4DEF as...
- Mon Nov 29, 2010 12:59 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: string/integer/array tipping point
- Replies: 15
- Views: 20660
- Sun Nov 28, 2010 7:23 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: string/integer/array tipping point
- Replies: 15
- Views: 20660
ps. the problem is that i add 1 more variable and it slows down the program drastiacally. i take it back, and its fine again. i also realize that this is the same thing that happens when you define the same variable twice (at least in qb64) and im positive this is not what is happening, im keeping e...
- Sun Nov 28, 2010 7:12 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: string/integer/array tipping point
- Replies: 15
- Views: 20660
string/integer/array tipping point
using qb64, vista 32 bit os is there a tipping point in qb64 where you define one too many integers or strings or arrays? this would be sad because im 2/3 done with writing a badass rpg engine. this is a weird idea, but could it be that i used the letters DEF in my variables which contain Defense in...