Kaeru,
Very many thanks. I would have struggled for days without your detailed help. And you have given me valuable advice beyond that to get the program working as I wanted.
Search found 38 matches
- Tue Feb 16, 2010 2:28 pm
- Forum: Coding Questions
- Topic: Mouse cursor on image on screen
- Replies: 11
- Views: 1861
- Tue Feb 16, 2010 12:22 pm
- Forum: Coding Questions
- Topic: Mouse cursor on image on screen
- Replies: 11
- Views: 1861
Re: Mouse cursor on image on screen
But aren't you still coding the image? I wanted to avoid that by importing a fairly complex .bmp. Is it possible to show the sprite on the .bmp? Please forgive my denseness.
- Tue Feb 16, 2010 12:13 pm
- Forum: Coding Questions
- Topic: Mouse cursor on image on screen
- Replies: 11
- Views: 1861
Re: Mouse cursor on image on screen
Many thanks. I will study what you have told me.
- Tue Feb 16, 2010 12:04 pm
- Forum: Coding Questions
- Topic: Mouse cursor on image on screen
- Replies: 11
- Views: 1861
Re: Mouse cursor on image on screen
I had imported a .bmp to save coding to give the same result.
Your solution achieves the required end by coding. But would it work if you tried to show the curson on an imported image as I did? In other words does a mouse cursor on an image on a screen work?
Your solution achieves the required end by coding. But would it work if you tried to show the curson on an imported image as I did? In other words does a mouse cursor on an image on a screen work?
- Tue Feb 16, 2010 11:57 am
- Forum: Coding Questions
- Topic: Mouse cursor on image on screen
- Replies: 11
- Views: 1861
Re: Mouse cursor on image on screen
Many thanks! I was totally at sea. I'll study what you have done in the example, learn the lessons, and apply it to my program.
- Tue Feb 16, 2010 11:27 am
- Forum: Coding Questions
- Topic: Mouse cursor on image on screen
- Replies: 11
- Views: 1861
Re: Mouse cursor on image on screen
I've changed the select to if's. but have two queries
"if you display the cursor first, it will be covered by the other output."
Sorry, I don't understand. I display the cursor only after the other stuff has been drawn - which seems to be what you are telling me to do.
"and use a sprite for ...
"if you display the cursor first, it will be covered by the other output."
Sorry, I don't understand. I display the cursor only after the other stuff has been drawn - which seems to be what you are telling me to do.
"and use a sprite for ...
- Tue Feb 16, 2010 10:34 am
- Forum: Coding Questions
- Topic: Mouse cursor on image on screen
- Replies: 11
- Views: 1861
Mouse cursor on image on screen
I have searched the forum and PureArea and can't find how to make a mouse cursor appear on top of an image on a screen.
From the examples I've seen, it appears that the normal MS mouse cursor is not available for use on screens, and people seem to use a Sprite. When I do this in the following code ...
From the examples I've seen, it appears that the normal MS mouse cursor is not available for use on screens, and people seem to use a Sprite. When I do this in the following code ...
- Sat Jan 16, 2010 5:01 pm
- Forum: Coding Questions
- Topic: Why do I need to use showcursor()?
- Replies: 9
- Views: 1401
Re: Why do I need to use showcursor()?
ts-soft
Point taken. I am still uneasy about burdening people with metres of code, but accept that if I want help, it must be done.
thanks
Point taken. I am still uneasy about burdening people with metres of code, but accept that if I want help, it must be done.
thanks
- Sat Jan 16, 2010 4:43 pm
- Forum: Coding Questions
- Topic: Why do I need to use showcursor()?
- Replies: 9
- Views: 1401
Re: Why do I need to use showcursor()?
Kaeru,
When I removed
HandleError(OpenScreen(ScrW, ScrH, ScrD, "Blobs"), "Could not open screen.")
there was no need for ShowCursor_(1)
I had copied the code from someone else and hadn't fully understood what it did. Without your help, I don't think I would have found the answer.
Many thanks.
When I removed
HandleError(OpenScreen(ScrW, ScrH, ScrD, "Blobs"), "Could not open screen.")
there was no need for ShowCursor_(1)
I had copied the code from someone else and hadn't fully understood what it did. Without your help, I don't think I would have found the answer.
Many thanks.
- Sat Jan 16, 2010 2:27 pm
- Forum: Coding Questions
- Topic: Why do I need to use showcursor()?
- Replies: 9
- Views: 1401
Re: Why do I need to use showcursor()?
I hadn't realised I was opening a screen, then opening a window, then opening a windowedscreen.
I assumed the first open screen must happen with
HandleError(OpenScreen(ScrW, ScrH, ScrD, "Blobs"), "Could not open screen.")
If so (I don't doubt you, I just doubt my understanding), you have shown ...
I assumed the first open screen must happen with
HandleError(OpenScreen(ScrW, ScrH, ScrD, "Blobs"), "Could not open screen.")
If so (I don't doubt you, I just doubt my understanding), you have shown ...
- Sat Jan 16, 2010 2:00 pm
- Forum: Coding Questions
- Topic: Why do I need to use showcursor()?
- Replies: 9
- Views: 1401
Re: Why do I need to use showcursor()?
I hope this comes correctly formatted.
;Principles
;========
;Redraw everything for every cycle
;Only draw and flipbuffer once per cycle
;Random unit arrival in queue
;Random service speed (inverse of difficulty) for each unit
;No of allocated service points determined by corresponding F keys ...
;Principles
;========
;Redraw everything for every cycle
;Only draw and flipbuffer once per cycle
;Random unit arrival in queue
;Random service speed (inverse of difficulty) for each unit
;No of allocated service points determined by corresponding F keys ...
- Sat Jan 16, 2010 1:37 pm
- Forum: Coding Questions
- Topic: Why do I need to use showcursor()?
- Replies: 9
- Views: 1401
Why do I need to use showcursor()?
I've recently had to insert showcursor(1) into some code to get the mouse cursor to show in a window. Earlier I had used showcursor(0) to hide it, but have now removed showcursor(0) from the code.
It's no problem to include showcursor(1), but I would prefer not, to unless I can understand why it's ...
It's no problem to include showcursor(1), but I would prefer not, to unless I can understand why it's ...
- Sat Nov 21, 2009 8:48 am
- Forum: Coding Questions
- Topic: VirtualStore problem
- Replies: 10
- Views: 1548
Re: VirtualStore problem
Having clicked the box, I discovered that the problem was my putting quotes round file$ . So problem solved.
Many thanks to freak, rashad and kaeru for your help and tolerance.
Rashad's suggestions will be useful in trying to sort out future problems.
Many thanks to freak, rashad and kaeru for your help and tolerance.
Rashad's suggestions will be useful in trying to sort out future problems.
- Sat Nov 21, 2009 7:05 am
- Forum: Coding Questions
- Topic: VirtualStore problem
- Replies: 10
- Views: 1548
Re: VirtualStore problem
Kaeru,
Thanks for the excellent Posting tutorial. (A Posters Charter - just what I needed.)
Thanks for the excellent Posting tutorial. (A Posters Charter - just what I needed.)
- Fri Nov 20, 2009 7:27 pm
- Forum: Coding Questions
- Topic: VirtualStore problem
- Replies: 10
- Views: 1548
Re: VirtualStore problem
Freak,
I have tried again to file to various locations including a CD. But a search shows only the shortcut to the file. When I click on that, it can't find the file it's a shorcut to. Everything seems to be behaving as it did before the box was ticked.
Will try again in the morning. If I continue ...
I have tried again to file to various locations including a CD. But a search shows only the shortcut to the file. When I click on that, it can't find the file it's a shorcut to. Everything seems to be behaving as it did before the box was ticked.
Will try again in the morning. If I continue ...