You do not have permission to view this post
Thankyou ROJOhound.
Thanks ROJOhound. Does this assume the sprite is at angle=0?
Hello;
Does anyone have a function that takes mesh coord (a,b) and stretches it to layout coord x,y. The function will probably have to consider the size and location of the sprite getting stretched etc.
thanks for your time
yours
winkr7
Make sure player is not solid? Did you check that?
Yes to all five questions--however...
If you a write a game of any size you will need to do some programmer-like thinking about things like variables, and scope and the like. It is ideal for writing a 2d 80s game--but you will have to do work on it.
There is a saying in programming circles that Those that don't use (unix, TCP/IP, families) are doomed to rewrite them. To rewrite what a family does (partly) you can assign each and every single sprite in the game a variable (call it family_type). Then loop on all your sprites and those that have family_type = 4 do your two events.
If you know what object is going to be invisible you can use a global variable (or a Dictionary entry) that says--set to invisible. Then when you enter the layout you can set it to invisible based on the variable. However, while you are not on the layout the object is in you can't set it invisible (unless it is global).
I use the layout to store the whole conversation and a layer that I enable for input and disable the other lower layers. I move the text on and off the non scrolling layer with x -20000 being off. I have the text go bold if it can be clicked. All in all it has not been very easy to do a real dialogue. Some people say do it all in html. This is just my 2 cents.
You can click "unbounded scrolling" in the layout. This will do the trick, but it will show the areas outside your layout when you go to the edge. The good thing is if you change the zoom level of the layout you don't have to adjust any extra settings.
oosyrag Dop2000 R0j0hound;
Thanks for the answers, I will take a look at the Rojohound code first.
Is there any standard way to do drag and drop for a controller--ie as much like using the mouse as possible?
thanks for your time.
Develop games in your browser. Powerful, performant & highly capable.
Member since 23 Oct, 2014