Thanks for coming back to me. 

Basically, I am trying to draw to a specific area with the x y being 
interpreted as relative to the position of that area, rather than relative 
to the screen as a whole. So drawing at (0,0) would cause the image to be 
drawn at the bottom left of the area, rather than bottom left of the 
window. 

Would AbstractImage work? That looks like it might offer the functionality. 

I have joined the discord but it looks like there's a discussion ongoing so 
I don't want to interrupt. 

On Saturday, October 12, 2019 at 6:22:34 PM UTC+1, Charles M wrote:
>
> I'm honestly not quite sure what you are asking here. It sounds like you 
> are just asking if you can draw according to world position rather than 
> screen position? If so, yes, the positioning of sprites is completely up to 
> you. You might want to visit our discord to discuss this quicker.
>
> On Sat, Oct 12, 2019 at 11:54 AM 'Josh Snaith' via pyglet-users <
> pyglet...@googlegroups.com <javascript:>> wrote:
>
>> Evening all,
>>
>> At the strong recommendation of some associates I am moving from pygame 
>> to pyglet. I think i've got my head around the basic approach of the event 
>> system but the next hurdle is migrating the way I draw my screen's various 
>> elements and any help would be greatly appreciated. 
>>
>> With pygame I created a sub-section (a surface in pygame's terms) of the 
>> screen and drew all the related images relative to that. For example, one 
>> such sub-section displayed the game map and I drew each tile of the map 
>> relative to the sub-section, rather than the window as a whole.  
>>
>> I am struggling to find a way to follow that approach with pyglet. Am I 
>> missing something, or am I misusing the library? If it's the latter, how 
>> would you recommend I approach it instead? And does it make a different 
>> that I intent to use glooey for the GUI?
>>
>> Thanks in advance for any help!
>> -Snayff
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "pyglet-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to pyglet...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pyglet-users/02aba03c-919e-49d1-8ddb-52e7ea1894ad%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/pyglet-users/02aba03c-919e-49d1-8ddb-52e7ea1894ad%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyglet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyglet-users/6d184207-f8b6-45a0-8e58-f6b066437357%40googlegroups.com.

Reply via email to