key () question.......

Previous topic - Next topic

Hb!

I was simply wondering if there is a way to make a key combination and have a result... i mean is something like this posible?>>>>> If Key(30)+ Key(60)= something? (tsk im not sure how many mistakes did i made ) and if its posible, is there any way to apply that to sprites as well?(~~ I need to practice my english XD)

Schranz0r

Hi Hb!

You can use:

Code (glbasic) Select
IF KEY(30) AND KEY(60) THEN PRINT "WORKS FINE!",10,10
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Hb!

Arigato ill try to use it ..... yeah im feeling great im aproaching to my goal.. althought in very slow  steps... yop it really works..  tsk i feel so great..... and i was wondering, is there anybody in here interesed in making a  fighting game?
thats the goal i wanna reach.... but i doubt that i could do it al by myself (imagine the tons of pages id do by myself).... so if anybody is interesed..  umm  i would like it to be an anime fighting game.. i have to know if all links are allowed thats why i wont put it right now.... but if you want to know whats anime and you wanna know about what wolud it be like.... here's my email.... cold_iceberg_@hotmail.com

Kitty Hello

I even use this:
Code (glbasic) Select
WHILE TRUE
  INC y,  KEY(208) - KEY(200)
  PRINT "--------", 100, y
  SHOWSCREEN
WEND
Use up-down keys

Hb!

wow i used it and i understood the stucture... so i made a line that can move everywhere think ill try to apply that to a sprite wiii but i have to know how to make a sequence does anybody knows how to make that?

Moru

If it's animations you are talking about then you can see it in one of the example videos on this site.