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.
Develop games in your browser. Powerful, performant & highly capable.
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.
Send the function ripozoni.uid as an integer parameter. On the other side use pick by uid and you can access ripozoni's various attributes.
you can multiply by 1000 round the answer to an integer, and then divide by 1000. This may not always work, there are some difficult decimal questions in computer science in general.
You can do a 2d RPG, but I would start with a small plan if I were you. Get a small game to work before you try to do a big one.
I wrote a little RPG-like game in construct (just event sheets no code) here on our construct arcade:
construct.net/en/free-online-games/rpg-mage-dog-26512/play
Car movement does this for you automatically. Maybe you want to use that instead? (you will have to remap keys to wasd from the arrow keys of course).
They say a 2 key shoot is easy--the pilgrims did it.
It works fine for me.