Search found 25 matches

by PeterGams
Thu Apr 02, 2009 9:46 pm
Forum: Coding Questions
Topic: Draw Text and move with arrow keys
Replies: 9
Views: 1354

Thanks Oliver...

That's what I was after.

Easy for you not so much for me.

Thanks Mate.

Go MAME !
by PeterGams
Thu Apr 02, 2009 1:11 pm
Forum: Coding Questions
Topic: Draw Text and move with arrow keys
Replies: 9
Views: 1354

Instead of pressing a key and the value of 3 gets added/subtracted to the position of the text every time.

I would like to press a key and it will add from 0 to 10 to the text position for example.

Whenever the down arrow key is tapped the text will scroll down smoothly 10 pixels.

Sorry guys I am ...
by PeterGams
Thu Apr 02, 2009 1:04 pm
Forum: Coding Questions
Topic: Draw Text and move with arrow keys
Replies: 9
Views: 1354

Dhoo. Sorry Mate

I don't explain things very well.
Pressing the down arrow once and releasing it, will cause the text to scroll down about 10pixels smoothly.

bassically if you tap the down arrow key the text will scroll down a set amount of pixels.

Hope that makes it a bit clearer
by PeterGams
Thu Apr 02, 2009 12:42 pm
Forum: Coding Questions
Topic: Draw Text and move with arrow keys
Replies: 9
Views: 1354

I have the text moving but.

I would like to press a arrow key and the text would move a set amount.
eg. press down arrow and the text moves down 10 pixels smoothly.

I have changed this code arounf to suit but don't remember where the original came from sorry...


xx = 140:yy = 120
If InitSprite() And InitKeyboard() And ...
by PeterGams
Thu Apr 02, 2009 12:04 pm
Forum: Coding Questions
Topic: Draw Text and move with arrow keys
Replies: 9
Views: 1354

Draw Text and move with arrow keys

I am having trouble drawing text on the screen and using arrow keys to move it up or down.

So near but yet so far..
by PeterGams
Thu Apr 02, 2009 9:54 am
Forum: Coding Questions
Topic: Scrolling Frontend Menu for MAME
Replies: 5
Views: 1127

Thanks Guys

What i was hoping for was a Graphic/text scrolling menu
controlled by up/down arrows.
The selection line stays in the center of the screen and the text scrolls up and down.

I will also eventually have a screen shot of the game show up as it's title is highlighted.
Don't mean to be vague but it's ...
by PeterGams
Tue Mar 31, 2009 12:07 pm
Forum: Coding Questions
Topic: Scrolling Frontend Menu for MAME
Replies: 5
Views: 1127

Scrolling Frontend Menu for MAME

I would like to use a scrolling menu controlled by the arrow keys up & Down to select the highlighted game title when I press crtl.


GAME 1
GAME 2
GAME 3
GAME 4
GAME 5

Press ctrl when GAME 3 is highlited and away she goes.
It's mainly just the text scrolling which is causing me a headache.
by PeterGams
Sat Mar 28, 2009 11:35 am
Forum: Coding Questions
Topic: Scroll text Up & Down with arrow keys
Replies: 0
Views: 537

Scroll text Up & Down with arrow keys

I would like to know how to scroll some a line of text up/down using arrow keys and drawtext. any ideas would be great.
Thanks
by PeterGams
Sat Jan 12, 2008 11:17 am
Forum: Coding Questions
Topic: Bubble help over an area
Replies: 9
Views: 1723

Mmmm not quite

Having trouble getting "ToolBarToolTip()" to work.
Sorry only a Newbie.
by PeterGams
Sat Jan 12, 2008 11:04 am
Forum: Coding Questions
Topic: Bubble help over an area
Replies: 9
Views: 1723

Bubble help over an area

Last question for a while.
Is it possible to have a help bubble come up over a certain area when the mouse pointer has been moved over it?
Either RMB or just move over the area.
Bit tough this one.
by PeterGams
Sat Jan 12, 2008 10:59 am
Forum: Coding Questions
Topic: Anothre Newbie question about Error Messages
Replies: 4
Views: 1095

Thanks Heaps!

:)
How do you guys make it seem so easy?

I appreciate you help greatly.

Thanks Guys
by PeterGams
Sat Jan 12, 2008 10:49 am
Forum: Coding Questions
Topic: Anothre Newbie question about Error Messages
Replies: 4
Views: 1095

Anothre Newbie question about Error Messages

Is it hard to display a small error message when you trap one?
Just to show the user what happened and then of course return to the program.
by PeterGams
Sat Jan 12, 2008 10:45 am
Forum: Coding Questions
Topic: Newbie question Difference between 2 numbers
Replies: 7
Views: 1429

Thanks Heaps Guys

The ABS seems to woork great.
Best of all it is easier than I thought.

Thanks Again. :D
by PeterGams
Sat Jan 12, 2008 10:23 am
Forum: Coding Questions
Topic: Newbie question Difference between 2 numbers
Replies: 7
Views: 1429

Newbie question Difference between 2 numbers

How can I find the difference between to numbers?
I need to make sure there is no greater difference then 7 between two numbers.
Sometimes the first number will be less then the first. eg a=1 b=9.
Other times the reverse. eg a=9 b =1.
I don't want the result to be a negative one.

Sorry for the ...
by PeterGams
Tue Sep 11, 2007 11:18 am
Forum: Coding Questions
Topic: Tricky Rotation problem
Replies: 3
Views: 1384

Hey Demivec

Thanks heaps mate.
I tested your changes and they work spot on.

I'm just trying to work out why but for now
Thanks heaps Mate..