• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about GameCanvas

 
Lawrence Buensalida
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Can I use the method keyPressed() inside GameCanvas?
2. Won't there be any conflict with getKeyStates()?
 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nope there will be no confilc with the get key state because u need to get the key state when a key is pressed.

u can refer to the API for more information
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic