Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Game programming in YAB
05-07-2018, 09:55 AM
Post: #1
Game programming in YAB
I am interested in writing a very simple 2D game with a mouse-controlled player sprite. Are there any game-specific tutorials or guides for YAB for this purpose?
Find all posts by this user
Quote this message in a reply
05-07-2018, 11:46 PM
Post: #2
RE: Game programming in YAB
I think what you are looking for is partly shown in Walk.yab and Ping.yab in /boot/home/yab_work/Programs/Examples

Fat Elk Sortware
Visit this user's website Find all posts by this user
Quote this message in a reply
05-08-2018, 04:08 AM
Post: #3
RE: Game programming in YAB
I think the way to do this (based on what I've read from the "Programming YAB" e-book), would be to pull up the location of the mouse pointer (cursor) and then position the desired graphic in the exact position, hiding the mouse (which is "under" it). But the edges of the graphic have to be collision-detecting, not the mouse pointer. Hmm...
Find all posts by this user
Quote this message in a reply
05-21-2018, 04:27 AM
Post: #4
RE: Game programming in YAB
you can also directly query the position of the mouse, but you can not create a mousepointer, if then just put a graphic to this point
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Free Web Hosting