nareix Posted February 16, 2016 Share Posted February 16, 2016 (edited) e.g: I want to draw a line connects player and a grass in screen (not on the ground) or draw a rectangle or polygon Edited February 16, 2016 by nareix Link to comment https://forums.kleientertainment.com/forums/topic/64416-how-to-draw-shapes-in-screen/ Share on other sites More sharing options...
Mobbstar Posted February 16, 2016 Share Posted February 16, 2016 lol This isn't a Java course, we don't have things like that here. Don't Starve entities can project animations onto the screen and (parallel to) world floor, as well as facing the camera (default). You can't really select a specific part of Wilson's animation outside of said animation (to my knowledge), at best how the torch spawns its particles. Due to the way most entities display their animations, the "parts" of said animations change with the camera position. You can load image textures (TEX files) and display those on the screen. Link to comment https://forums.kleientertainment.com/forums/topic/64416-how-to-draw-shapes-in-screen/#findComment-723253 Share on other sites More sharing options...
Arkathorn Posted February 17, 2016 Share Posted February 17, 2016 I tried this a while ago, attempting to create ropes. Let me tell you: It is not easy. Additionally, the result I came up with was less than satisfactory. I can send you the files if you like. Link to comment https://forums.kleientertainment.com/forums/topic/64416-how-to-draw-shapes-in-screen/#findComment-723713 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now